ionic serve命令失败,“build dev failed:找不到模块'../util/Logger'"

时间:2016-11-10 12:54:30

标签: ionic-framework npm node-modules serve

我使用

创建并运行离子项目
ionic start test1 blank --v2
cd test1
ionic serve

我得到了:

[13:48:30]  ionic-app-scripts 0.0.42 
[13:48:30]  watch started ... 
[13:48:30]  build dev started ... 
[13:48:30]  clean started ... 
[13:48:30]  clean finished in 1 ms 
[13:48:30]  copy started ... 
[13:48:30]  transpile started ... 
[13:48:34]  transpile finished in 4.04 s 
[13:48:34]  webpack started ... 
[13:48:34]  build dev failed: Cannot find module '../util/Logger' 
[13:48:35]  copy finished in 4.13 s 
[13:48:35]  watch ready in 4.14 s 

我尝试删除node-modules目录并进行“npm install”以重建模块,但结果相同。 (甚至重新安装了离子框架)

我有Linux Mint 18。

0 个答案:

没有答案