cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

NPM install error - code EINVALIDTAGNAME

arazumov101
Explorer
0 Likes
8,028

Hello,

SAP HANA EXPRESS 2.0 SPS 04 on-premise.

New project is created using SAP Cloud Platform Business Application.

An attempt to Build CDS based on .cds files in db and srv folders ends with an npm install error.

npm install

npm ERR! code EINVALIDTAGNAME

npm ERR! Invalid tag name "^": Tags may not have any characters that encodeURIComponent encodes.

The content of package.json file:

{

"name": "deploy",

"dependencies": {

"@sap/hdi-deploy": "^3.8.2"

},

"engines": {

"node": "^8"

},

"scripts": {

"postinstall": "node .build.js",

"start": "node node_modules/@sap/hdi-deploy/deploy.js"

}

}

Thank you in advance!

Andrew R

View Entire Topic
TheKempe
Explorer
0 Likes

Hello,

I'm having similar problem during build-process of db-module in mta-Application:

https://answers.sap.com/questions/12985076/build-db-module-failed-at-the-deploy.html

I just deleted the postinstall-row in the package.json and the build process was successful. I don't know if this is the right choice and it surely don't solve the root cause but as a start ...

KR

Michael