2017-02-04 116 views
0

不能设置属性“文件系统”我在Linux上的Debian 我有这个错误几次 我试图安装卸载与故宫安装和NPM卸载构建开发失败:空

ionic -v 
2.1.14 

> ionic-app-scripts serve 

[11:15:49] ionic-app-scripts 0.0.47 
[11:15:49] watch started ... 
[11:15:49] build dev started ... 
[11:15:49] clean started ... 
[11:15:49] clean finished in 3 ms 
[11:15:49] copy started ... 
[11:15:49] transpile started ... 
[11:15:51] transpile finished in 2.19 s 
[11:15:51] webpack started ... 
[11:15:51] build dev failed: Cannot set property 'fileSystem' of null 
[11:15:51] dev server running: http://localhost:8100/ 

我的问题是不同的我安装ionic-app-scripts 0.0.47就像我在别人的答案读,但它不工作,我也曾尝试 @ionic/[email protected]但它不工作,我有这样的错误 build dev failed: Cannot set property 'fileSystem' of null

+2

[build dev failed:无法设置属性'fileSystem'为空]的可能重复(http://stackoverflow.com/questions/41719924/build-dev-failed-cannot-set-property-filesystem-of-null ) –

+0

如果你已经安装了最新的离子cli ..离子应用程序脚本1.0.0..check答案 –

+0

“*我安装了'离子 - 应用程序脚本0.0.47'就像我在别人的答案*” - 这不是答案所说的。你从哪里读到的? – melpomene

回答

1

安装这个:"@ionic/app-scripts": "1.0.0" package.json中的应用程序脚本版本。

npm更新或离子库更新(我想测试这些命令...大错误)后出现此错误。

小心lib更新。