Savvytech
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Savvytech
-
-
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?
-
On 5/13/2021 at 11:11 AM, BrianCross said:
Hi everyone, I'm getting the following error while trying to install from the private registry:
$ npm install gsap@npm:@gsap/shockingly npm ERR! code E403 npm ERR! 403 403 Forbidden - GET https://npm.greensock.com/gsap - bad authorization header. Please login again npm ERR! 403 In most cases, you or one of your dependencies are requesting npm ERR! 403 a package version that is forbidden by your security policy, or npm ERR! 403 on a server you do not have access to.
This is a Next JS project that I'm starting. I just worked on another Next JS project and had no issues installing from the private registry. I've searched a few threads and all suggested solutions result in the same error. I've double checked the authorization token and I actually copied the .npmrc file and .env.local that contains the actual token from the previous project.
Hi @BrianCross , do u mind sharing on how to configure the token in .env and also reference them from .npmrc? What i tried doesn't seems to work.
Problems with npm private installation
in GSAP
Posted
Thanks!
Thanks! Seems to be working now.