vue 框架安装系列问题

2019/08/16 11:01
阅读数 86
npm install --global vue-cli
错误提示:vue-cli-service' 不是内部或外部命令,也不是可运行的程序或批处理文件
解决:
如果是npm安装的 执行 npm -g bin 把地址添加到环境变量中
如果是yarn 安装的 执行 yarn global bin 把地址添加到环境变量中

运行:yarn run serve
下面为错误提示:(解决方法 :npm rebuild node-sass)
yarn run v1.13.0
$ vue-cli-service serve
 INFO  Starting development server...
 64% building 543/596 modules 53 active ...les\core-js\library\modules\_defined.jsBrowserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`                                                                             98% after emitting CopyPlugin
 ERROR  Failed to compile with 17 errors                                                                                                                         10:21:18 AM
 error  in ./src/components/error-page/403.vue?vue&type=style&index=0&id=1837a7ec&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/error-page/403.vue?vue&type=style&index=0&id=1837a7ec&lang=scss&scoped=true& 4:14-475 14:3-18:5 15:22-483
 @ ./src/components/error-page/403.vue?vue&type=style&index=0&id=1837a7ec&lang=scss&scoped=true&
 @ ./src/components/error-page/403.vue
 @ ./src/router/page/index.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/styles/common.scss
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./src/styles/common.scss 4:14-225 14:3-18:5 15:22-233
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/components/basic-container/main.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/basic-container/main.vue?vue&type=style&index=0&lang=scss& 4:14-452 14:3-18:5 15:22-460
 @ ./src/components/basic-container/main.vue?vue&type=style&index=0&lang=scss&
 @ ./src/components/basic-container/main.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/components/error-page/404.vue?vue&type=style&index=0&id=1845bf6d&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/error-page/404.vue?vue&type=style&index=0&id=1845bf6d&lang=scss&scoped=true& 4:14-475 14:3-18:5 15:22-483
 @ ./src/components/error-page/404.vue?vue&type=style&index=0&id=1845bf6d&lang=scss&scoped=true&
 @ ./src/components/error-page/404.vue
 @ ./src/router/page/index.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/views/util/store.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/util/store.vue?vue&type=style&index=0&lang=scss& 4:14-453 14:3-18:5 15:22-461
 @ ./src/views/util/store.vue?vue&type=style&index=0&lang=scss&
 @ ./src/views/util/store.vue
 @ ./src sync ^\.\/.*\.vue$
 @ ./src/router/avue-router.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/views/wel.vue?vue&type=style&index=0&id=bdfb2b98&scoped=scoped&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/wel.vue?vue&type=style&index=0&id=bdfb2b98&scoped=scoped&lang=scss& 4:14-459 14:3-18:5 15:22-467
 @ ./src/views/wel.vue?vue&type=style&index=0&id=bdfb2b98&scoped=scoped&lang=scss&
 @ ./src/views/wel.vue
 @ ./src/router/views/index.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/page/login/index.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/page/login/index.vue?vue&type=style&index=0&lang=scss& 4:14-453 14:3-18:5 15:22-461
 @ ./src/page/login/index.vue?vue&type=style&index=0&lang=scss&
 @ ./src/page/login/index.vue
 @ ./src/router/page/index.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/page/lock/index.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/page/lock/index.vue?vue&type=style&index=0&lang=scss& 4:14-453 14:3-18:5 15:22-461
 @ ./src/page/lock/index.vue?vue&type=style&index=0&lang=scss&
 @ ./src/page/lock/index.vue
 @ ./src/router/page/index.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/App.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=scss& 4:14-415 14:3-18:5 15:22-423
 @ ./src/App.vue?vue&type=style&index=0&lang=scss&
 @ ./src/App.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/components/error-page/500.vue?vue&type=style&index=0&id=4cf39caa&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/error-page/500.vue?vue&type=style&index=0&id=4cf39caa&lang=scss&scoped=true& 4:14-475 14:3-18:5 15:22-483
 @ ./src/components/error-page/500.vue?vue&type=style&index=0&id=4cf39caa&lang=scss&scoped=true&
 @ ./src/components/error-page/500.vue
 @ ./src/router/page/index.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/components/iframe/main.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/iframe/main.vue?vue&type=style&index=0&lang=scss& 4:14-452 14:3-18:5 15:22-460
 @ ./src/components/iframe/main.vue?vue&type=style&index=0&lang=scss&
 @ ./src/components/iframe/main.vue
 @ ./src/router/page/index.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/page/logs/index.vue?vue&type=style&index=0&id=2385e7ae&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/page/logs/index.vue?vue&type=style&index=0&id=2385e7ae&lang=scss&scoped=true& 4:14-477 14:3-18:5 15:22-485
 @ ./src/page/logs/index.vue?vue&type=style&index=0&id=2385e7ae&lang=scss&scoped=true&
 @ ./src/page/logs/index.vue
 @ ./src sync ^\.\/.*\.vue$
 @ ./src/router/avue-router.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/page/index/top/top-theme.vue?vue&type=style&index=0&id=1bd7f21a&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/page/index/top/top-theme.vue?vue&type=style&index=0&id=1bd7f21a&lang=scss&scoped=true& 4:14-499 14:3-18:5 15:22-507
 @ ./src/page/index/top/top-theme.vue?vue&type=style&index=0&id=1bd7f21a&lang=scss&scoped=true&
 @ ./src/page/index/top/top-theme.vue
 @ ./src sync ^\.\/.*\.vue$
 @ ./src/router/avue-router.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/page/index/top/top-search.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/page/index/top/top-search.vue?vue&type=style&index=0&lang=scss& 4:14-476 14:3-18:5 15:22-484
 @ ./src/page/index/top/top-search.vue?vue&type=style&index=0&lang=scss&
 @ ./src/page/index/top/top-search.vue
 @ ./src sync ^\.\/.*\.vue$
 @ ./src/router/avue-router.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/page/login/thirdlogin.vue?vue&type=style&index=0&id=2ffb9b82&rel=stylesheet%2Fscss&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/page/login/thirdlogin.vue?vue&type=style&index=0&id=2ffb9b82&rel=stylesheet%2Fscss&lang=scss&scoped=true& 4:14-504 14:3-18:5 15:22-512
 @ ./src/page/login/thirdlogin.vue?vue&type=style&index=0&id=2ffb9b82&rel=stylesheet%2Fscss&lang=scss&scoped=true&
 @ ./src/page/login/thirdlogin.vue
 @ ./src sync ^\.\/.*\.vue$
 @ ./src/router/avue-router.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./src/page/index/logo.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/page/index/logo.vue?vue&type=style&index=0&lang=scss& 4:14-452 14:3-18:5 15:22-460
 @ ./src/page/index/logo.vue?vue&type=style&index=0&lang=scss&
 @ ./src/page/index/logo.vue
 @ ./src sync ^\.\/.*\.vue$
 @ ./src/router/avue-router.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
 error  in ./node_modules/avue-plugin-ueditor/packages/ueditor/src/main.vue?vue&type=style&index=0&lang=scss&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding E:\bladexdb\saber\node_modules\node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
  - Windows 64-bit with Node.js 10.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to download the binding for your current environment.
    at module.exports (E:\bladexdb\saber\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (E:\bladexdb\saber\node_modules\node-sass\lib\index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.sassLoader (E:\bladexdb\saber\node_modules\sass-loader\lib\loader.js:46:72)
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/avue-plugin-ueditor/packages/ueditor/src/main.vue?vue&type=style&index=0&lang=scss& 4:14-392 14:3-18:5 15:22-400
 @ ./node_modules/avue-plugin-ueditor/packages/ueditor/src/main.vue?vue&type=style&index=0&lang=scss&
 @ ./node_modules/avue-plugin-ueditor/packages/ueditor/src/main.vue
 @ ./node_modules/avue-plugin-ueditor/packages/ueditor/index.js
 @ ./node_modules/avue-plugin-ueditor/packages/index.js
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/desk/notice.vue?vue&type=script&lang=js&
 @ ./src/views/desk/notice.vue?vue&type=script&lang=js&
 @ ./src/views/desk/notice.vue
 @ ./src sync ^\.\/.*\.vue$
 @ ./src/router/avue-router.js
 @ ./src/router/router.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.59.1:1888/sockjs-node (webpack)/hot/dev-server.js ./src/main.js babel-polyfill classlist-polyfill @/mock
继续出错:
Error: not found: python2\n    at getNotFoundError (E:\\bladexdb\\saber\\node_modules\\which\\which.js:13:12)\n    at F (E:\\bladexdb\\saber\\node_modules\\which\\which.js:68:19)\n    at E (E:\\bladexdb\\saber\\node_modules\\which\\which.js:80:29)\n    at E:\\bladexdb\\saber\\node_modules\\which\\which.js:89:16\n    at E:\\bladexdb\\saber\\node_modules\\isexe\\index.js:42:5\n    at E:\\bladexdb\\saber\\node_modules\\isexe\\windows.js:36:5\n    at FSReqWrap.oncomplete (fs.js:153:21)',
gyp verb `which` failed   code: 'ENOENT'
解决方法:
cnpm install node-sass --save-dev
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部