今まではSCSSがコンパイルされていたのですが、なぜか突然コンパイルされなくなりました。
ちゃんとFile Watcher
は設定してあります。
npm
を見てみると
> @ watch /Applications/MAMP/htdocs/... > cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js sh: cross-env: command not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! @ watch: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the @ watch script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /Users/.../.npm/_logs/2018-02-15T12_49_45_326Z-debug.log Process finished with exit code 1
とエラーが出ているのが分かりました。
このエラーが原因なのでしょうか?
英語の知識が皆無なのでご教授お願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。