We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91adf34 commit a8a1848Copy full SHA for a8a1848
src/py/utils/env_utils.py
@@ -55,7 +55,10 @@ def run_command(args):
55
56
stdout, stderr = subprocess.Popen(args, **popen_args).communicate()
57
if stderr:
58
- if b"SyntaxError" in stderr:
+ if b"ExperimentalWarning" in stderr:
59
+ # Don't treat node experimental warnings as actual errors.
60
+ return stdout
61
+ elif b"SyntaxError" in stderr:
62
raise NodeSyntaxError(
63
stdout.decode('utf-8'), stderr.decode('utf-8'))
64
else:
0 commit comments