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
Currently, when I scaffold a new project with npm init, when the postinstall script runs, I get an error which blocks the installation.
node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit: Running postinstall script, failed in 585ms
.../node_modules/@sveltejs/kit postinstall$ node svelte-kit.js sync
│ > ENOENT: no such file or directory, open '/workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/│ at Object.openSync (node:fs:585:3)│ at Object.readFileSync (node:fs:453:35)│ at read_description (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/k│ at template (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src/c│ at write_ambient (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/│ at init (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src/core/│ at Module.all (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src│ at file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src/cli.js:56:1└─ Failed in 586ms ELIFECYCLE Command failed with exit code 1.
Reproduction
Create a new project with npm init, pnpm create, etc.
Install deps with npm i, pnpm i, yarn, etc.
See error
Logs
.../node_modules/@sveltejs/kit postinstall$ node svelte-kit.js sync
│ > ENOENT: no such file or directory, open '/workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/│ at Object.openSync (node:fs:585:3)│ at Object.readFileSync (node:fs:453:35)│ at read_description (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/k│ at template (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src/c│ at write_ambient (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/│ at init (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src/core/│ at Module.all (file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src│ at file:///workspaces/kamp-schedule/node_modules/.pnpm/@sveltejs+kit@1.0.0-next.452_fhgkwirxvgjw2igda6zmhiisma/node_modules/@sveltejs/kit/src/cli.js:56:1└─ Failed in 586ms ELIFECYCLE Command failed with exit code 1.
Describe the bug
Currently, when I scaffold a new project with
npm init
, when the postinstall script runs, I get an error which blocks the installation.Reproduction
npm init
,pnpm create
, etc.npm i
,pnpm i
,yarn
, etc.Logs
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: