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
Similar Posts:
- How to Solve Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor’
- [Solved] Vue installs less Error: Failed to compile with 1 errors
- Completely Uninstall Node.js from Mac OS X
- Module build failed: Error: Cannot find module ‘node-sass’
- After installing nodejs, running NPM – V will cause (module. JS: 339 throw err..) error. Solution
- [Solved] Module build failed: Error: Cannot find module ‘node-sass’
- Solution to the failure of node rdkafka in docker build
- Mac download wepy error reporting solution
- How to Solve Error: Cannot find module ‘gulp-sass’
- [Solved] Found bindings for the following environments: Windows 64-bit with Node.js 8.x