-
Notifications
You must be signed in to change notification settings - Fork 105
Description
If you find a security vulnerability, do NOT open an issue. Email [email protected] instead.
Describe the bug
On node <= 22.14 a circular dependency in Sanity 4.20.0 causes npm run dev to fail.
To Reproduce
Steps to reproduce the behavior:
- Install node 22.14
- run
npm run dev
Expected behavior
Build succeeds
Screenshots
If applicable, add screenshots to help explain your problem.
Which versions of Sanity are you using?
Run sanity versions in the terminal and copy-paste the result here.
@sanity/cli (global) 3.98.0 (latest: 4.21.1)
@sanity/prettier-config 2.0.2 (latest: 3.0.0)
What operating system are you using?
macOS Sequoia
Which versions of Node.js / npm are you running?
Run npm -v && node -v in the terminal and copy-paste the result here.
11.3.0
v22.14.0
Additional context
Add any other context about the problem here.
Security issue?
Any security issues should be submitted directly to [email protected]. In order to determine whether you are dealing with a security issue, ask yourself these two questions:
- Can I access something that's not mine, or something I shouldn't have access to?
- Can I disable something for other people? If the answer to either of those two questions are "yes", then you're probably dealing with a security issue. Note that even if you answer "no" to both questions, you may still be dealing with a security issue, so if you're unsure, just email us at [[email protected]](mailto:[email protected].