Our pure JavaScript Scheduler component


Post by dvakatsiienko »

Repro steps:

  1. Login via npm login --registry=https://npm.bryntum.com
  2. Enter crews
  3. A message appears: Logged in as imagnum.satellite..gmail.com on https://npm.bryntum.com/.
  4. Run npm whom
  5. An error appears: npm ERR! code ENEEDAUTH

Full error:
npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in.
npm ERR! need auth You need to authorize this machine using npm adduser

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/furthur/.npm/_logs/2022-10-01T21_04_16_391Z-debug.log

Another repro steps:

  1. Login via npm login --registry=https://npm.bryntum.com
  2. Enter crews
  3. A message appears: Logged in as imagnum.satellite..gmail.com on https://npm.bryntum.com/.
  4. Run yarn
  5. An error appears: error An unexpected error occurred: "https://npm.bryntum.com/@bryntum%2fscheduler/-/scheduler-5.1.3.tgz: Request failed \"401 Unauthorized\"".

Tried:

  • npm login/logout a bunch of times
  • switch Node versions via nvm
Attachments
Terminal output example
Terminal output example
furthur@Dima-MacBook-Pro _Projectsanadeakeystone-flx 2022-10-02 at 12.05.45 AM.jpg (69.48 KiB) Viewed 369 times

Post by aso »

I have the same problem.


Post by sergey.maltsev »

Hello!

For trial login you are not allowed to install full version that's why you have 401 error.
Correct package names for trial can be found here
https://www.bryntum.com/docs/scheduler/guide/Scheduler/npm-repository#installing-trial-packages

npm install @bryntum/scheduler@npm:@bryntum/scheduler-trial@5.1.4

Could you please tell which docs lead you to install licensed version instead of trial?
We need this info to improve customer experience.


Post by dvakatsiienko »

It worked!

Could you please tell which docs lead you to install licensed version instead of trial?
We need this info to improve customer experience.

None, it was our mistake by taking direct import from another project that uses licensed Scheduler.
Thanks for the help, the issue is resolved.


Post Reply