Issue #1456Opened September 25, 2018by Gyanxie0 reactions

npm start not work at version 0.14.33

Question

I downloaded source by zip, and run 'npm i', but I can't run 'npm start'. Here is how I fixed the problem.

  • It works when I change package.json

before:

 "start": "npm run build:css -- -w & webpack-dev-server --open --progress --colors",

after:

"start": "npm run build:css -w & webpack-dev-server --open --progress --colors",

Answers (3)

artfSeptember 27, 20180 reactions

Ok but -- -w is intended for the watch on SCSS files, with your change, I think it will not work. (I guess you're using Windows)

Probably we should do something like this to make it run cross-platform:

 "start": "npm run build:css:dev & webpack-dev-server --open --progress --colors",
 "build:css:dev": "node-sass src/styles/scss/main.scss dist/css/grapes.min.css --output-style compressed -w",

Please @Gyanxie try it and let me know if it works

GyanxieSeptember 27, 20180 reactions

@artf Yes, I use window.

  • I have just try it with your change, but not works. image

  • here is an example that it works. image

  • npm version image

GyanxieSeptember 27, 20180 reactions

@artf I has run 'npm list', if it is necessary. npmList.txt

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.