【发布时间】:2017-06-21 16:59:24
【问题描述】:
我在 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
【问题讨论】:
-
如果你已经安装了最新的 ionic cli.. 获取 ionic-app-scripts 1.0.0..检查答案
-
“我安装了
ionic-app-scripts 0.0.47,就像我在其他答案中读到的那样” - 这不是答案所说的。你在哪里读到的? -
npm install @ionic/app-scripts@latest 给我这个错误
@ionic/app-scripts@1.0.0 invalid -
更改你的 package.json 中应用脚本的版本,然后删除 node-modules,然后执行 npm install