简体   繁体   English

错误没有离子服务

[英]erro no ionic serve

PS C:\ionic\appmysql> ionic serve PS C:\ionic\appmysql> 离子服务

ng.cmd run app:serve --host=localhost --port=8100 [ng] An unhandled exception occurred: ngcc is already running at process with id 12260. [ng] If you are running multiple builds in parallel then you might try pre-processing your node_modules via the command line ngcc tool before starting the builds. ng.cmd run app:serve --host=localhost --port=8100 [ng] 发生未处理的异常:ngcc 已经在 id 12260 的进程中运行。[ng] 如果您正在并行运行多个构建,那么您可以尝试在开始构建之前,通过命令行 ngcc 工具预处理你的 node_modules。 cli/ngcc/ ngcc_lock_file .) [ng] See "C:\Users\AlvgMaker\AppData\Local\Temp\ng-Imd7P3\angular-errors.log" for further details. cli/ngcc/ ngcc_lock_file .) [ng] 更多细节参见“C:\Users\AlvgMaker\AppData\Local\Temp\ng-Imd7P3\angular-errors.log”。

[ERROR] ng has unexpectedly closed (exit code 127). [错误] 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 requires a peer of @ionic-native/core@^5.1.0 but none is installed. PS C:\ionic\appmysql> npm i npm WARN @ionic-native/native-storage @ ionic-native/native-storage @5.31.1 需要一个对等方,但未安装。 You must install peer dependencies yourself.您必须自己安装对等依赖项。 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"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 SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) ZBB30E8 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"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":"win32","arch" :“ X64”})ZBB30E85411B56DF41296726AB44445DC8FZ WARN warn tawn tawn swiptions swipping可选依赖性:fsevents@2.1.3(node_modules \ fsevents \ fsevents):ZBBBB3SE ESMENTYS:ZBB3 "arch":"any"} (当前: {"os":"win32","arch":"x64"}) ZBB30E8 5411B56DF41296726AB445DC8FZ WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 5411B56DF41296726AB445DC8FZ WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin ","arch":"any"}(当前:{"os":"win32","arch":"x64"})

87 packages are looking for funding run npm fund for details 87包正在寻找资金运行npm fund详情

found 1 low severity vulnerability run npm audit fix to fix them, or npm audit for details PS C:\ionic\appmysql> ionic serve发现 1 个低严重性漏洞运行npm audit fix以修复它们,或npm audit以获取详细信息 PS C:\ionic\appmysql> ionic serve

ng.cmd run app:serve --host=localhost --port=8100 [ng] An unhandled exception occurred: The target entry-point "@ionic-native/native-storage" has missing dependencies: [ng] - @ionic-native/core [ng] See "C:\Users\AlvgMaker\AppData\Local\Temp\ng-u1RWk0\angular-errors.log" for further details. 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”。

[ERROR] ng has unexpectedly closed (exit code 127). [错误] ng 意外关闭(退出代码 127)。

    The Ionic CLI will exit. Please check any output above for error details.

Please install the package:请安装 package:

@ionic-native/core @ionic-native/核心

use the follow code:使用以下代码:

npm i @ionic-native/core npm i @ionic-native/core

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM