当我尝试初始化新的Stencil项目时,为什么会出现node_modules错误?

时间:2016-02-29 22:06:35

标签: node.js bigcommerce

我刚刚开始使用Bigcommerce的Stencil语言,当我尝试初始化他们的示例项目(https://github.com/bigcommerce-stencil/stencil.git)时,我被困在文档中。

我克隆了repo并完成了必要的安装(我使用Node版本4.2.1,4.2.3和5.0.0尝试过)。当我从模板目录中键入stencil init时,这是我收到的错误消息:

Potentially unhandled rejection [6] Error: Error loading "node_modules/core-js/library/fn/get-iterator" at file:/Users/Eric/Development/econify/stencil/assets/node_modules/core-js/library/fn/get-iterator.js
Error loading "node_modules/core-js/library/fn/get-iterator" from "js/app" at file:/Users/Eric/Development/econify/stencil/assets/js/app.js
ENOENT: no such file or directory, open '/Users/Eric/Development/econify/stencil/assets/node_modules/core-js/library/fn/get-iterator.js' at Error (native)

有什么想法吗?

0 个答案:

没有答案