Savvytech Posted June 30, 2021 Share Posted June 30, 2021 Hi, Currently signed up as a greensock free member(trying out before subscribing for paid plans) After installing via npm private registry,npm outdated no longer works properly. It keeps throwing this error Error: Only tag, version, and range are supported Any advise? Link to comment Share on other sites More sharing options...
GreenSock Posted June 30, 2021 Share Posted June 30, 2021 Welcome aboard, @Savvytech! Sorry to hear about the trouble. I'm not familiar with that at all, but perhaps @Prasanna has some wisdom to share. Link to comment Share on other sites More sharing options...
Solution Prasanna Posted June 30, 2021 Solution Share Posted June 30, 2021 @Savvytech this issue seems to be a bug in the npm cli. NPM had fixed this bug earlier but it seems like the issue has reappeared in the latest update. There are bugs raised previously (ref: https://github.com/npm/cli/issues/1703#issuecomment-774684656) and it's mainly due to package name aliases. So, if you want to get rid of this issue then the simplest solution would be to not use package name alias. Here's how to use gsap package without package name alias: Installation:$ npm install @gsap/member Usage: import GSAP from '@gsap/member' I hope this helps 3 1 Link to comment Share on other sites More sharing options...
Savvytech Posted June 30, 2021 Author Share Posted June 30, 2021 2 hours ago, GreenSock said: Welcome aboard, @Savvytech! Sorry to hear about the trouble. I'm not familiar with that at all, but perhaps @Prasanna has some wisdom to share. Thanks! 1 hour ago, Prasanna said: @Savvytech this issue seems to be a bug in the npm cli. NPM had fixed this bug earlier but it seems like the issue has reappeared in the latest update. There are bugs raised previously (ref: https://github.com/npm/cli/issues/1703#issuecomment-774684656) and it's mainly due to package name aliases. So, if you want to get rid of this issue then the simplest solution would be to not use package name alias. Here's how to use gsap package without package name alias: Installation:$ npm install @gsap/member Usage: import GSAP from '@gsap/member' I hope this helps Thanks! Seems to be working now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now