leagueoflegends-optimizer icon indicating copy to clipboard operation
leagueoflegends-optimizer copied to clipboard

Issue with running Lab 2 - Task 2

Open sanne-w opened this issue 1 year ago • 0 comments

Hi there, While running step 1 from task 2: npx zx scripts/setenv.mjs

We run into the following problem:

<snip>@cloudshell:leagueoflegends-optimizer (<snip>)$ npx zx scripts/setenv.mjs
file:///home/<snip>/leagueoflegends-optimizer/node_modules/zx/build/vendor.js:19780
    this.#onFinished ??= onMergedStreamFinished(this, this.#streams);
                     ^^^
 
SyntaxError: Unexpected token '??='
    at Loader.moduleStrategy (internal/modules/esm/translators.js:145:18)

Do you have advice on this issue?

sanne-w avatar May 14 '24 06:05 sanne-w