fix(deps): update dependency @sanity/insert-menu to v1.1.0 (#8538) #14603
Annotations
10 errors
Test:
packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed:
Exit code: 1
Command: /opt/hostedtoolcache/node/18.20.6/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity build out -y
CWD: /tmp/sanity-cli-test/studios/v3
--- stderr ---
[WARN] Running in staging environment mode
- Clean output folder
✓ Clean output folder (5ms)
- Build Sanity Studio
✗ Build Sanity Studio
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at getDocumentComponent (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
--------------
--- stdout ---
Including the following environment variables as part of the JavaScript bundle:
- SANITY_STUDIO_FROM_ACTUAL_ENV
- SANITY_STUDIO_MODE
- SANITY_STUDIO_FROM_DOTENV
- SANITY_STUDIO_PROJECT_ID
- SANITY_STUDIO_DATASET
--------------
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.<anonymous> ../../../~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545
❯ Module._compile ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/esbuild-regist
|
Test:
packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed:
Exit code: 1
Command: /opt/hostedtoolcache/node/18.20.6/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity build out-basepath -y
CWD: /tmp/sanity-cli-test/studios/v3
--- stderr ---
[WARN] Running in staging environment mode
⚠ Overriding configured base path (/config-base-path) with value from environment variable (/custom-base-path)
- Clean output folder
✓ Clean output folder (11ms)
- Build Sanity Studio
✗ Build Sanity Studio
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at getDocumentComponent (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
--------------
--- stdout ---
Including the following environment variables as part of the JavaScript bundle:
- SANITY_STUDIO_BASEPATH
- SANITY_STUDIO_MODE
- SANITY_STUDIO_FROM_DOTENV
- SANITY_STUDIO_PROJECT_ID
- SANITY_STUDIO_DATASET
--------------
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.<anonymous> ../../../~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545
❯ Module._compile ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbu
|
Test:
packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed:
Exit code: 1
Command: /opt/hostedtoolcache/node/18.20.6/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity build out-config -y
CWD: /tmp/sanity-cli-test/studios/v3
--- stderr ---
[WARN] Running in staging environment mode
- Clean output folder
✓ Clean output folder (11ms)
- Build Sanity Studio
✗ Build Sanity Studio
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at getDocumentComponent (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
--------------
--- stdout ---
Including the following environment variables as part of the JavaScript bundle:
- SANITY_STUDIO_MODE
- SANITY_STUDIO_FROM_DOTENV
- SANITY_STUDIO_PROJECT_ID
- SANITY_STUDIO_DATASET
--------------
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.<anonymous> ../../../~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545
❯ Module._compile ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/
|
Test:
packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed:
Exit code: 1
Command: /opt/hostedtoolcache/node/18.20.6/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity build out-env -y
CWD: /tmp/sanity-cli-test/studios/v3
--- stderr ---
[WARN] Running in staging environment mode
⚠ Overriding configured base path (/config-base-path) with value from environment variable (/env-base-path)
- Clean output folder
✓ Clean output folder (12ms)
- Build Sanity Studio
✗ Build Sanity Studio
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at getDocumentComponent (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
--------------
--- stdout ---
Including the following environment variables as part of the JavaScript bundle:
- SANITY_STUDIO_BASEPATH
- SANITY_STUDIO_MODE
- SANITY_STUDIO_FROM_DOTENV
- SANITY_STUDIO_PROJECT_ID
- SANITY_STUDIO_DATASET
--------------
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.<anonymous> ../../../~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545
❯ Module._compile ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-regi
|
Test:
packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed:
Exit code: 1
Command: /opt/hostedtoolcache/node/18.20.6/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity build -y
CWD: /tmp/sanity-cli-test/studios/v3-custom-document
--- stderr ---
[WARN] Running in staging environment mode
⚠ Overriding configured base path (/config-base-path) with value from environment variable (/env-base-path)
- Clean output folder
✓ Clean output folder (5ms)
- Build Sanity Studio
✗ Build Sanity Studio
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at getDocumentComponent (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
--------------
--- stdout ---
Including the following environment variables as part of the JavaScript bundle:
- SANITY_STUDIO_BASEPATH
- SANITY_STUDIO_MODE
- SANITY_STUDIO_FROM_DOTENV
- SANITY_STUDIO_PROJECT_ID
- SANITY_STUDIO_DATASET
--------------
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.<anonymous> ../../../~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545
❯ Module._compile ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbui
|
Test:
packages/@sanity/cli/test/shared/devServer.ts#L58
Error: 'sanity dev' failed with code 1:
[WARN] Running in staging environment mode
✓ Checking configuration files...
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at getDocumentComponent (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.<anonymous> ../../../~/work/sanity/sanity/packages/sanity/lib/index.js:5:4545
❯ Module._compile ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ Object.newLoader ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9
❯ extensions..js ../../../~/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24
❯ getDocumentComponent ../../../~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7
❯ getDocumentHtml ../../../~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20
❯ renderDocumentFromWorkerData ../../../~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14
❯ Object.<anonymous> ../../../~/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72
❯ ChildP
|
Test:
packages/@sanity/cli/test/shared/devServer.ts#L58
Error: 'sanity dev' failed with code 1:
[WARN] Running in staging environment mode
✓ Checking configuration files...
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:366:10)
at packageExportsResolve (node:internal/modules/esm/resolve:713:9)
at resolveExports (node:internal/modules/cjs/loader:590:36)
at Module._findPath (node:internal/modules/cjs/loader:664:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/runner/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._compile (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at getDocumentComponent (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Function.executeUserEntryPoin
|
Test:
packages/@sanity/cli/test/shared/devServer.ts#L58
Error: 'sanity dev' failed with code 1:
[WARN] Running in staging environment mode
[WARN] Running in staging environment mode
✓ Checking configuration files...
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:366:10)
at packageExportsResolve (node:internal/modules/esm/resolve:713:9)
at resolveExports (node:internal/modules/cjs/loader:590:36)
at Module._findPath (node:internal/modules/cjs/loader:664:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/home/runner/work/sanity/sanity/packages/sanity/lib/index.js:5:4545)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._compile (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2258:26)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Object.newLoader (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (/home/runner/work/sanity/sanity/node_modules/.pnpm/[email protected][email protected]/node_modules/esbuild-register/dist/node.js:4833:24)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at getDocumentComponent (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:231:7)
at getDocumentHtml (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:208:20)
at renderDocumentFromWorkerData (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:201:14)
at Object.<anonymous> (/home/runner/work/sanity/sanity/packages/sanity/lib/_chunks-cjs/runtime.js:154:72)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1
|
Test:
packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed:
Exit code: 1
Command: /opt/hostedtoolcache/node/18.20.6/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity graphql deploy --force --dataset test_173892801_lin_v18_gh_8549_14603_1_graphql_v3
CWD: /tmp/sanity-cli-test/studios/v3
--- stderr ---
[WARN] Running in staging environment mode
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
--------------
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ ChildProcess.<anonymous> test/shared/environment.ts:164:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 1, stdout: '', stderr: '[WARN] Running in staging environment mode\n\n\nError [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath \'./_visual-editing\' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json\n at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)\n' }
|
Test:
packages/@sanity/cli/test/shared/environment.ts#L164
ExecError: Command failed:
Exit code: 1
Command: /opt/hostedtoolcache/node/18.20.6/x64/bin/node /tmp/sanity-cli-test/install/node_modules/.bin/sanity graphql deploy --tag for_list --force --dataset test_173892801_lin_v18_gh_8549_14603_1_graphql_v3
CWD: /tmp/sanity-cli-test/studios/v3
--- stderr ---
[WARN] Running in staging environment mode
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_visual-editing' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json
at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)
--------------
❯ Object.<anonymous> ../../../~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157
❯ ChildProcess.<anonymous> test/shared/environment.ts:164:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 1, stdout: '', stderr: '[WARN] Running in staging environment mode\n\n\nError [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath \'./_visual-editing\' is not defined by "exports" in /home/runner/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/ui/package.json\n at Object.<anonymous> (~/work/sanity/sanity/node_modules/.pnpm/@sanity[email protected]_@[email protected]_@sanity+types@packages+@sanity+types_r_blvpkbyrdcvupus7m5nhutrgre/node_modules/@sanity/insert-menu/dist/index.cjs:3:157)\n' }
|
Loading