Jump to content
Search Community

Problems with npm private installation

Savvytech test
Moderator Tag

Go to solution Solved by Prasanna,

Recommended Posts

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

  • Solution

@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

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...