我在Linux Debian上 我有几次这个错误 我尝试使用npm install和npm uninstall
安装卸载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/app-scripts@latest
但它不起作用我有这个错误
build dev failed: Cannot set property 'fileSystem' of null
答案 0 :(得分:1)
在package.json中安装此:"@ionic/app-scripts": "1.0.0"
版本的app-scripts。
此错误发生在npm update或ionic lib update之后(我想测试这些命令...... BIG MISTAKE)。
小心lib更新。