Our pure JavaScript Scheduler component


Post by rule-of-three »

Hi,

I can't install Scheduuler package successfully.

I just get popup to access request on Github and after successful access detect to Github with command below:

npm install bryntum/scheduler-react

Here is an error message:

info: please complete authentication in your browser...Completed in 0ms
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/bryntum/scheduler-react.git
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\matti\AppData\Local\npm-cache\_logs\2023-03-19T01_30_03_292Z-debug-0.log

Post by alex.l »

Hi,

Please make sure you did all steps to add access to our private repo as it described in our guide https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository
There is a Troubleshooting section as well with steps you can do if you did all correct and it didn't work https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository#troubleshooting

All the best,
Alex


Post by rule-of-three »

Hi,

Yes I did this first:

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

And then did access token and then wrote it npm config file.


Post by rule-of-three »

And still can't install.


Post by tasnim »

Hi,

What error/warning you see in the console?


Post by rule-of-three »

It is same:

info: please complete authentication in your browser...Completed in 0ms
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/bryntum/scheduler-react.git
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\matti\AppData\Local\npm-cache\_logs\2023-03-19T01_30_03_292Z-debug-0.log

Post by alex.l »

Please make sure you registered and logged in to our private repo.
The error says it's trying to find package in public ssh://git@github.com repo, but it should looking for it in our repo.
This means you hasn't been logged in/set up repo properly.
Here is about access to NPM registry https://bryntum.com/products/schedulerpro/docs/guide/SchedulerPro/quick-start/react#access-to-npm-registry
Full guide about installing licensed packages https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository#installing-licensed-packages
As a next step to learn, link to wrappers guide https://bryntum.com/products/scheduler/docs/guide/Scheduler/npm-repository#frameworks-wrappers

Also please fix your command, you missed @

npm install @bryntum/scheduler-react

All the best,
Alex


Post by rule-of-three »

Hi,

This issue is now resolved.


Post Reply