离子启动无法下载二进制文件

时间:2018-06-07 10:39:43

标签: ionic-framework

我想创建我的第一个离子项目,但它失败了。错误消息:

  

从中下载二进制文件   https://github.com/sass/node-sass/releases/download/v4.7.2/darwin-x64-64_binding.node

     

无法下载   “https://github.com/sass/node-sass/releases/download/v4.7.2/darwin-x64-64_binding.node

     

未找到HTTP错误404

节点版本 - v10.3.0 /离子版 - 3.20.0

enter image description here enter image description here enter image description here

此错误使我无法在浏览器上运行我的项目。当我命令离子发球时。似乎丢失了一些文件。错误消息:

  

错误:找不到模块'/ Users / Lester / Desktop / newproject / node_modules / @ ionic / app-scripts'

相关问题 https://github.com/ionic-team/ionic-cli/issues/2416
https://github.com/ionic-team/ionic/issues/13677

但我没有看到那里的好解决方案。我应该降级我的节点版本还是手动下载文件?但是程序是什么?有谁知道如何解决这个问题?

这是在我将代理设置为GitHub.com:8080和1234之后发生的。它停留在运行命令

enter image description here

1 个答案:

答案 0 :(得分:0)

要解决此问题,您需要将节点版本降级为8