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

[Bug]: npm run dev does not seem to work #488

Closed
4 of 12 tasks
mohux opened this issue Nov 23, 2021 · 6 comments
Closed
4 of 12 tasks

[Bug]: npm run dev does not seem to work #488

mohux opened this issue Nov 23, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@mohux
Copy link

mohux commented Nov 23, 2021

Which Remix packages are impacted?

  • remix (Remix core)
  • create-remix
  • @remix-run/architect
  • @remix-run/cloudflare-workers
  • @remix-run/dev
  • @remix-run/express
  • @remix-run/netlify
  • @remix-run/node
  • @remix-run/react
  • @remix-run/serve
  • @remix-run/server-runtime
  • @remix-run/vercel

What version of Remix are you using?

1.0.4

Steps to Reproduce

npx create-remix@latest

Expected Behavior

localhost:3000 to work

Actual Behavior

terminal shows the tis built successfully but when visiting the url it doesn't

@mohux mohux added the bug Something isn't working label Nov 23, 2021
@rnnyrk
Copy link

rnnyrk commented Nov 23, 2021

Same issue over here. Building the project does nothing. Chose Netlify and Typescript from the cli wizard if that helps in any way
Screenshot 2021-11-23 at 10 24 31

@girishk21
Copy link

girishk21 commented Nov 23, 2021

you also have to set up Netlify local development CLI and start the local dev server Netlify Adapter README. The files will be served from the Netlify development server mirroring the cloud environment

@danielvanc
Copy link

danielvanc commented Nov 23, 2021

I ran into this with setting it up with Vercel. Turns out there's extra steps to follow in the README. For instance, with Vercel setup, you have to have the Vercel dev mode, as well as npm run dev. Check the README. It might be that you need to run another terminal with the netlify cli running at same time (which will give you access to local dev).

Probably could do with adding something to the cli instructions to view the README for extra steps to run local dev.

@mohux
Copy link
Author

mohux commented Nov 23, 2021

so yeah apparently every hosting has different setup, follow README file and all will be good i think

@rnnyrk
Copy link

rnnyrk commented Nov 23, 2021

Using the default Remix App config for now works indeed. Gonna look into Netlify setup later. Maybe good to somewhere show or link to the extra required step for a different hosting setup. I wasn't aware the default dev script wasn't working when choosing Netlify 😓

@M0nica
Copy link
Contributor

M0nica commented Nov 23, 2021

I opened a PR to add some additional language to the QuickStart Blog Tutorial to point in the direction of the README for deployment target specific instructions. #446

@machour machour closed this as completed Mar 17, 2022
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

No branches or pull requests

6 participants