Comments (2)
same here. i got it to work with just running
webpack-dev-server
.
so weird. I don't know enough to know why that works.
npm start - for some reason it doesn't like that.
from angular2-website-routes.
@dfparker2002
We just tried a completely clean install of the repo and everything ran smoothly. We also tried legacy versions of node and things still worked so we don't know what the problem is right offhand.
The error indicates that you do not have webpack-dev-server
locally, which should not be happening because we have included it in package.json
. Please verify that there is a webpack-dev-server
directory in the node_modules
directory within the project. If there is not, please run npm i webpack-dev-server
. If it does exist, continue reading.
While you are running just about the latest version of node, your version of NPM is 1.x, when it should be 3.x. This may be the cause of your problems, so please update NPM to version 3.x.
If that still does not resolve the issue, please try the following:
- Remove the
node_modules
folder from the project - Run
npm cache clean
in the terminal - Run
npm install
- Try running the app again
@spencer1573
It looks like you have webpack-dev-server
installed globally but not locally. Whenever you run an npm module from within an NPM script, it looks for a version installed locally. But when you run it straight from the command line, it is looking for the global version. Please follow the above steps and let us know what happens.
Thanks!
from angular2-website-routes.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-website-routes.