-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #115
Comments
Upgrade to nodejs v12.18.3 and resolved the issue. |
Still having the issue when running ng lint, I first thought is as the node version. Let me know if there is something I can try to help if this is a bug or if it's my configuration. tsconfig.eslint.json angular.json
|
running ng lint as node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng lint helped. Now, I'm facing another issue which I cannot seem to fix it. I'm getting the following error
|
If I comment out the override rules for files: ['*.component.html'] and files: ['*.component.ts'] and run ng lint it hangs.
|
Here's my work eslintrc.js file and configuration that is working, package.json
angular.json
.eslintrc.js I had to comment out the override for files: ['*.component.ts'] in order to get lint to work
|
I'm sorry about the OOM issues @kambbado - please can you migrate to It is a major change to address specifically the issues you have mentioned. You will see that the integration-tests now include lots of separate projects (and you can also see in there how different the config now is). There is a schematic available now in that same PR to take a current Angular CLI project and convert it to the appropriate configuration. If you still have issues with Thanks all 🙏 |
Has anyone experience this issue?
Ran command: npm run lint
Configuration in Package.json:
"lint": "ng lint",
The text was updated successfully, but these errors were encountered: