[Question]: deploy failed, whiy? #1676
Unanswered
fanzeng663
asked this question in
Troubleshooting
Replies: 1 comment
-
Try using the image generated from Dockerfile.multi which handles resolving the librechat-data-provider package. And if you get it working on vercel, please share your setup! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is your question?
when deploy to Vercel, shown:
[14:23:52.601] Running build in Washington, D.C., USA (East) – iad1
[14:23:52.690] Cloning github.com/fanzeng663/LibreChat (Branch: main, Commit: f7f7f92)
[14:23:53.041] Previous build cache not available
[14:23:53.276] Cloning completed: 585.565ms
[14:23:53.646] Running "vercel build"
[14:23:54.143] Vercel CLI 33.2.0
[14:23:54.871] Installing dependencies...
[14:24:09.064]
[14:24:09.065] > LibreChat@0.6.6 prepare
[14:24:09.065] > node config/prepare.js
[14:24:09.065]
[14:24:11.211] stdout:
[14:24:11.211] stderr: npm WARN exec The following package was not found and will be installed: husky@9.0.7
[14:24:11.211] install command is deprecated
[14:24:11.211]
[14:24:11.229]
[14:24:11.229] added 1219 packages in 16s
[14:24:11.230]
[14:24:11.230] 301 packages are looking for funding
[14:24:11.230] run
npm fund
for details[14:24:11.276] Detected
package-lock.json
generated by npm 7+[14:24:11.276] Running "npm run build"
[14:24:11.702]
[14:24:11.702] > @librechat/frontend@0.6.6 build
[14:24:11.702] > cross-env NODE_ENV=production vite build
[14:24:11.702]
[14:24:12.082] �[36mvite v5.0.12 �[32mbuilding for production...�[36m�[39m
[14:24:12.113] transforming...
[14:24:15.252] �[32m✓�[39m 64 modules transformed.
[14:24:15.252] �[31m[commonjs--resolver] Failed to resolve entry for package "librechat-data-provider". The package may have incorrect main/module/exports specified in its package.json.�[39m
[14:24:15.259] �[31merror during build:
[14:24:15.259] Error: Failed to resolve entry for package "librechat-data-provider". The package may have incorrect main/module/exports specified in its package.json.
[14:24:15.259] at packageEntryFailure (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29443:17)
[14:24:15.259] at resolvePackageEntry (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29440:5)
[14:24:15.259] at tryNodeResolve (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29210:20)
[14:24:15.259] at Object.resolveId (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:28978:28)
[14:24:15.259] at file:///vercel/path0/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:18621:40
[14:24:15.260] at async PluginDriver.hookFirstAndGetPlugin (file:///vercel/path0/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:18521:28)
[14:24:15.260] at async resolveId (file:///vercel/path0/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:17190:26)
[14:24:15.260] at async ModuleLoader.resolveId (file:///vercel/path0/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:17604:15)
[14:24:15.260] at async Object.resolveId (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:8141:10)
[14:24:15.260] at async PluginDriver.hookFirstAndGetPlugin (file:///vercel/path0/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:18521:28)�[39m
[14:24:15.280] npm ERR! Lifecycle script
build
failed with error:[14:24:15.280] npm ERR! Error: command failed
[14:24:15.280] npm ERR! in workspace: @librechat/frontend@0.6.6
[14:24:15.281] npm ERR! at location: /vercel/path0/client
[14:24:15.290] Error: Command "npm run build" exited with 1
[14:24:15.600]
More Details
what should I do to solve this problem?
What is the main subject of your question?
Installation
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions