-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Describe the bug
When running pn run link-watch I get the following message:
No "exports" main defined in /Users/wvgg/projects/my-sanity-plugin/node_modules/.pnpm/@sanity+pkg-utils@9.0.6_@types+babel__core@7.20.5_@types+node@24.10.0_typescript@5.9.3/node_modules/@rollup/plugin-alias/package.json
Similar error when installing via npm:
[error] No "exports" main defined in /Users/wvgg/projects/my-sanity-plugin/node_modules/@rollup/plugin-alias/package.json
To Reproduce
Steps to reproduce the behavior:
This is happening consistently with new installs, just following the normal directions.
npx @sanity/plugin-kit@latest init sanity-plugin-testing-it-outcd sanity-plugin-testing-it-outnpm run link-watch
Expected behavior
Should "just work"
Which versions of Sanity are you using?
@sanity/incompatible-plugin 1.0.5 (up to date)
@sanity/pkg-utils 9.0.6 (up to date)
@sanity/plugin-kit 4.0.20 (up to date)
@sanity/ui 3.1.11 (up to date)
sanity 4.14.2 (latest: 4.15.0)
What operating system are you using?
MacOS 26.2
Which versions of Node.js / npm are you running?
10.9.2
v22.17.0
(pnpm 10.13.1)
tstikvoort and r0skar
Metadata
Metadata
Assignees
Labels
No labels