Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error /vercel/path0/node_modules/@sveltejs/kit: Command failed. #3

Open
zhangdudu0 opened this issue Apr 13, 2023 · 0 comments
Open

Comments

@zhangdudu0
Copy link

zhangdudu0 commented Apr 13, 2023

[14:48:41.676] Running build in Cleveland, USA (East) – cle1
[14:48:41.734] Cloning github.com/zhangdudu0/JianYueLinks (Branch: main, Commit: b29968e)
[14:48:41.975] Previous build cache not available
[14:48:42.217] Cloning completed: 482.714ms
[14:48:42.328] Running "vercel build"
[14:48:42.740] Vercel CLI 28.18.5
[14:48:43.317] Installing dependencies...
[14:48:43.577] yarn install v1.22.17
[14:48:43.596] info No lockfile found.
[14:48:43.601] [1/4] Resolving packages...
[14:48:48.922] [2/4] Fetching packages...
[14:48:51.358] [3/4] Linking dependencies...
[14:48:51.359] warning " > @sveltejs/kit@1.0.0-next.589" has unmet peer dependency "vite@^4.0.0".
[14:48:51.360] warning "@sveltejs/kit > @sveltejs/vite-plugin-svelte@2.0.4" has unmet peer dependency "vite@^4.0.0".
[14:48:52.629] [4/4] Building fresh packages...
[14:48:52.727] error /vercel/path0/node_modules/@sveltejs/kit: Command failed.
[14:48:52.727] Exit code: 1
[14:48:52.727] Command: node postinstall.js
[14:48:52.727] Arguments: 
[14:48:52.727] Directory: /vercel/path0/node_modules/@sveltejs/kit
[14:48:52.727] Output:
[14:48:52.727] node:internal/errors:491
[14:48:52.727]     ErrorCaptureStackTrace(err);
[14:48:52.728]     ^
[14:48:52.728] 
[14:48:52.728] Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vite' imported from /vercel/path0/node_modules/@sveltejs/kit/src/exports/vite/utils.js
[14:48:52.728]     at new NodeError (node:internal/errors:400:5)
[14:48:52.728]     at moduleResolve (node:internal/modules/esm/resolve:938:20)
[14:48:52.728]     at defaultResolve (node:internal/modules/esm/resolve:1153:11)
[14:48:52.728]     at nextResolve (node:internal/modules/esm/loader:163:28)
[14:48:52.728]     at ESMLoader.resolve (node:internal/modules/esm/loader:842:30)
[14:48:52.728]     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
[14:48:52.729]     at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
[14:48:52.729]     at link (node:internal/modules/esm/module_job:76:36) {
[14:48:52.729]   code: 'ERR_MODULE_NOT_FOUND'
[14:48:52.730] }
[14:48:52.730] 
[14:48:52.730] Node.js v18.13.0
[14:48:52.730] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[14:48:52.752] Error: Command "yarn install" exited with 1
[14:48:53.495] Deployment completed
[14:48:53.106] BUILD_UTILS_SPAWN_1: Command "yarn install" exited with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant