Code-server: Why is --experimental-repl-await flag not allowed in NODE_OPTIONS?

Created on 11 Mar 2019  路  3Comments  路  Source: cdr/code-server

Description

I set $NODE_OPTIONS (environment variable) to contain --experimental-repl-await for convenience (when using Node.js repl), but code-server complains about it.

Is there any reason why this rule is strictly necessary?

Related Issues

question

Most helpful comment

@KSXGitHub this is the incorrect place to ask. This should be forwarded to Node.js.

All 3 comments

Not sure what context this is in.

Are you attempting to run a JS file?

I download the binary and execute that binary (to start a server) with $NODE_OPTIONS contains --experimental-repl-await and then an error message appears.

For context, I use Linux.

@KSXGitHub this is the incorrect place to ask. This should be forwarded to Node.js.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pchecinski picture pchecinski  路  3Comments

tecosaur picture tecosaur  路  3Comments

Arsaev picture Arsaev  路  3Comments

broady picture broady  路  3Comments

infogulch picture infogulch  路  3Comments