Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install deps #1

Closed
quangv opened this issue Oct 10, 2023 · 3 comments · Fixed by #2
Closed

cannot install deps #1

quangv opened this issue Oct 10, 2023 · 3 comments · Fixed by #2
Labels
bug Something isn't working

Comments

@quangv
Copy link

quangv commented Oct 10, 2023

Hi thanks for these remix stacks.

There's an error with npx create-remix@latest --template rphlmr/supa-remix-stack regarding dependencies.

npm install
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.

rphlmr/supa-stripe-stack & rphlmr/supa-fly-stack seems to have similar issues.

I filed a similar bug with netlify/remix-template that they fixed, unsure it's the exact same thing though.

@rphlmr rphlmr added the bug Something isn't working label Oct 10, 2023
@rphlmr rphlmr closed this as completed in #2 Oct 10, 2023
@rphlmr
Copy link
Owner

rphlmr commented Oct 10, 2023

Hello,

Sorry for that, I don't use this stack that much 😅.

I have updated it to Remix v2, It should works (not tested to deploy on Vercel).

@quangv
Copy link
Author

quangv commented Oct 10, 2023

Thanks @rphlmr for quickly addressing this. (It was way more code than I suspected).

Fyi, when I do the npx create-remix@latest --template rphlmr/supa-remix-stack, I get error:

      ▲  Oh no! Template's remix.init script failed

@rphlmr
Copy link
Owner

rphlmr commented Oct 10, 2023

Will look at that, I remember reading something about that.

You can still clone the repo and change the app name in the package.json if you can’t wait.
It’s basically the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants