You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My failed deployment resulted from missing/undefined $NIXPACKS_PATH and incompatible node engine. Both are un-configurable on my end. Since I'm on the latest version of coolify I figured create an issue to echo the problem. Screenshot of the error log down below
Steps to Reproduce
Connect Coolify to Github App
Create Resource for one of the Next.js repo
Select Nixpacks as Build Pack (keeping the default config for port and everything else)
Hit the Deploy button and pray
Example Repository URL
No response
Coolify Version
v4.0.0-beta.389
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.10
Additional Information
No response
The text was updated successfully, but these errors were encountered:
ScorpyG
added
🐛 Bug
Reported issues that need to be reproduced by the team.
🔍 Triage
Issues that need assessment and prioritization.
labels
Jan 25, 2025
Have the exact same problem since yesterday with a Strapi instance. Tried #4871 (comment) but it didn't resolve the issue.
79.61 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-01-25T00_15_30_038Z-debug-0.log
------
1 warning found (use docker --debug to expand):
- UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
Dockerfile:20
--------------------
18 | ENV NIXPACKS_PATH=/app/node_modules/.bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=vko0coos8w8gkg4og8sg0oso-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 npm install --frozen-lockfile --ignore-engines --legacy-peer-deps
Hmm after digging around, one of my dependencies graphql-ws required node version >= 20 that is conflicted with the default node environment (v18.20.2) that was used by Nixpacks resulted in the error above. As stated in the error log so I added the minimum node version requirement into package.json as suggested by one of the Coolify community member.
Error Message and Logs
My failed deployment resulted from missing/undefined
$NIXPACKS_PATH
and incompatible node engine. Both are un-configurable on my end. Since I'm on the latest version of coolify I figured create an issue to echo the problem. Screenshot of the error log down belowSteps to Reproduce
Build Pack
(keeping the default config for port and everything else)Example Repository URL
No response
Coolify Version
v4.0.0-beta.389
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.10
Additional Information
No response
The text was updated successfully, but these errors were encountered: