-
Notifications
You must be signed in to change notification settings - Fork 84
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
set NODE_OPTIONS variable #25
Comments
Found a solution from this post that uses |
@RayGuo-ergou Just circling back to this issue, could you confirm that this happens on Powershell on Windows? How about WSL or Git Bash on Windows? |
WSL would be fine as it just linux (Full Linux kernel in WSL2) and I used for all my tasks/PR reviews. |
I am wondering if we just stick with WSL2 for the Windows setup. The maintenance cost for other shells such as Powershell might not be worth it. What do you think? I am keen to hear your thoughts as well @macite @jakerenzella 🙏🏼 |
Thank you for the ping @maddernd. I think that's ok to close. However, if we don't support running on local machine without container, we should update the README to reflect that. |
The command to set NODE_OPTIONS variable is vary due to the OS, e.g. linux uses
export
but windows usesset
. So the current script"serve:angular13": "export NODE_OPTIONS=--max_old_space_size=4096&& ng serve --host 0.0.0.0",
would not work on windows.The text was updated successfully, but these errors were encountered: