Skip to content

Yarn 2+ seems to run commands into separate jobs/shell #5486

Answered by arcanis
Sushi21 asked this question in Q&A
Discussion options

You must be logged in to vote

Yarn 2+ runs all scripts through a posix-like interpreter, for portability across systems. Replace your command by something like:

"test:qunit": "NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=test node ./tasks/execute test/qunit",

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sushi21
Comment options

Answer selected by merceyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants