Page 1 of 1

npm - logged in but forbidden when collecting package

Posted: Tue Apr 20, 2021 12:55 pm
by alexsbf

I am experiencing a forbidden error:

$ npm config set @bryntum:registry https://npm.bryntum.com
$ npm login --registry=https://npm.bryntum.com

npm notice Log in on https://npm.bryntum.com/
Username: my..emailaddress.co.uk
Password: 
Email: (this IS public) my@emailaddress.co.uk
Logged in as my..emailaddress.co.uk on https://npm.bryntum.com/.

$ npm install @bryntum/scheduler

npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://npm.bryntum.com/@bryntum/scheduler/-/@bryntum/scheduler-4.1.0.tgz - user my..emailaddress.co.uk is not allowed to access package @@bryntum/undefined
npm ERR! 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, or
npm ERR! 403 on a server you do not have access to.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ec2-user/.npm/_logs/2021-04-20T10_50_34_146Z-debug.log

"@@bryntum/undefined" ?

Thanks


Re: npm - logged in but forbidden when collecting package

Posted: Tue Apr 20, 2021 1:21 pm
by sergey.maltsev

Hi!

Could you please confirm which npm version is used?

Check with:

npm -v

Re: npm - logged in but forbidden when collecting package

Posted: Tue Apr 20, 2021 1:21 pm
by alexsbf
$ npm -v

7.7.6

Re: npm - logged in but forbidden when collecting package

Posted: Tue Apr 20, 2021 2:35 pm
by sergey.maltsev

Hi!

We've made some changes in repository.
Could you please try install again?

This what I see here:

$ npm\test>npm -v
7.7.6

$ npm\test>npm install @bryntum/scheduler

added 2 packages, and audited 3 packages in 5s

found 0 vulnerabilities

Re: npm - logged in but forbidden when collecting package

Posted: Tue Apr 20, 2021 4:54 pm
by alexsbf

Hi!

Yes that works now.

Thanks