[Bug]: npm run dev does not seem to work
See original GitHub issueWhich 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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Trying to run "npm run dev" but it doesn't work - Stack Overflow
try doing this. npm install npm audit fix. then run it again sometimes the cause of this is missing packages .
Read more >npm run dev does not start server, but does not throw any errors
As yarn dev or npm run dev is not giving any error, run rollup -c -w directly and check if the port is...
Read more >What to do when "npm run dev" is not working? (React)
I tried to start my application with “npm run dev” as it is a react / next.js app. The console gave me an...
Read more >Npm Run dev is different [ SOLVED ] - Laracasts
Npm Run dev is different [ SOLVED ]. Laravel is different, I don't know if it's an error or if I need to...
Read more >scripts - npm Docs
Best Practices · Don't exit with a non-zero error code unless you really mean it. · Try not to use scripts to do...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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. https://github.com/remix-run/remix/pull/446
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.