Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 7.x
2018-02-05 23:31
736 查看
npm run dev 启动时,报了一大堆错误
Module build failed: Error: Missing binding E:\2017VocaSchool\vocationWeb\node_modules\node-sass\vendor\win32-x64-51\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 7.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 8.x
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 (E:\2017VocaSchool\vocationWeb\node_modules\node-sass\lib\binding.js:15:13)
at Object.<anonymous> (E:\2017VocaSchool\vocationWeb\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.<anonymous> (E:\2017VocaSchool\vocationWeb\node_modules\sass-loader\lib\loader.js:3:14)
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)
@ ./~/vue-style-loader!./~/css-loader?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"id":"data-v-14fb6926","scoped":true,"hasInlineConfig":false}!./~/sass-loader/lib/loader.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/flowDesign/startFlow.vue
4:14-396 13:3-17:5 14:22-404
@ ./src/views/flowDesign/startFlow.vue
@ ./src/routes.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
使用 npm rebuild node-sass,然后在更新一下npm update
然后在重新启动下,应该就好了。
Module build failed: Error: Missing binding E:\2017VocaSchool\vocationWeb\node_modules\node-sass\vendor\win32-x64-51\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 7.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 8.x
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 (E:\2017VocaSchool\vocationWeb\node_modules\node-sass\lib\binding.js:15:13)
at Object.<anonymous> (E:\2017VocaSchool\vocationWeb\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.<anonymous> (E:\2017VocaSchool\vocationWeb\node_modules\sass-loader\lib\loader.js:3:14)
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)
@ ./~/vue-style-loader!./~/css-loader?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"id":"data-v-14fb6926","scoped":true,"hasInlineConfig":false}!./~/sass-loader/lib/loader.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/flowDesign/startFlow.vue
4:14-396 13:3-17:5 14:22-404
@ ./src/views/flowDesign/startFlow.vue
@ ./src/routes.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
使用 npm rebuild node-sass,然后在更新一下npm update
然后在重新启动下,应该就好了。
相关文章推荐
- Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 6.x
- Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 6.x
- Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported run
- ionic开发——Node Sass does not yet support your current environment解决办法
- Node Sass does not yet support your current environment
- Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding.
- jquery crossdomain post plugin i changed bit test code suite for my env,due to the windows env is not familiar with github operation,i didn't forked form the original resposeritoy
- docker-compose出现错误:Creating fail with Could not find container for entity id <id>
- Could not find wsdl:binding operation info for web method sayHi
- 关于两个异常Undefined symbols for architecture x86_64和Could not find a nib (load) named 'Main'的解决方案
- 解决问题:"Pyperclip could not find a copy/paste mechanism for your system. "
- Secure your USB drives with BitLocker To Go for Windows 7
- Connect: Class not registered/ Top gotchas when moving to 64-bit SAS for windows
- compile android for x86_64 - ccache: FATAL: Could not find compiler "arm-eabi-gcc" in PATH
- 异常:javax.xml.ws.WebServiceException: Could not find wsdl:binding operation info for web method sayHi
- jrebel Could not find agent library/Can't load IA 32-bit .dll on a AMD 64-bit platform
- 解决golang windows调试问题:Could not determine version number: could not find symbol value for runtime.buildVersion
- Could not find any matches for com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+ as no versions处理
- Xcode could not find a valid private certificate/valid key-pair for this profile in your keychain
- How to deal with "Could not find component on update server. Contact VMware Support or your system administrator." in Vmware.