Angular-cli: CLI Crashed!

Created on 11 Jul 2019  路  4Comments  路  Source: angular/angular-cli

馃悶 Bug report

Command (mark with an x)


- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?


Yes, the previous version in which this bug was not present was: ....

Description

A clear and concise description of the problem...
I can't able to compile the project

馃敩 Minimal Reproduction

I tried to run the project using the following command, It's compiled successfully for the first 2 times. But the next time it got failed

compilation code - node --max-old-space-size=10096 ./node_modules/@angular/cli/bin/ng serve --configuration dev

馃敟 Exception or Error




Assertion `!(n > 0) || (ret != nullptr)' failed.

馃實 Your Environment




    "@angular/animations": "^7.2.1",
    "@angular/common": "^7.2.1",
    "@angular/core": "^7.2.1",
    "@angular/forms": "^7.2.1",
    "@angular/http": "^7.2.1",
    "@angular/platform-browser": "^7.2.1",
    "@angular/platform-browser-dynamic": "^7.2.1",
    "@angular/platform-server": "^7.2.1",
    "@angular/router": "^7.2.1",

   Node version  - 10.15.3
more info

Most helpful comment

@santhoshnv Hi again, this is really what is printed when you run ng version under your project?
It seems it misses a lot of other version infos.
Can paste whole content of ng version?
Is it possible to make repro, share your projet if it is not a fresh new project

All 4 comments

@santhoshnv Hi again, this is really what is printed when you run ng version under your project?
It seems it misses a lot of other version infos.
Can paste whole content of ng version?
Is it possible to make repro, share your projet if it is not a fresh new project

Hi, this seems to be related to a Node bug https://github.com/nodejs/node/issues/20297 which was supposed to be addressed in 10.5.0.

I suggest a couple of things here.
1) Update to the latest version of @angular/cli
2) Update your Node JS version.

If that doesn't solve the issue, kindly fill a new issue with a minimal reproduction or the exact steps to reproduce the error.

Thanks.

This my cli information

image

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings