cancel
Showing results for 
Search instead for 
Did you mean: 

HANAEXpress SP03 webide- Packag.json

vodela
Active Participant
0 Kudos

When I created a Cloud Platofrm Business Application Template app - in the node.js package.json I got build errors

INFO] Source code injection finished
[INFO] ------------------------------------------------------------------------

2:49:32 PM (DIBuild) npm ERR! code E404
npm ERR! 404 Not Found: accept-language-parser@latestTo fix this I have set the following XS CLI commandsLogin as XSA_ADMIN and switch to SAP space. xs set-env di-local-npm-registry UPSTREAM_LINK http://registry.npmjs.org/ xs restage di-local-npm-registry xs restart di-local-npm-registry xs env di-local-npm-registry | grep UPSTREAM_LINK

When I build the error is not resolved - this is true for a number of packages ( tested by removing the listed package.

Ramesh

pfefferf
Active Contributor
0 Kudos

Does your HANA Express setup have a connection to the internet. Basically the error says, that a NPM package hosted in registry http://registry.npmjs.org cannot be loaded. Therefore you have to set the upstream_link as described. If it does not work after you did that, probably you do not have a connection to the internet. Please check this.

Accepted Solutions (0)

Answers (0)