美文网首页
yarn 报错'vue-cli-service' 不是内部或外部

yarn 报错'vue-cli-service' 不是内部或外部

作者: 年轻人多学点 | 来源:发表于2020-03-19 15:15 被阅读0次

重装node依赖就好

节点Sass尚不支持您当前的环境:Windows 64位

问题
Cannot load gulp: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
[09:57:14] Cannot run sass task: missing in gulpfile.js
解决方法尝试一 ---- 失败:

npm i node-sass -D
报错

解决方法尝试二 ---- 失败:
先卸载

npm uninstall --save node-sass
报错

Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

  npm config set proxy http://example.com:8080

解决方法尝试三 ---- 成功:

使用淘宝镜像安装

cnpm install node-sass

相关文章

网友评论

      本文标题:yarn 报错'vue-cli-service' 不是内部或外部

      本文链接:https://www.haomeiwen.com/subject/xgllyhtx.html