Hey guys, I’m trying to build a n8n service deploying from github and being blocked by this error. Exited with status 1 while running your code.
I couldn’t identify the issue, but it seems to be related to this log:
@n8n/json-schema-to-zod:build:
@n8n/json-schema-to-zod:build: > @n8n/json-schema-to-zod@1.3.0 build:cjs /opt/render/project/src/packages/@n8n/json-schema-to-zod
@n8n/json-schema-to-zod:build: > tsc -p tsconfig.cjs.json && node postcjs.js
@n8n/json-schema-to-zod:build:
@n8n/chat:build: src/components/Message.vue:108:14 - error TS2774: This condition will always return true since this function is always defined. Did you mean to call it instead?
@n8n/chat:build:
@n8n/chat:build: 108 <div v-if="$slots.beforeMessage" class="chat-message-actions">
@n8n/chat:build: ~~~~~~~~~~~~~~~~~~~~
@n8n/chat:build:
This error apears again here:
n8n-nodes-base:build:
n8n-node-dev:build:
n8n-node-dev:build: > n8n-node-dev@1.83.0 build /opt/render/project/src/packages/node-dev
n8n-node-dev:build: > tsc --noEmit
n8n-node-dev:build:
@n8n/chat:build: src/components/Message.vue:108:14 - error TS2774: This condition will always return true since this function is always defined. Did you mean to call it instead?
@n8n/chat:build:
@n8n/chat:build: 108 <div v-if="$slots.beforeMessage" class="chat-message-actions">
@n8n/chat:build: ~~~~~~~~~~~~~~~~~~~~
@n8n/chat:build:
It also showed all this warnings:
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:95855:50: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:95857:50: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:95858:50: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:95859:50: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:95860:50: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:204385:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208625:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208626:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208627:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208628:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208635:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208636:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208637:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:208638:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207746:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207748:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207750:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207752:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207761:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207763:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207765:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
.../sqlite3@5.1.7/node_modules/sqlite3 install: Release/obj/gen/sqlite-autoconf-3440200/sqlite3.c:207767:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
@n8n/chat:build: ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
@n8n/chat:build: ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
n8n:build: WARN Unsupported engine: wanted: {"node":">=18.17 <= 22"} (current: {"node":"v23.10.0","pnpm":"10.2.1"})
n8n:build: WARN Unsupported engine: wanted: {"node":">=18.17 <= 22"} (current: {"node":"v23.10.0","pnpm":"10.2.1"})
n8n:build: WARN Unsupported engine: wanted: {"node":">=18.17 <= 22"} (current: {"node":"v23.10.0","pnpm":"10.2.1"})
n8n:build: WARN Unsupported engine: wanted: {"node":">=18.17 <= 22"} (current: {"node":"v23.10.0","pnpm":"10.2.1"})
n8n:build: WARN Unsupported engine: wanted: {"node":">=18.17 <= 22"} (current: {"node":"v23.10.0","pnpm":"10.2.1"})