Jump to content
GreenSock

Prasanna

Members
  • Posts

    51
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello everybody, I am sorry that you faced an issue. Our services went offline intermittently today as we experienced a DDOS attack on our systems. There's nothing to worry as our service actively fended off the attacks, but couldn't serve few users for a short while. We have increased our server capacity in order to prevent such scenarios in the future. My apologies for the inconvenience
  2. Hello @Meet Bhatt, yarn tries to install all packages when you run the install command. That's likely the reason why .tgz install failed. Regarding the vercel issue, can you try to follow the steps mentioned in this article and see if that helps? https://blog.privjs.com/article/how-to-install-club-greensock-packages-on-vercel
  3. Hello everybody, my sincere apologies for all these issues. In the last 24 hours we recieved a massive number of requests which our cloud service failed to handle. The services are back online now. Our team has also put measures to prevent this from happening again. Going forward, we will be migrating our services to multiple cloud services in order to prevent any downtime. I am very sorry for the troubles you faced in the past 24 hours. Prasanna
  4. Hello everybody, my sincere apologies for all these issues. In the last 24 hours we recieved a massive number of requests which our cloud service failed to handle. The services are back online now. Our team has also put measures to prevent this from happening again. Going forward, we will be migrating our services to multiple cloud services in order to prevent any downtime. I am very sorry for the troubles you faced in the past 24 hours. Prasanna
  5. I tried replicating it with yarn version 1.0. It is strange that yarn is not reading the env variables. Since you are using yarn, it could help if you rename `.npmrc` to `.yarnrc`. If this still doesn't help, then running the commands on the machine should configure the values: ``` $ yarn config set @gsap:registry https://npm.greensock.com $ yarn config set //npm.greensock.com/:_authToken <token here> ```
  6. Hello @Sgt. Red Pepper, 403 error is returned when the yarn or npm cli doesn't get the GSAP token value. Usually yarn cli reads the .npmrc file in the project, but some versions require a .yarnrc file. It would be helpful to know which version of yarn you are using. Also, can you make sure whether the env variable is added to the container/vpc? Please note that the variable needs to be exposed to the machine where the `yarn install` command is run. (Many projects don't expose env variables to docker instances hence 403 errors) Let me know if this helps
  7. @stectix - I was able to get the typescript app running without issues. Maybe this line is not needed in your typescript config? "files": ["./node_modules/@gsap/business/types/index.d.ts"], I created a github repo for reference: https://github.com/privjs/gsap-typescript-example
  8. @stectix It seems like gsap package has been installed. Now, the typescript issue here is project-specific as there are various configurations involved. I'd recommend setting esModuleInterop as true, and maybe check the `node_modules` directory and test whether the type file exists?
  9. @stectixsorry about the late response, just saw the message. The error is weird - could be due to older version of yarn. If possible, please update the yarn version or use npm to install the package - it should fix it. If the above suggestion is not an option, I'd recommend doing this: 1. Run: `$yarn add @gsap/business` 2. import like this: `import gsap from '@gsap/business'` 3. import types like this: ``` "files": [ "node_modules/@gsap/business/types/index.d.ts" ] ``` Let me know if this helps. Otherwise I'd be happy to hop on a google meet call as well.
  10. Hi @stectix, @Rodrigo This seems to be a confusion caused by npm package aliasing. If you install the package using this command: `yarn add gsap@npm:@gsap/business` then the import should be `import gsap from 'gsap'`. This should work as the package manager creates a folder named `gsap` in the `node_modules` directory. If you did this, then add the following to compiler options: ``` "files": [ "node_modules/gsap/types/index.d.ts" ] ``` Let me know if this works
  11. Hello @intothebreach, If the .npmrc file contains the access token the installation should proceed without any problems. Some versions of yarn doesn't read local .npmrc file so, it would be good to run this command once: npm config set @gsap:registry https://npm.greensock.com npm config set //npm.greensock.com/:_authToken xxxx-yyyy-zzzz Replace xxxx-yyyy-zzzz with your token. Once you run the above two commands, installation should proceed just fine
  12. @Karsh HaganI think I found out the problem. The package name mismatch error with pnpm is caused because our registry automatically returns the relevant club greensock package according to your membership. Did you try running `$ pnpm add gsap@npm:@gsap/business` ?
  13. @Karsh HaganI'm gonna try and reproduce this now. Will keep you posted..
  14. Hi @Karsh Hagan, it seems like checksum failed - sometimes it is caused due to npm cache. Could you run `$ npm install` in your project again and push the code? That should update the checksum in your project
  15. Hi @Guillaume P., It seems like the installation is successful but the import is not. Could you share with us the `package.json` file contents? (just the line containing the gsap dependency is sufficient) to help us narrow down the problem. Also, try running this command: `$ npm install gsap@npm:@gsap/member` - and the imports should work. Prasanna
×