Jump to content
Search Community

ramako

Business
  • Posts

    2
  • Joined

  • Last visited

About ramako

ramako's Achievements

  1. Hello @Rodrigo, thanks for answering. I believe I have just realized my mistake, I manually added "@gsap/business" : "3.12.2" to package.json dependencies and ran npm i, when really I should have just followed the installation notes and ran: npm install gsap@npm:@gsap/member thanks for your answer!
  2. Hello, using typescript 5.2.2 webpack 5.88, gsap latest after recently trying the free version of gsap, we decided to move to the business one. I have set up the .npmrc and added @gsap/business to my package.json, and then installed it with npm i. The previous imports that worked with the free version, have stopped working with the business one. import { gsap } from 'gsap'; this now throws an error that it cannot find the module, however it appears to be typed correctly. When trying to run it with webpack, this causes a module can't be found error, it seems to be looking for node_modules/gsap but gsap business gets installed in @gsap. Importing like this: import { gsap } from '@gsap/business/gsap-core'; import { PixiPlugin } from '@gsap/business/PixiPlugin'; works with webpack, but I lose the types and eslint still complains. Going into gsap.core.d.ts shows a few errors:
×
×
  • Create New...