Skip to content

bug: Vercel Deploy Fail #962

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

Open
Jackiexiao opened this issue May 15, 2025 · 2 comments
Open

bug: Vercel Deploy Fail #962

Jackiexiao opened this issue May 15, 2025 · 2 comments
Assignees
Labels
bug Something isn't working status/wip

Comments

@Jackiexiao
Copy link

Jackiexiao commented May 15, 2025

Describe the bug

I click on Deploy Button on this page

https://github.com/logto-io/js/tree/3f8d42fbd0fda2f742b61424de029b891483c2be/packages/next-server-actions-sample

  1. this deploy link use next-sample, not next-server-actions-sample
    2.The documentation states RESOURCES | Optional, but during Vercel deployment, this field is actually required. Additionally, the example value is missing an opening bracket ([). The correct format should be:
    RESOURCES | Optional, the API resource identifier, split with comma | [http://localhost:3003/,http://localhost:3004/]"

This highlights both the required/optional inconsistency and the missing syntax.

  1. deploy failed,vercel log
[00:00:47.146] Running build in Washington, D.C., USA (East) – iad1
[00:00:47.146] Build machine configuration: 2 cores, 8 GB
[00:00:47.203] Cloning github.com/Jackiexiao/logto-js (Branch: main, Commit: 4cec373)
[00:00:47.607] Previous build caches not available
[00:00:48.714] Cloning completed: 1.510s
[00:00:49.310] Running "vercel build"
[00:00:49.702] Vercel CLI 41.7.3
[00:00:49.987] Installing dependencies...
[00:00:51.132] npm error code EUNSUPPORTEDPROTOCOL
[00:00:51.133] npm error Unsupported URL Type "workspace:": workspace:^
[00:00:51.134] npm error A complete log of this run can be found in: /vercel/.npm/_logs/2025-05-15T16_00_50_203Z-debug-0.log
[00:00:51.166] Error: Command "npm install" exited with 1
[00:00:51.401] 
[00:00:54.228] Exiting build container

Expected behavior

Depoly successfully

How to reproduce?

Just Click Deploy on this page : https://github.com/logto-io/js/tree/3f8d42fbd0fda2f742b61424de029b891483c2be/packages/next-server-actions-sample

Environment

Logto Cloud

Screenshots

No response

@Jackiexiao Jackiexiao added the bug Something isn't working label May 15, 2025
@wangsijie wangsijie self-assigned this May 16, 2025
@wangsijie
Copy link
Contributor

Thanks for pointing out, will take a look

@Jackiexiao
Copy link
Author

any progress?

@gao-sun gao-sun added the status/wip label May 22, 2025 — with Linear
wangsijie added a commit that referenced this issue May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status/wip
Development

No branches or pull requests

3 participants