Closed
Description
Description
I follow the user guide, wanna import sass in my project. After I change the npm scripts settings in package.json, I didn't new a .scss file in my project. Then npm start
caused error.
> [email protected] build-css /Users/tom/Work/React/react-list
> node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/
No input file was found.
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/Cellar/node/7.5.0/bin/node" "/usr/local/bin/npm" "run" "build-css"
npm ERR! node v7.8.0
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-css: `node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/`
But I new a .scss in src folder it works well. No errors anymore.
Expected behavior
I wanna even if I don't new a .scss file then npm start
won't cause wrong.
Environment
As the wrong info shows.
Then, specify:
- Operating system:
- Browser and version:
Mac OSX