Open artemartemov opened 5 months ago
Hello, there seems to be some peer dependency issues when installing with NPM - both locally and when trying to deploy to vercel.
Locally I was able to add a --forceto get the build to go through, but would like to avoid doing that in production.
--force
Wondering if there is something on my end that I can do or is this something that needs to be updated with the repo?
Here is the full code:
[15:39:34.396] Installing dependencies... [15:39:36.493] npm ERR! code ERESOLVE [15:39:36.496] npm ERR! ERESOLVE could not resolve [15:39:36.496] npm ERR! [15:39:36.496] npm ERR! While resolving: @shadow-panda/preset@0.7.1 [15:39:36.496] npm ERR! Found: @pandacss/dev@0.37.0 [15:39:36.496] npm ERR! node_modules/@pandacss/dev [15:39:36.496] npm ERR! dev @pandacss/dev@"^0.37.0" from the root project [15:39:36.496] npm ERR! [15:39:36.496] npm ERR! Could not resolve dependency: [15:39:36.496] npm ERR! peer @pandacss/dev@"0.15.5" from @shadow-panda/preset@0.7.1 [15:39:36.496] npm ERR! node_modules/@shadow-panda/preset [15:39:36.496] npm ERR! dev @shadow-panda/preset@"^0.7.1" from the root project [15:39:36.497] npm ERR! [15:39:36.497] npm ERR! Conflicting peer dependency: @pandacss/dev@0.15.5 [15:39:36.497] npm ERR! node_modules/@pandacss/dev [15:39:36.497] npm ERR! peer @pandacss/dev@"0.15.5" from @shadow-panda/preset@0.7.1 [15:39:36.497] npm ERR! node_modules/@shadow-panda/preset [15:39:36.497] npm ERR! dev @shadow-panda/preset@"^0.7.1" from the root project [15:39:36.497] npm ERR! [15:39:36.497] npm ERR! Fix the upstream dependency conflict, or retry [15:39:36.497] npm ERR! this command with --force or --legacy-peer-deps [15:39:36.497] npm ERR! to accept an incorrect (and potentially broken) dependency resolution. [15:39:36.497] npm ERR! [15:39:36.497] npm ERR! [15:39:36.497] npm ERR! For a full report see: [15:39:36.497] npm ERR! /vercel/.npm/_logs/2024-04-02T21_39_34_696Z-eresolve-report.txt [15:39:36.499] [15:39:36.499] npm ERR! A complete log of this run can be found in: /vercel/.npm/_logs/2024-04-02T21_39_34_696Z-debug-0.log [15:39:36.516] Error: Command "npm install" exited with 1 [15:39:37.357]
Hello, there seems to be some peer dependency issues when installing with NPM - both locally and when trying to deploy to vercel.
Locally I was able to add a
--force
to get the build to go through, but would like to avoid doing that in production.Wondering if there is something on my end that I can do or is this something that needs to be updated with the repo?
Here is the full code: