Premium support for our pure JavaScript UI components


Post by gian.torralba »

I am trying to install the task boards using npm and unfortunately after logging in, it is saying that user is not allowed to access package @bryntum/taskboard.

"403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy"


Post by sergey.maltsev »

Hi!

Please check you have no any stored npm tokens in project's .npmrc file

Then use this sequence

npm login --registry=https://npm.bryntum.com
whoami --registry=https://npm.bryntum.com
npm install @bryntum/taskboard

You should see something like this

call npm config set @bryntum:registry https://npm.bryntum.com
Username: ***..bryntum.com
Password:
Email: (this IS public) ***@bryntum.com
Logged in as ***..bryntum.com on https://npm.bryntum.com/.

$>npm whoami --registry=https://npm.bryntum.com
***..bryntum.com

$>npm install @bryntum/taskboard
...
+ @bryntum/taskboard@4.2.0-beta-2
added 2 packages from 1 contributor and audited 2 packages in 5.123s
found 0 vulnerabilities

If you still have problems please attach all console log here.


Post by gian.torralba »

Thanks for the quick reply yes I saw that we have an existing .npmrc file setup by one of our developers. Is it possible to use that access for installing other bryntum packages? We already been able to install bryntum grid using that npmrc file.


Post by sergey.maltsev »

Hi!

Probably token was stored before license was purchased.
https://www.bryntum.com/docs/grid/#Grid/guides/npm-repository.md#repository-access

Note:Access to the Bryntum NPM repository requires an active support subscription. If you have purchased a new product license or upgraded a trial license, you must re-login to update registry access.

You may login and get your token from system .npmrc file and store it for the project.


Post by gian.torralba »

How can I create a new auth token for bryntum? I think that is the missing part. Thank you :)


Post by sergey.maltsev »

Hi!

npm will create one when you login in system .npmrc file.
Copy it from there to project's .npmrc file.

Please check this docs.
https://docs.npmjs.com/cli/v7/configuring-npm/npmrc


Post by gian.torralba »

Hey. I Already installed the task board packages. Thanks for all your help :)


Post Reply