Premium support for our pure JavaScript UI components


Post by sstrickland_cl »

Hey folks,

I'm currently trying to migrate over from the trial version of Scheduler Pro to our full license.

I've done the following:

  1. Created a Customer Zone account
  2. Purged trial npm auth from my machine and any .npmrc files
  3. Setup new npm auth with the Customer Zone creds.
    • npm login...
    • npm token create....

I am trying to install the @bryntum/schedulerpro@5.0.6 and I am getting the following error:

> yarn --verbose
yarn install v1.22.19
info No lockfile found.
{checking for config files, removed for brevity}
$ npx -y only-allow yarn
[1/4] 🔍  Resolving packages...
{resolving additional packages, removed for brevity}
verbose 3.37486875 Performing "GET" request to "https://npm.bryntum.com/@bryntum%2fdemo-resources".
verbose 3.7834055 Request "https://npm.bryntum.com/@bryntum%2fdemo-resources" finished with status code 200.
verbose 3.785692291 Performing "GET" request to "https://npm.bryntum.com/@bryntum%2fschedulerpro".
verbose 3.912849916 Request "https://npm.bryntum.com/@bryntum%2fschedulerpro" finished with status code 200.
verbose 3.914747 Performing "GET" request to "https://npm.bryntum.com/@bryntum%2fschedulerpro-lib".
verbose 4.451195916 Request "https://npm.bryntum.com/@bryntum%2fschedulerpro-lib" finished with status code 401.
verbose 4.471809583 Error: Couldn't find package "@bryntum/schedulerpro-lib@1.0.0" required by "@bryntum/schedulerpro@5.0.6" on the "npm" registry.
    at MessageError.ExtendableBuiltin (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:721:66)
    at new MessageError (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:750:123)
    at PackageRequest.<anonymous> (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:36590:17)
    at Generator.throw (<anonymous>)
    at step (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:310:30)
    at /opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:323:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
error Couldn't find package "@bryntum/schedulerpro-lib@1.0.0" required by "@bryntum/schedulerpro@5.0.6" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

package.json:

{
  "dependencies": {
    "@bryntum/demo-resources": "^1.1.0",
    "@bryntum/schedulerpro": "5.0.6",
    "@bryntum/schedulerpro-react": "5.0.6"
     // other deps....
  }
}

I've tried the following to no avail:

  1. Delete local user npm creds
  2. Re-login to npm.bryntm with Customer Zone credentials
  3. Regenerate npm token and add to local project's .npmrc
  4. Delete yarn.lock
  5. Delete node_modules

From what I can tell from the verbose logs, it's able to grab the top level packages just fine. But when trying to fetch the dependent library @bryntum/schedulerpro-lib it is unable to and returns error code 401.

Since 401 is typically related to auth, I also ran the command npm config set always-auth true locally to make sure that yarn is sending the auth creds each time. This also hasn't fixed it.

When navigating to the private npm portal at https://npm.bryntum.com/-/web/detail/@bryntum/schedulerpro I was able to see that @bryntum/schedulerpro-lib is a dependency, but when trying to navigate to it (https://npm.bryntum.com/-/web/detail/@bryntum/schedulerpro-lib), the UI shows an error "Sorry, we couldn't find it.

I don't what else to try, please advise.


Post by sergey.maltsev »

Hi!

We have two products Scheduler and Scheduler Pro and they require separate licenses.

Please check correct package name for Bryntum Scheduler npm package here
https://www.bryntum.com/docs/scheduler/guide/Scheduler/npm-repository#installing-packages


Post by sstrickland_cl »

This issue has been resolved, we had the incorrect license attributed to our account. Worked with support, got our license corrected to Scheduler-Pro and was able to install.


Post Reply