teambit / bvm

Bit version manager
Other
42 stars 13 forks source link

Error installing hello-world-nextjs example #94

Open craigmcc opened 10 months ago

craigmcc commented 10 months ago

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.