ionic3 环境炸的补救办法

项目环境炸了,没办法重新只能重新搞环境

npm  install -g cordova ionic

发现各种报错,只能卸载node删除以前下的包;

去node中文官网下载下来发现node是8.1.3版本

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/v4.5.0

报错,查看后

发现node版本太高

重新下载只能去官网下载6.1.1版本,吐槽下中文官网为什么找不到其他版本的下载。。。。

接着

npm  install -g cordova ionic

 

哒哒!终于又可以用了

(如果下载不下来请科学上网)

原文地址:https://www.cnblogs.com/zhangweihu/p/7171462.html