Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing an Unexpected Token issue when building #79

Open
alanoudssr opened this issue Feb 22, 2023 · 2 comments
Open

Facing an Unexpected Token issue when building #79

alanoudssr opened this issue Feb 22, 2023 · 2 comments

Comments

@alanoudssr
Copy link

alanoudssr commented Feb 22, 2023

/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

@zkochan
Copy link
Member

zkochan commented Feb 22, 2023

Update your Node.js version to v14 or newer.

@deitux123
Copy link

What about those who use node 12?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants