0
votes

PS C:\ionic\appmysql> ionic serve

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. cli/ngcc/ngcc_lock_file.) [ng] See "C:\Users\AlvgMaker\AppData\Local\Temp\ng-Imd7P3\angular-errors.log" for further details.

[ERROR] ng has unexpectedly closed (exit code 127).

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

PS C:\ionic\appmysql> npm i npm WARN @ionic-native/[email protected] requires a peer of @ionic-native/core@^5.1.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\watchpack-chokidar2\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\webpack-dev-server\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

87 packages are looking for funding run npm fund for details

found 1 low severity vulnerability run npm audit fix to fix them, or npm audit for details 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.

[ERROR] ng has unexpectedly closed (exit code 127).

    The Ionic CLI will exit. Please check any output above for error details.
1
please edit your question with not only copy-pasted code but also human-friendly text which explains your issue. Formulating your question also helps you to frame the problem.compmonks

1 Answers

0
votes

Please install the package:

@ionic-native/core

use the follow code:

npm i @ionic-native/core

more in: https://www.npmjs.com/package/@ionic-native/core