You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it stands the shebang at the start of supply-cmd.js#!/usr/bin/env node --experimental-modules doesn't work on some types on Linux. This is because the whole thing is taken as a single command i.e. the --experimental-modules flag is considered as part of the command name not a flag.
--experimental-modules flag is necessary as we aim to support Node 12+. At Node 12 ES modules are not supported without the flag.
As it stands the shebang at the start of supply-cmd.js
#!/usr/bin/env node --experimental-modules
doesn't work on some types on Linux. This is because the whole thing is taken as a single command i.e. the --experimental-modules flag is considered as part of the command name not a flag.--experimental-modules flag is necessary as we aim to support Node 12+. At Node 12 ES modules are not supported without the flag.
Suggestions:
Maybe a bash script that executes the command with the flag?
relevant Stack Overflow question https://stackoverflow.com/questions/48179714/how-can-an-es6-module-be-run-as-a-script-in-node
The text was updated successfully, but these errors were encountered: