Script: npm start doesn't work correct in dev branch.
See original GitHub issueDescription of the problem
I run npm start
, the localhost:8080
doesn’t work,
but I run http-server -c-1 -p 8080
, the website is OK.
I think npm script concurrently
has some thing wrong,
but I don’t know how to fix it.
Three.js version
- Dev
- r109
- …
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Hardware Requirements (graphics card, VR Device, …)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
node.js - npm dev:start does not run - Stack Overflow
Please use the following command whenever creating a custom scripts in. npm run custom-script. Eg: npm run start:dev. Hope it helps.
Read more >package.json - npm Docs
When this package is installed as a dependency in another package, the file will be linked where it will be available to that...
Read more >How to fix start script error when running npm start command
In this video we are going to learn how to fix start script error when running npm start command.Thank You For Visiting My...
Read more >Troubleshooting - Create React App
npm start doesn't detect changes · Check that your file is imported by your entrypoint. · If your project is in a Dropbox...
Read more >How To Set Up a React Project with Create React App
The script will also run npm install inside the project directory, ... commands: npm start Starts the development server. npm run build ......
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 FreeTop 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
Top GitHub Comments
See 0998172670b1a385bacba16cbd7145aa1aa662bd
@linbingquan You are on Windows, right? I had the exact same issue with
http-server
and Windows in context of another project. There is currently an issue with thisnpm
module, seehttps://github.com/http-party/http-server/issues/525
Although many devs are affected, the bug has not been fixed so far. The workaround is to use explicit URLs like
http://localhost:8080/examples/index.html
.@mrdoob An other option is to downgrade the
npm
package inpackage.json
to0.9.0
. However, this will cause some security issues (meaning npm and github will complain).