Untitled

mail@pastecode.io avatar
unknown
powershell
a year ago
2.4 kB
2
Indexable
PS V:\My Drive\Documents\Code\Repositories\online\sanitytest> npm create sanity@latest -- --template get-started --project rz8frayj --dataset production --provider sanity
The `sanity` module is not installed in current project
Project-specific commands not available until you run `npm install`
You're setting up a new project!
We'll make sure you have an account with Sanity.io. Then we'll
install an open-source JS content editor that connects to
the real-time hosted API on Sanity.io. Hang on.

Press ctrl + C at any time to quit.

Prefer web interfaces to terminals?
You can also set up best practice Sanity projects with
your favorite frontends on https://www.sanity.io/templates

Looks like you already have a Sanity-account. Sweet!

✔ Fetching existing projects
? Select project to use Ryan Johnson [rz8frayj]
? Select dataset to use production
? Project output path: V:\My Drive\Documents\Code\Repositories\online\sanitytest\ryan-johnson
? Select project template Blog (schema)
? Do you want to use TypeScript? Yes
✔ Bootstrapping files from template
✔ Resolving latest module versions
✔ Creating default project files
? Package manager to use for installing dependencies? npm
Running 'npm install --legacy-peer-deps'
npm ERR! code ENOTDIR
npm ERR! syscall mkdir
npm ERR! path V:\My Drive\Documents\Code\Repositories\online\sanitytest\ryan-johnson\node_modules\eslint\node_modules
npm ERR! errno -4052
npm ERR! ENOTDIR: not a directory, mkdir 'V:\My Drive\Documents\Code\Repositories\online\sanitytest\ryan-johnson\node_modules\eslint\node_modules'

npm ERR! A complete log of this run can be found in: C:\Users\rjamd\AppData\Local\npm-cache\_logs\2023-08-08T02_30_53_005Z-debug-0.log

Error: Command failed with exit code 4294963244 (Unknown system error -4294963244): npm install --legacy-peer-deps
    at makeError$1 (C:/Users/rjamd/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/@sanity/cli/lib/_chunks/cli-f0037b46.js:1641:1417)
    at handlePromise (C:/Users/rjamd/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/@sanity/cli/lib/_chunks/cli-f0037b46.js:1721:959)
    at async installDeclaredPackages (C:/Users/rjamd/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/@sanity/cli/lib/_chunks/cli-f0037b46.js:1721:4682)
    at async initSanity (C:/Users/rjamd/AppData/Local/npm-cache/_npx/67a0730928194b24/node_modules/@sanity/cli/lib/_chunks/cli-f0037b46.js:17024:10577)