A
A
antpv2018-08-19 13:24:10
npm
antpv, 2018-08-19 13:24:10

Why can't it find the scss command in npm?

In the package.json file in scripts it is written:

"scripts": {
    "start": "node scripts/start.js",
    "build": "node scripts/build.js",
    "test": "node scripts/test.js --env=jsdom",
    "scss": "node-sass src -o src/css",
    "scss-watch": "node-sass --watch src -o src/css"
  }

I go to the root of package.json , I can’t find commands from the script. Files are not copied. The node-sass src -o src/css command manually works.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question