You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pnpx sanity dataset import ./dataset.ndjson i get the error
Error: unexpected EOF
at onResponse (~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/@[email protected]/node_modules/@sanity/cli/lib/_chunks/loadEnv-Dw13xQgn.js:1215:13)
at applyMiddleware (~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/[email protected]/node_modules/get-it/dist/index.cjs:59:13)
at onResponse (~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/[email protected]/node_modules/get-it/dist/index.cjs:103:22)
at ~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/[email protected]/node_modules/get-it/dist/index.cjs:130:55
at callback (~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/[email protected]/node_modules/get-it/dist/index.cjs:485:46)
at ~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/[email protected]/node_modules/get-it/dist/index.cjs:548:14
at DestroyableTransform.<anonymous> (~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/[email protected]/node_modules/get-it/dist/index.cjs:261:13)
at Object.onceWrapper (node:events:633:28)
at DestroyableTransform.emit (node:events:531:35)
at endReadableNT (~/Library/pnpm/store/v3/tmp/dlx-1033/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
When importing documents.
To Reproduce
Run pnpx sanity dataset import ./dataset.ndjson on a very long ndjson file
Expected behavior
A clear and concise description of what you expected to happen.
Which versions of Sanity are you using?
@sanity/cli (global) 3.24.1 (up to date)
@sanity/eslint-config-studio 3.0.1 (up to date)
@sanity/vision 3.24.1 (up to date)
sanity 3.24.1 (up to date)
What operating system are you using? macOS Ventura 13.4.6
Describe the bug
When running
pnpx sanity dataset import ./dataset.ndjson
i get the errorWhen importing documents.
To Reproduce
Run
pnpx sanity dataset import ./dataset.ndjson
on a very long ndjson fileExpected behavior
A clear and concise description of what you expected to happen.
Which versions of Sanity are you using?
@sanity/cli (global) 3.24.1 (up to date)
@sanity/eslint-config-studio 3.0.1 (up to date)
@sanity/vision 3.24.1 (up to date)
sanity 3.24.1 (up to date)
What operating system are you using? macOS Ventura 13.4.6
Which versions of Node.js / npm are you running?
pnpm: 8.11.0 & npm@latest (tried both)
node: 21.4 & 18 (tried both)
Additional context
Might be related to the huge size of the dataset (more than 10k documents)
The text was updated successfully, but these errors were encountered: