bvm icon indicating copy to clipboard operation
bvm copied to clipboard

Error installing hello-world-nextjs example

Open craigmcc opened this issue 1 year ago • 0 comments

I'm trying to follow the quickstart for next.js (https://bit.dev/docs/quick-start/hello-world-nextjs) by executing the following command:

bit new hello-world-nextjs bit-hello-world-nextjs --env teambit.community/starters/hello-world-nextjs

but it returns the following error:

Node version 21.1.0 is not supported, please use Node.js >=16.0.0 <21.0.0.
If you must use legacy versions of Node.js, please use our binary installation methods. https://docs.bit.dev/docs/installation

As the error correctly notes, I am using Node 21.1.0 but that is above the range of Node versions that the install process supports. It would make sense to adjust the upper limit of supported Node versions.

craigmcc avatar Dec 14 '23 18:12 craigmcc