The error information is as follows:
[error] ./client/components/TimeLine/TimeLine.scss
Module build failed: Error: Missing binding /usr/local/yapi/vendors/node_modules/node-sass/vendor/linux-x64-51/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 7.x
Found bindings for the following environments:
- Windows 64-bit with Unsupported runtime (67)
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass --force` to build the binding for your current environment.
at module.exports (/usr/local/yapi/vendors/node_modules/node-sass/lib/binding.js:15:13)
at Object.<anonymous> (/usr/local/yapi/vendors/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.sassLoader (/usr/local/yapi/vendors/node_modules/sass-loader/lib/loader.js:24:22)
@ ./client/components/TimeLine/TimeLine.js 101:0-26
Solution:
Rebuild local node sass
npm rebuild node-sass