首页 > 解决方案 > 错误没有离子服务

问题描述

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.

标签: node.jsangularionic-frameworknpm

解决方案


请安装软件包:

@ionic-native/核心

使用以下代码:

npm i @ionic-native/core

更多内容:https ://www.npmjs.com/package/@ionic-native/core


推荐阅读