Skip to Content
0

SAP HANA 2.0 XSA: npm config set key value

Mar 31, 2017 at 08:54 PM

191

avatar image

Hi,

we want to use https://www.npmjs.com/package/express-validator, but we get this error:

npm ERR! unregistered users are not allowed to access package @types/bluebird : @types/bluebird

To fix this problem, we need to set the value always-auth = true in the file .npmrc.

How we have to do it, within the XSA environment . I tried to set the value to our env di-local-npm-registry, but it didn't help us.

xs set-env di-local-npm-registry always-auth true

Any ideas?



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

1 Answer

Best Answer
Dirk Raschke Apr 10, 2017 at 10:47 AM
0

We could solve this error by using an older npm version.

Share
10 |10000 characters needed characters left characters exceeded