bvm icon indicating copy to clipboard operation
bvm copied to clipboard

Facing an Unexpected Token issue when building

Open alanoudssr opened this issue 2 years ago • 2 comments

/usr/local/lib/node_modules/[@teambit](https://t.me/teambit)/bvm/node_modules/[@pnpm](https://t.me/pnpm)/fetch/lib/fetch.js:38
    const retryOpts = opts.retry ?? {};
                                  ^

SyntaxError: Unexpected token ‘?’
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)

I've been facing this issue in Jenkins build when using bvm during the bvm verions bvm install part

alanoudssr avatar Feb 22 '23 18:02 alanoudssr

Update your Node.js version to v14 or newer.

zkochan avatar Feb 22 '23 22:02 zkochan

What about those who use node 12?

deitux123 avatar May 02 '23 16:05 deitux123