Open AthenaKam opened 2 months ago
I fixed similar problem with:
I fixed similar problem with:
- package.json set related dependency to latest
- then remove the existing installed files like package lock etc
- run npm cache clean --force && npm install
The related dependency isn't something you install directly installed by me, it is installed as part of shadergradient itself as a sub dependency. When i try to install the latest version of three i get the following error:
npm warn While resolving: aaam-bot-client@0.5.1
npm warn Found: three@0.154.0
npm warn node_modules/three
npm warn peer three@">=0.126" from @react-spring/three@9.7.4
npm warn node_modules/@react-spring/three
npm warn peer @react-spring/three@"*" from shadergradient@1.2.14
npm warn node_modules/shadergradient
npm warn 12 more (@react-three/drei, @react-spring/three, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer three@"0.154.0" from shadergradient@1.2.14
npm warn node_modules/shadergradient
npm warn shadergradient@"^1.2.14" from the root project```
I have the same problem. When im developing locally an running on VS everything seems to work fine, but when I try to deploy the project in vercel the packages conflict and fails deployment.
Did anyone find a solution to this?
When I install shadergradient this is the error message I get
and when I install framer-motion I get this:
This affects my VSCode IntelliSense and results in VSCode not giving me suggests props (mega annoying for devs). Does anyone have a fix for this? Thanks!