node.js - 错误没有离子服务
问题描述
PS C:\ionic\appmysql> 离子服务
ng.cmd run app:serve --host=localhost --port=8100 [ng] 发生未处理的异常:ngcc 已经在 id 12260 的进程中运行。[ng] 如果您正在并行运行多个构建,那么您可以尝试在开始构建之前,通过命令行 ngcc 工具预处理你的 node_modules。cli/ngcc/ ngcc_lock_file .) [ng] 更多细节参见“C:\Users\AlvgMaker\AppData\Local\Temp\ng-Imd7P3\angular-errors.log”。
[错误] ng 意外关闭(退出代码 127)。
The Ionic CLI will exit. Please check any output above for error details.
PS C:\ionic\appmysql> npm i npm WARN @ionic-native/native-storage@5.31.1 需要 @ionic-native/core@^5.1.0 的对等体,但没有安装。您必须自己安装对等依赖项。npm WARN 可选跳过可选依赖:fsevents@2.3.2 (node_modules\chokidar\node_modules\fsevents):npm WARN notsup 跳过可选依赖:fsevents@2.3.2 不支持的平台:想要 {"os":"darwin","arch ":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents) :npm WARN notsup 跳过可选依赖:fsevents@1.2.13 不受支持的平台:想要 {"os":"darwin","arch":"any"}(当前:{"os":"
87个包正在寻找资金运行npm fund
以获取详细信息
发现 1 个低严重性漏洞运行npm audit fix
来修复它们,或npm audit
获取详细信息 PS C:\ionic\appmysql> ionic serve
ng.cmd run app:serve --host=localhost --port=8100 [ng] 发生未处理的异常:目标入口点“@ionic-native/native-storage”缺少依赖项:[ng] - @ionic -native/core [ng] 有关详细信息,请参阅“C:\Users\AlvgMaker\AppData\Local\Temp\ng-u1RWk0\angular-errors.log”。
[错误] ng 意外关闭(退出代码 127)。
The Ionic CLI will exit. Please check any output above for error details.
解决方案
请安装软件包:
@ionic-native/核心
使用以下代码:
npm i @ionic-native/core
推荐阅读
- c# - 如何从视图中获取 ViewBag?总是返回 null
- kotlin - 如何像 Swift 一样在 Kotlin 中做 guard let 语句?
- python - 如何使用 .apply() 将一列字典组合成一个字典?
- ios - 如何根据UILabel行宽设置UIImageView的宽度
- xml - 如何在 xsl-xml 中使用选择和时间显示产品
- android - 存储访问框架:撤销树权限后保留文件权限
- java - 如何在 Java 代码中标记忽略返回值?
- matlab - 如何显示具有双值而不是符号的函数?
- keras - 如何将 Bert 嵌入提供给 LSTM
- python-3.x - ValueError:协议消息 SsdFeatureExtractor 没有字段 replace_preprocessor_with_placeholder