$ time ember build ENOENT: no such file or directory, scandir '/vagrant/webui/node_modules/node-sass/vendor' Error: ENOENT: no such file or directory, scandir '/vagrant/webui/node_modules/node-sass/vendor' at Error (native) at Object.fs.readdirSync (fs.js:856:18) at Object.getInstalledBinaries (/vagrant/webui/node_modules/node-sass/lib/extensions.js:119:13) at foundBinariesList (/vagrant/webui/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/vagrant/webui/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/vagrant/webui/node_modules/node-sass/lib/errors.js:45:5) at Object. (/vagrant/webui/node_modules/node-sass/lib/index.js:15:28) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) $ ls node_modules/node-sass/ bin binding.gyp CHANGELOG.md lib LICENSE node_modules package.json README.md scripts src test
Issue was fixed by running
npm rebuild node-sass
https://github.com/sass/node-sass/issues/1387#issuecomment-185451183
$ npm rebuild node-sass > node-sass@3.9.3 install /vagrant/webui/node_modules/node-sass > node scripts/install.js Start downloading binary at https://github.com/sass/node-sass/releases/download/v3.9.3/linux-x64-47_binding.node Binary downloaded and installed at /vagrant/webui/node_modules/node-sass/vendor/linux-x64-47/binding.nodede: > node-sass@3.9.3 postinstall /vagrant/webui/node_modules/node-sass > node scripts/build.js "/vagrant/webui/node_modules/node-sass/vendor/linux-x64-47/binding.node" exists. testing binary. Binary is fine; exiting. node-sass@3.9.3 /vagrant/webui/node_modules/node-sass