Skip to Content
0

XSA local registry doesn't work

Jun 17, 2017 at 03:11 AM

105

avatar image

I can't create NPM user in local registry, max users have reached but none was created yet.

C:\Users\I040355>npm adduser --registry https://hxehost:51033
Username: liu
Password:
Email: (this IS public) l@gm.com
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "adduser" "--registry" "https://hxehost:51033"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code E409

npm ERR! maximum amount of users reached : -/user/org.couchdb.user:liu/-rev/undefined
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\I040355\npm-debug.log

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Thomas Jung
Jun 20, 2017 at 06:36 PM
0

The NPM local registry that is delivered as part of DEVX/Web IDE does not support the creation of users or adding modules. It is a read-only repository to provide a local cache for SAP supplied and commonly used open source modules. For any other use cases you must build your own full NPM registry or publish publically.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks Thomas,

Your sample coding of SAP open course requires node-xlsx module that doesn't exist, which is causing build error.

Shouldn't WEBIDE automatically download the module node-xlsx from internet (https://registry.npmjs.org) if local registry doesn't have it or doesn't allow publishing it? If it's the rationale, then I will go check the up stream link and proxy setting. Kindly let me know.

Thanks!

Bill

0

Yes it will automatically fetch those if your upstream and proxy are configured corr

0