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

[BUG] Build Failed Vercel #1499

Closed
5 tasks done
frayglsm opened this issue Mar 6, 2024 · 6 comments
Closed
5 tasks done

[BUG] Build Failed Vercel #1499

frayglsm opened this issue Mar 6, 2024 · 6 comments
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working 🔨 Fixed 🕸️ Inactive 🛑 No Response [ISSUE] Response was requested, but has not been provided

Comments

@frayglsm
Copy link

frayglsm commented Mar 6, 2024

Environment

Cloud Service (Static)

System

Edge 122

Version

2.1.2

Describe the problem

Hi! Trying to deploy dashy to Vercel and during the process an error occurs, log:

ALL LOG:
[10:37:11.977] Running build in Washington, D.C., USA (East) – iad1
[10:37:12.119] Cloning github.com/frayglsm/dashy (Branch: master, Commit: 3c5531d)
[10:37:12.597] Previous build cache not available
[10:37:14.515] Cloning completed: 2.396s
[10:37:14.993] Running "vercel build"
[10:37:15.465] Vercel CLI 33.5.3
[10:37:16.166] Warning: Detected "engines": { "node": ">=16.0.0 <21.6.2" } in your package.json that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
[10:37:16.170] Installing dependencies...
[10:37:16.493] yarn install v1.22.17
[10:37:16.930] [1/5] Validating package.json...
[10:37:16.934] [2/5] Resolving packages...
[10:37:17.471] [3/5] Fetching packages...
[10:37:34.637] error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.18.2"
[10:37:34.650] error Found incompatible module.
[10:37:34.650] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[10:37:34.678] Error: Command "yarn install" exited with 1
[10:37:35.298]

ERRORS:
[10:37:11.977] Running build in Washington, D.C., USA (East) – iad1
[10:37:12.119] Cloning github.com/frayglsm/dashy (Branch: master, Commit: 3c5531d)
[10:37:12.597] Previous build cache not available
[10:37:14.515] Cloning completed: 2.396s
[10:37:14.993] Running "vercel build"
[10:37:15.465] Vercel CLI 33.5.3
[10:37:16.166] Warning: Detected "engines": { "node": ">=16.0.0 <21.6.2" } in your package.json that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
[10:37:16.170] Installing dependencies...
[10:37:16.493] yarn install v1.22.17
[10:37:16.930] [1/5] Validating package.json...
[10:37:16.934] [2/5] Resolving packages...
[10:37:17.471] [3/5] Fetching packages...
[10:37:34.637] error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.18.2"
[10:37:34.650] error Found incompatible module.
[10:37:34.650] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[10:37:34.678] Error: Command "yarn install" exited with 1
[10:37:35.298]

Warnings (1):
[10:37:11.977] Running build in Washington, D.C., USA (East) – iad1
[10:37:12.119] Cloning github.com/frayglsm/dashy (Branch: master, Commit: 3c5531d)
[10:37:12.597] Previous build cache not available
[10:37:14.515] Cloning completed: 2.396s
[10:37:14.993] Running "vercel build"
[10:37:15.465] Vercel CLI 33.5.3
[10:37:16.166] Warning: Detected "engines": { "node": ">=16.0.0 <21.6.2" } in your package.json that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
[10:37:16.170] Installing dependencies...
[10:37:16.493] yarn install v1.22.17
[10:37:16.930] [1/5] Validating package.json...
[10:37:16.934] [2/5] Resolving packages...
[10:37:17.471] [3/5] Fetching packages...
[10:37:34.637] error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.18.2"
[10:37:34.650] error Found incompatible module.
[10:37:34.650] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[10:37:34.678] Error: Command "yarn install" exited with 1
[10:37:35.298]

Additional info

No response

Please tick the boxes

@frayglsm frayglsm added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Mar 6, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Dashy V3 Mar 6, 2024
@Lissy93
Copy link
Owner

Lissy93 commented Mar 6, 2024

I got it working with the following Vercel settings:

build command: NODE_OPTIONS=--openssl-legacy-provider yarn build
install command: yarn install --ignore-engines

image

@CrazyWolf13

This comment was marked as outdated.

@CrazyWolf13

This comment was marked as outdated.

@CrazyWolf13
Copy link
Collaborator

Got it working as well with those commands.

@CrazyWolf13 CrazyWolf13 added 🚏 Awaiting User Response [ISSUE] Response from original author is pending 🛑 No Response [ISSUE] Response was requested, but has not been provided 🔨 Fixed labels Mar 18, 2024
@liss-bot
Copy link
Collaborator

Issue closed due to no response from user.

@github-project-automation github-project-automation bot moved this from Awaiting Triage to Done in Dashy V3 Mar 22, 2024
@liss-bot liss-bot removed the 🚏 Awaiting User Response [ISSUE] Response from original author is pending label Mar 22, 2024
@Lissy93
Copy link
Owner

Lissy93 commented Mar 26, 2024

The Vercel build issue on the repo has now also been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working 🔨 Fixed 🕸️ Inactive 🛑 No Response [ISSUE] Response was requested, but has not been provided
Projects
Status: Done
Development

No branches or pull requests

4 participants