Error running ionic cli after install angular 8 and nodes 12

Hello guys, I need to develop a web app with angular.
So I installed the angular cli globally and its dependencies. and also compatible nodejs.
Now do not run the ionic cli. How to fix this situation? See the error below:

D:\ionic\quentes\appAtual>ionic serve

ionic-v1.cmd serve --host=localhost --port=8100 --livereload-port=35729 --dev-port=53703 --engine=browser
[v1] ionic-v1[11136]: c:\ws\src\node_contextify.cc:649: Assertion `args[1]->IsString()’ failed.
[v1] 1: 00007FF7410A094F napi_wrap+124431
[v1] 2: 00007FF741042696 v8::base::CPU::has_sse+34502
[v1] 3: 00007FF7410429B3 v8::base::CPU::has_sse+35299
[v1] 4: 00007FF74104CFC3 v8::base::CPU::has_sse+77811
[v1] 5: 00007FF7417FB150 v8::internal::Builtins::builtin_handle+325536
[v1] 6: 00007FF7417FA326 v8::internal::Builtins::builtin_handle+321910
[v1] 7: 00007FF7417FA9A2 v8::internal::Builtins::builtin_handle+323570
[v1] 8: 00007FF7417FA7DE v8::internal::Builtins::builtin_handle+323118
[v1] 9: 00007FF741C72D6D v8::internal::SetupIsolateDelegate::SetupHeap+568205
[v1] 10: 00007FF741BEDF0A v8::internal::SetupIsolateDelegate::SetupHeap+23850
[v1] 11: 00007FF741CD3A90 v8::internal::SetupIsolateDelegate::SetupHeap+964784
[v1] 12: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 13: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 14: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 15: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 16: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 17: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 18: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 19: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 20: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 21: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 22: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 23: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 24: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 25: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 26: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 27: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 28: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 29: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 30: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 31: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 32: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 33: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 34: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 35: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 36: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 37: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 38: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 39: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 40: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 41: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 42: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 43: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 44: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 45: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 46: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 47: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 48: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 49: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 50: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 51: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 52: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 53: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 54: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 55: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 56: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 57: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 58: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 59: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 60: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 61: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 62: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 63: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 64: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 65: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 66: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 67: 00007FF741BEBBAC v8::internal::SetupIsolateDelegate::SetupHeap+14796
[v1] 68: 00007FF741BF27FC v8::internal::SetupIsolateDelegate::SetupHeap+42524
[v1] 69: 00007FF741C1CF43 v8::internal::SetupIsolateDelegate::SetupHeap+216419
[v1] 70: 00007FF741C41A62 v8::internal::SetupIsolateDelegate::SetupHeap+366722
[v1] 71: 00007FF741C0F2CB v8::internal::SetupIsolateDelegate::SetupHeap+159979
[v1] 72: 00007FF741BEFC9C v8::internal::SetupIsolateDelegate::SetupHeap+31420
[v1] 73: 00007FF741754FD0 v8::internal::Execution::CallWasm+1536
[v1] 74: 00007FF7417550C3 v8::internal::Execution::CallWasm+1779
[v1] 75: 00007FF7417554A2 v8::internal::Execution::TryCall+354
[v1] 76: 00007FF741738CD5 v8::internal::MicrotaskQueue::RunMicrotasks+517
[v1] 77: 00007FF740FE407C v8::internal::wasm::SignatureMap::Freeze+78204
[v1] 78: 00007FF741069621 node::Start+1233
[v1] 79: 00007FF741069877 node::Start+1831
[v1] 80: 00007FF74106874A node::LoadEnvironment+26
[v1] 81: 00007FF74100B715 EVP_CIPHER_CTX_buf_noconst+30565
[v1] 82: 00007FF741069263 node::Start+275
[v1] 83: 00007FF740F2666C RC4_options+339308
[v1] 84: 00007FF741D25D58 v8::internal::SetupIsolateDelegate::SetupHeap+1301368
[v1] 85: 00007FFF42987974 BaseThreadInitThunk+20
[v1] 86: 00007FFF42BFA271 RtlUserThreadStart+33

[ERROR] ionic-v1 has unexpectedly closed (exit code 134).

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

Hello @regissteigleder! Welcome back!
It’s been a while since we’ve seen you here… :smiley: :clap:t4:

It seems a problem about your Node version try to download your version.

Either

I suggest you to delete your node_modules folder:

rm -r node_modules

And restart the installation of dependencies:

npm install

If it are not working for you, do that:

npm i natives

Hope it could helps you.

Thanks TomCosta.

The suggestion to reinstall node_modules by npm install has crashed into the build.
So I created a new ionic v1 project and copied the node_modules folder to my problem project.
So it all worked out.
Great tip coming from the gaucho mountains. I am in Porto Alegre.

In Portuguese:

Valeu TomCosta.

A sugestão de reinstalar o node_modules pelo npm install deu pau na compilação.
Então criei um novo projeto ionic v1 e copiei a pasta node_modules pra o meu projeto com problema.
Então tudo funcionou.
Ótima dica vindo das montanhas gaúchas . Estou em Porto Alegre.

1 Like

Ah ah ah!! Que legal, poucas vezes encontro alguém do Sul do Brasil por aqui. :smiley::clap:t4:
Aproveitando… porque está usando Ionic v1?