Skip to Content

SAP HANA 2.0 XSA: npm config set key value

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?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 10, 2017 at 10:47 AM

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

    Add comment
    10|10000 characters needed characters exceeded