Execute the npm run dev startup project in git and display an error?

The versions of

node and npm are

:

Cannot GET /
npm install css-loadernpm run dev

excuse me, why is this? How to solve it?


try to delete node_modules and re-cnpm insatll


css-loader downloading with cnpm seems to be a problem. You have to download css-loader


with npm alone.

It looks like you're missing a peerDependency, this could be because you upgraded from NPM 2 or it could just be that something went wrong with the installation, so simply do:

npm install css-loader-- save-dev

If all else fails, simply remove node_modules from your project and do a fresh install: npm install
-from stackflow

Menu