netlify / remix-template

Deploy your Remix site to Netlify
83 stars 27 forks source link

cannot install npm dependencies #125

Closed quangv closed 1 year ago

quangv commented 1 year ago

Can't install npm install, on the initial template for some reason.

npx create-remix@latest --template netlify/remix-template

Can't run npm install afterwards giving me error:

npm WARN ERESOLVE overriding peer dependency
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @remix-run/dev@2.0.1
npm ERR! Found: typescript@4.9.5
npm ERR! node_modules/typescript
npm ERR!   peerOptional typescript@"^5.1.0" from @remix-run/server-runtime@2.0.1
npm ERR!   node_modules/@remix-run/dev/node_modules/@remix-run/server-runtime
npm ERR!     @remix-run/server-runtime@"2.0.1" from @remix-run/dev@2.0.1
npm ERR!     node_modules/@remix-run/dev
npm ERR!       dev @remix-run/dev@"^2.0.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional typescript@"^5.1.0" from @remix-run/dev@2.0.1
npm ERR! node_modules/@remix-run/dev
npm ERR!   dev @remix-run/dev@"^2.0.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: typescript@5.2.2
npm ERR! node_modules/typescript
npm ERR!   peerOptional typescript@"^5.1.0" from @remix-run/dev@2.0.1
npm ERR!   node_modules/@remix-run/dev
npm ERR!     dev @remix-run/dev@"^2.0.1" 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.
sean-roberts commented 1 year ago

Hey @quangv! We've merged some changes and you should be good to go now!

sean-roberts commented 1 year ago

Feel free to reopen if there's still issues persisting on your side!