-
Notifications
You must be signed in to change notification settings - Fork 341
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
error on yarn create r3f-app next my-app -ts
#146
Comments
Same issues with Node.js v18.17.1 and Yarn v4.0.1. |
@ashleymvanduzer 's suggestion worked for me, but only with tailwind, not |
I'm seeing the same issue, with Yarn v4.0.2 and Node.js v21.6.2 (I also just updated yarn and node to latest, and had the same issue with older versions of both). Seems like the error comes from Yarn's PnP. I wish there was some way to turn that off during this create command, to see if that helps. I was also able to use npm and get it to work with that, but nothing looks to be TypeScript? Everything is still .js, not sure if that's unrelated to using npm though. [Edit]: The command |
@Bluhurr nice, I had been meaning to try that, had a feeling npx would be the best option for now. |
Upon running
yarn create r3f-app next my-app -ts
per the docs yields the following error:Error: create-r3f-app tried to access semver, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Full output:
Node.js
v21.0.0
Yarn
4.0.0
The text was updated successfully, but these errors were encountered: