Jump to content
Search Community

Website bug: Members' Private NPM Install instructions

Dustyn Eskelson test
Moderator Tag

Recommended Posts

I don't know if I have the same issue, but I had created a template (two months ago or so) for myself from which I start new projects. I had followed the Yarn installation guide and everything works great. Now I found that I also version controlled my `yarn.lock` file which keept installing GSAP 3.5.1. In this particular project I've updated GSAP `yarn upgrade gsap` (to 3.6.0), but now I get this error while `import { gsap } from 'gsap';` I've changed nothing else in my project.

 

https://gist.github.com/mvaneijgen/03a40d98d901cacb114c63e7e9dd0dd7

 

Has something changed from 3.5.1 to 3.6.0 with this way of using Yarn and authtokens?

Link to comment
Share on other sites

1 hour ago, studioalloy said:

I get this error while `import { gsap } from 'gsap';` I've changed nothing else in my project.

 

https://gist.github.com/mvaneijgen/03a40d98d901cacb114c63e7e9dd0dd7

That errors looks like GSAP is not found like it hasn't been installed.

 

1 hour ago, studioalloy said:

Has something changed from 3.5.1 to 3.6.0 with this way of using Yarn and authtokens?

Yes, slightly. Previously users edited the .yarnrc file and .npmrc file. Also the installation command was slightly different. We recommend the new way of doing things as there were certain specific scenarios that didn't work with the old way. Please remove whatever you added to your .yarnrc file related to GSAP, try the new approach, and let us know how it goes.

 

Or use NPM instead of yarn ;) 

  • Like 1
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...