-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
electron: -max-http-header-size=1048576 is not allowed in NODE_OPTIONS #8601
Comments
Try run this command not in vscode integrated terminal |
Yes, try using terminal outside of the editor |
Oh wow I've been struggling to find a solution for this on my work laptop and that was it... thanks guys. However doesn't anyone have a solution to get it working in VSCode or we're stuck having to always start it from outside? |
Are you using beta vscode version? Or - wait a sec. My last changes was running tests with --browser electron |
@FDiskas So that helps in identifying the source, thanks for that I added a comment in their issue to upgrade to Electron 9, let's see what their reply will be... |
Yes I'm using VSCode Insider |
@ghermet It seems that no one replied to my comment on their Electron 9 upgrade, but I'm quite sure it's related and that is only on the insiders for now. |
Workaround for PowerShell $env:NODE_OPTIONS = ''
yarn cypress open Workaround for UNIX-like env NODE_OPTIONS= yarn cypress open |
Current behavior:
It seems like one of the
NODE_OPTIONS
attributes is wrongly set using-max-http-header-size
instead of--max-http-header-size
in electronDesired behavior:
When running
yarn cypress run
in the terminal, the tests should run.Test code to reproduce
Versions
The text was updated successfully, but these errors were encountered: