Skip to content
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

Verbose mode #22

Open
Johann-S opened this issue Feb 4, 2019 · 4 comments
Open

Verbose mode #22

Johann-S opened this issue Feb 4, 2019 · 4 comments

Comments

@Johann-S
Copy link

Johann-S commented Feb 4, 2019

Hi,

Thank you for your node js plugin 👍

Is it possible to add an option to disable the call of console.log ?

@endel
Copy link
Owner

endel commented Feb 4, 2019

Hi @Johann-S, thanks but I don't plan on maintaining this library anymore, using this alternative should work on NodeJS v8+

export NODE_OPTIONS="--max_old_space_size=4096"

Hope this helps!

@Johann-S
Copy link
Author

Johann-S commented Feb 4, 2019

Yep that's work on Unix systems but not on my Win10 😣

Edit:
Finally I found a workaround 😄

@endel
Copy link
Owner

endel commented Feb 13, 2019

do you mind sharing your workaround @Johann-S? Oh, you're the boostrap guy! nice to meet you! hahaha

@Johann-S
Copy link
Author

Nice to meet you too @endel 👍

Yep finally I did what you suggested but with some changes for my Angular project.

I added a new command in the scripts section of my package.json

"ng-high-memory": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng"

And I use this command to build my project like that:

"build": "npm run ng-high-memory -- build",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants