ERR! with npm install for dependency "@builder.io/react" : "latest"

Builder content link
n/a

Builder public api key
n/a

Detailed steps to reproduce the bug
n/a

Screenshots or video link
https://drive.google.com/drive/folders/1al5Q2n_0wr1CpeYw2ZH6_BpJGmGqlXST?usp=sharing

Code stack you are integrating Builder with
NextJS

Reproducible code example
n/a

View log here:
https://drive.google.com/drive/folders/1al5Q2n_0wr1CpeYw2ZH6_BpJGmGqlXST?usp=sharing

The other 2 @builder.io were installed successfully.

Thanks for helping!

Martin.

Hello @hemge,

Welcome to the builder.io forum post!

Could you try using the node version below 20 and let us know if that works for you?

Hi Manish

I have Node v18.17.0 globally installed.

Notice that I ran the npm init builder.io@latest command as suggested when onboarding and it failed to install. It asked to try with npm install (and re-read the package.json) but failed also. That’s where I isolated the 3 builder.io and found that “@builder.io/react”:“latest” was the only one not installing.

Thanks again for your help.

Martin.

I have also try installing from an existing project (npm init builder.io@latest --existing), same error.

Hello @hemge,

Can you update the dependency to “@builder.io/react”: “^3.1.3”, and try installing using the npm install command?

Same error. I’m going to try different versions of stuff. If you have another tip, let me know.

Thanks.
Martin.

Got it. It was caused by Node v18.17.0 - I’ve installed Node v20.11.0 and it went through.

Thanks a bunch for your time and effort!

Martin.