安装vue环境时遇到的问题

npm install的时候提醒我node sass版本与当前环境不匹配,提示 Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime 类似这种提示,然后我卸载重新安装node-sass还是不行,中间也有试着安装别的node-sass版本也不行。于是我删除node包想重新安装,但是提示 a latest version of node .js is already installed.无法安装,应该是node没卸载干净。于是打开所有程序搜索node
安装vue环境时遇到的问题_第1张图片

看到了uninstall node,js 点击这个node成功卸载,于是重新安装node,按照提示安装的指定位置,没有自定义位置。安装成功此时node -v显示命令错误,重启电脑node -v 提示版本号成功安装,再安装cnpm 成功后,再次在项目里cnpm install安装成功,项目也成功启动。不要自定义安装node的位置

你可能感兴趣的:(安装vue环境时遇到的问题)