基于vue、element-ui构建开发环境部署出现的问题
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-83_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.13.1/win32-x64-83_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
出现问题的原因:
下载node-sass出现问题,下载不了
这个时候我们设置本地环境变量,根据自己的node.js安装路径配置,如本地没有```win32-x64-83_binding.node
那么 我们就下载win32-x64-72_binding.node这个放在node文件目录下面
然后我们找到环境变量配置,编辑新的环境变量
这样以后我们在 npm run dev
问题解决!!!