ionic-team / ionic-cli

The Ionic command-line interface
MIT License
2k stars 640 forks source link

[ng] Node.js v20.11.0 [ERROR] ng has unexpectedly closed (exit code 1). Ionic 4 - Getting [ERROR] ng suddenly closed (exit code 1) when I run "ionic server" #5078

Open beni829 opened 3 months ago

beni829 commented 3 months ago

[ng] Node.js v20.11.0

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

beni829 commented 3 months ago

Ionic 4 - Getting [ERROR] ng suddenly closed (exit code 1) when I run "ionic server"

wmehanna commented 2 months ago

i'm getting the same error on node 20.11.1

[ng] Error: This command is not available when running the Angular CLI outside a workspace.

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

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

I'm getting the same error with node LTS 20.11.1