vite-ssg icon indicating copy to clipboard operation
vite-ssg copied to clipboard

critters dependency issue

Open nandi95 opened this issue 2 years ago • 2 comments

Critters seem to have a conflict with this package despite in here critters marked as ^0.0.10 Any ideas what the issue could be?

NPM log
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/critters
npm ERR!   dev critters@"^0.0.11" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional critters@"^0.0.10" from [email protected]
npm ERR! node_modules/vite-ssg
npm ERR!   dev vite-ssg@"^0.15.2" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/critters
npm ERR!   peerOptional critters@"^0.0.10" from [email protected]
npm ERR!   node_modules/vite-ssg
npm ERR!     dev vite-ssg@"^0.15.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

nandi95 avatar Oct 20 '21 06:10 nandi95

@nandi95 have you added critters as dev dependency?

imagen

userquin avatar Oct 20 '21 18:10 userquin

yes it was, before and after the update 🤔

nandi95 avatar Oct 20 '21 22:10 nandi95