question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

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

1reaction
danielvanccommented, 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found