Only one thing pops to my mind before I run your showcase: schedulerInstance is deprecated in favor of instance. I cannot say from the above code if that is the problem but it would be place to look at.
Ideally, post a showcase, we'll run, investigate and debug it. This is always the safest and fastest way.
The auth token is saved in .npmrc file (also yarn uses this file) which is in home directory by default. However, you can put it (or a copy of it with the valid auth token) into the project directory, which will be used then.
Now it says in that topic that the token is valid for 365 days... Once you log out of the bryntum registry, does the token get invalidated? Because I've saved my auth_token in my bash_profile so I could install from the bryntum packages but I am still getting an unauthorized error.
I have to log in before I can install pacakges from Bryntum again.
This is the reason why I avoid using the Bryntum npm registry and cloned your repositories... but it's a maintainability nightmare...
Could you guys have a look into this please? We have a few developers and I don't want them to need to log in all the time they want to do a yarn install.
I don't want to be updating the auth_token in our cicd pipeline every time...
Logging out from repository via npm actually means removing the toked from the .npmrc file so when a .npmrc with a valid toke is available (in home or current directory) then you are considered to be logged in.
I've saved my auth_token in my bash_profile
It is not necessary. Check please the presence of ~/.npmrc and its content cat ~/.npmrc and it should be enough.
I've tested it as shown on the screenshot (with authToken parts cut off for security). Yarn uses .npmrc so yarn users are covered too.
Screen Shot 2021-06-22 at 14.59.20.png (163.44 KiB) Viewed 661 times