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.

npm run dev not working when generating the project using the indie stack

See original GitHub issue

What version of Remix are you using?

latest

Steps to Reproduce

Following the docs located here

  1. Copy full command: npx create-remix --template remix-run/indie-stack blog-tutorial

  2. Run it in either Powershell or Git Bash

  • Select Typescript at first prompt
  • Select yes when prompted for running npm isntall or not Wait for it to successfully finish installing the needed requirements.
  1. cd into blog-tutorial/ directory

  2. run npm run dev

Expected Behavior

Local development server spawns at localhost:3000

Actual Behavior

Following error is received:

georg@DESKTOP $/d/Learning/Web Dev/remix/blog-tutorial
➜  npm run dev

> dev
> run-p dev:*


> dev:css
> npm run generate:css -- --watch


> dev:remix
> cross-env NODE_ENV=development binode --require .\mocks -- @remix-run/dev:remix dev

The filename, directory name, or volume label syntax is incorrect.
The filename, directory name, or volume label syntax is incorrect.
ERROR: "dev:remix" exited with 1.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
tatomarchiolicommented, Jun 30, 2022

@Dookie0107 this worked for me too! Thanks for sharing.

1reaction
javejcommented, Jun 29, 2022

Hi folks! I downgraded my npm version from 8.13.0 to 8.12.2 and it now works!

Command: npm install -g npm@8.12.2 Source: stackoverflow

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why I can not run Npm run dev? - Stack Overflow
Basically delete the node_modules folder and package-lock.json file , clear cache and do an npm install. Worked for me. Share.
Read more >
Top 10 Most Common Node.js Developer Mistakes - Toptal
Mistake #10: Not Using Supervisor Programs. Regardless of whether your Node.js code is running in production or in your local development environment, a ......
Read more >
How to Set Up Your Local Node.js Development Environment
You can start the notes-service by simply navigating to the /code directory and running npm run start . Step 4: Use Compose to...
Read more >
Build and deploy a Nuxt3 application to Netlify - CircleCI
cd nuxt3-app npm install. Once the dependencies are installed, start the Nuxt3 development server by running this command: npm run dev -- -o....
Read more >
remix run github
The Remix Stack for deploying to Fly with PostgreSQL, authentication, testing, linting, ... Start using @remix-run/express in your project by running `npm i ......
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