Issue #1456💬 AnsweredOpened September 25, 2018by Gyanxie0 reactions

Npm start not work at version 0.14.33

快速解答by artf

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: Please @Gyanxie try it and let me know if it works

Read full answer below ↓

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, 2018

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, 2018

@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, 2018

@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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.