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

Vercel Building失败 #6

Closed
leeyiding opened this issue Sep 6, 2023 · 2 comments · Fixed by lobehub/chat-plugin-sdk#14
Closed

Vercel Building失败 #6

leeyiding opened this issue Sep 6, 2023 · 2 comments · Fixed by lobehub/chat-plugin-sdk#14
Assignees
Labels
bug Something isn't working

Comments

@leeyiding
Copy link

报错信息

[19:41:39.573] Running build in Washington, D.C., USA (East) – iad1
[19:41:39.693] Cloning github.com/leeyiding/chat-plugins-gateway (Branch: main, Commit: d62941a)
[19:41:39.701] Skipping build cache, deployment was triggered without cache.
[19:41:39.931] Cloning completed: 237.662ms
[19:41:40.148] Running "vercel build"
[19:41:40.645] Vercel CLI 32.1.0
[19:41:41.588] Installing dependencies...
[19:41:41.877] yarn install v1.22.17
[19:41:41.917] info No lockfile found.
[19:41:41.923] [1/4] Resolving packages...
[19:41:45.393] warning @lobehub/lint > @umijs/lint > @stylelint/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[19:41:51.377] warning father > @umijs/bundler-webpack > fork-ts-checker-webpack-plugin > [email protected]: this will be v4
[19:41:51.692] warning father > @microsoft/api-extractor > @rushstack/node-core-library > [email protected]: has issues with node 14
[19:41:51.752] warning father > @umijs/bundler-webpack > @svgr/plugin-svgo > svgo > [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
[19:41:54.057] warning vercel > @vercel/remix-builder > @remix-run/dev > cacache > @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
[19:41:54.869] warning vercel > @vercel/remix-builder > @remix-run/dev > @esbuild-plugins/node-modules-polyfill > rollup-plugin-node-polyfills > [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
[19:41:55.079] warning vercel > @vercel/remix-builder > @remix-run/dev > @esbuild-plugins/node-modules-polyfill > rollup-plugin-node-polyfills > rollup-plugin-inject > magic-string > [email protected]: Please use @jridgewell/sourcemap-codec instead
[19:41:55.155] warning vercel > @vercel/remix-builder > @remix-run/dev > proxy-agent > pac-proxy-agent > pac-resolver > degenerator > [email protected]: The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued. Consider migrating your code to isolated-vm.
[19:41:56.266] [2/4] Fetching packages...
[19:42:25.166] [3/4] Linking dependencies...
[19:42:25.168] warning " > @lobehub/[email protected]" has unmet peer dependency "react@^18".
[19:42:25.170] warning "@lobehub/lint > [email protected]" has unmet peer dependency "postcss@^8.3.5".
[19:42:25.171] warning "@lobehub/lint > [email protected]" has unmet peer dependency "postcss@^8.4.21".
[19:42:25.171] warning "@lobehub/lint > [email protected]" has unmet peer dependency "stylelint@^15.10.0".
[19:42:25.171] warning "@lobehub/lint > [email protected]" has unmet peer dependency "postcss@^8.4.14".
[19:42:25.172] warning "@lobehub/lint > [email protected]" has unmet peer dependency "stylelint@^15.10.3".
[19:42:25.172] warning "@lobehub/lint > [email protected]" has unmet peer dependency "stylelint@^14.0.0 || ^15.0.0".
[19:42:25.172] warning "@lobehub/lint > [email protected]" has unmet peer dependency "stylelint@>=14".
[19:42:25.173] warning "@lobehub/lint > @umijs/lint > [email protected]" has unmet peer dependency "stylelint@^14.4.0".
[19:42:25.173] warning "@lobehub/lint > @umijs/lint > stylelint-config-standard > [email protected]" has unmet peer dependency "stylelint@^14.4.0".
[19:42:25.173] warning "@lobehub/lint > @umijs/babel-preset-umi > [email protected]" has unmet peer dependency "styled-components@>= 2".
[19:42:25.174] warning "@lobehub/lint > semantic-release-config-gitmoji > @semantic-release/github > @octokit/[email protected]" has unmet peer dependency "@octokit/core@^3.5.0".
[19:42:25.175] warning "father > @umijs/bundler-webpack > @pmmmwh/[email protected]" has unmet peer dependency "webpack@>=4.43.0 <6.0.0".
[19:42:25.175] warning "father > @umijs/bundler-webpack > [email protected]" has unmet peer dependency "webpack@^5.0.0".
[19:42:25.176] warning "father > @umijs/bundler-webpack > [email protected]" has unmet peer dependency "webpack@^5.11.0".
[19:42:25.266] warning Workspaces can only be enabled in private projects.
[19:42:49.341] [4/4] Building fresh packages...
[19:42:52.124] success Saved lockfile.
[19:42:52.130] $ husky install
[19:42:52.211] husky - Git hooks installed
[19:42:52.215] Done in 70.34s.
[19:42:52.276] Running "yarn run build"
[19:42:52.477] yarn run v1.22.17
[19:42:52.522] $ father build
[19:42:54.135] info  - Clean output directories
[19:42:54.136] info  - Bundless for src directory to cjs format
[19:42:54.191] event - Bundless src/cors.ts to dist/cors.js (with declaration)
[19:42:54.198] event - Bundless src/index.ts to dist/index.js (with declaration)
[19:42:54.198] event - Generate declaration files...
[19:42:55.934] event - Transformed successfully in 1797 ms (2 files)
[19:42:56.022] Done in 3.55s.
[19:42:56.350] Using TypeScript 5.2.2 (local user-provided)
[19:42:58.625] Using TypeScript 5.2.2 (local user-provided)
[19:42:58.645] Build Completed in /vercel/output [1m]
[19:42:58.820] Deploying outputs...
[19:42:59.493] Error: The Edge Function "api/v1/runner" is referencing unsupported modules:
[19:42:59.493] 	- @lobehub: react
@arvinxx
Copy link
Contributor

arvinxx commented Sep 6, 2023

发现了,我们修下

@arvinxx arvinxx self-assigned this Sep 6, 2023
@arvinxx arvinxx added the bug Something isn't working label Sep 6, 2023
@arvinxx
Copy link
Contributor

arvinxx commented Sep 6, 2023

@leeyiding

fixed with @lobehub/[email protected] ,重新部署下即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants