npm run dev not working when generating the project using the indie stack
See original GitHub issueWhat version of Remix are you using?
latest
Steps to Reproduce
Following the docs located here
-
Copy full command:
npx create-remix --template remix-run/indie-stack blog-tutorial
-
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.
-
cd into
blog-tutorial/
directory -
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:
- Created a year ago
- Reactions:1
- Comments:7
Top 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 >
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
@Dookie0107 this worked for me too! Thanks for sharing.
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