cancel
Showing results for 
Search instead for 
Did you mean: 

XSA local registry doesn't work

analytics
Product and Topic Expert
Product and Topic Expert
0 Kudos
436

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

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

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.

analytics
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

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