Our pure JavaScript Scheduler component


Post by tatev »

Hi bryntum team, i have logged in with my licensed email and password, created a token, but can not install dependencies
every time i am trying to install getting this error
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @bryntum/scheduler@5.6.8.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Local\npm-cache\_logs\2024-03-11T10_56_06_871Z-debug-0.log

also tried another versions, but nothing changes , only getting that error

Last edited by tatev on Tue Mar 12, 2024 8:20 am, edited 2 times in total.

Post by tasnim »

Hi,

Have you followed this guide https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository?
This shows you how to login and download packages


Post by tatev »

yes, this is how i tried, but getting above mentioned errors


Post by tasnim »

Hi,

This should require these two lines

$ npm login --auth-type=legacy --registry=https://npm.bryntum.com
$ npm login --registry=https://npm.bryntum.com

https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository#login
Have you followed the guide step by step?


Post by tatev »

yes, tried once more with the command you've sent, after logging in , change trial to "@bryntum/scheduler": "5.6.8", after trng to npm install , but now getting this error
$ npm install --legacy-peer-deps
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm ERR! code E401
npm ERR! Unable to authenticate, your authentication token seems to be invalid.
npm ERR! To correct this please trying logging in again with:
npm ERR! npm login

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Local\npm-cache\_logs\2024-03-11T12_23_59_290Z-debug-0.log


Post by sergey.maltsev »

Hi!

If you have created .npmrc files for trial login, please remove all and recreate with valid licensed login.

Logout from repository and login again.

npm logout --registry=https://npm.bryntum.com
npm login --auth-type=legacy --registry=https://npm.bryntum.com

Please check package name for licensed product.
https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository#installing-licensed-packages

If you have further problems please inspect full changelog for the details.
Also you may attach it here for us to see what is the problem.


Post by tatev »

now got this
error Couldn't find package "@bryntum/scheduler-lib@1.0.0" required by "@bryntum/scheduler@5.6.8" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.


Post by sergey.maltsev »

Hi!

Please confirm which exact commands you have run, which files were created for accessing Bryntum registry?

These commands, executed on clean system in empty project folder are enough to install package.

npm config set "@bryntum:registry=https://npm.bryntum.com"
npm login --auth-type=legacy --registry=https://npm.bryntum.com
npm install @bryntum/scheduler@5.6.8

Yarn guide is here
https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository#yarn-package-manager

Also please confirm which yarn version is used.


Post Reply