Skip to content

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

@SirmaXX

Description

@SirmaXX

Bug Report

ionic -v
5.2.3
nodejs -v
v12.7.0
npm -v
6.10.0
java --version
openjdk 11.0.4 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)

when ı follow this instructions https://ionicframework.com/getting-started#cli
ı saw this error .How can ı solve this thing

[ng] An unhandled exception occurred: argument fn must be a function
[ng] See "/tmp/ng-1YfN2H/angular-errors.log" for further details.

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

when ı open the error log
[error] TypeError: argument fn must be a function
at Function.wrapfunction [as function] (/home/deniz/Masaüstü/ionic/myApp/node_modules/depd/index.js:399:11)
at populateConstructorExports (/home/deniz/Masaüstü/ionic/myApp/node_modules/http-errors/index.js:264:45)
at Object. (/home/deniz/Masaüstü/ionic/myApp/node_modules/http-errors/index.js:30:1)
at Module._compile (internal/modules/cjs/loader.js:777:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:788:10)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/home/deniz/Masaüstü/ionic/myApp/node_modules/send/index.js:15:19)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions