Skip to content
Started by remote host 127.0.0.1
Running as SYSTEM
Building on the built-in node in workspace /var/lib/jenkins/workspace/erp-frontend-deploy-instance
The recommended git tool is: NONE
using credential younex1
Cloning the remote Git repository
Cloning repository https://github.com/younex1/erp-nuxt-frontend.git
 > git init /var/lib/jenkins/workspace/erp-frontend-deploy-instance # timeout=10
Fetching upstream changes from https://github.com/younex1/erp-nuxt-frontend.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.5'
using GIT_ASKPASS to set credentials Token Github
 > git fetch --tags --force --progress -- https://github.com/younex1/erp-nuxt-frontend.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/younex1/erp-nuxt-frontend.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
Checking out Revision cedd49d1ef03513a99128d8eab938399f83ab8ef (refs/remotes/origin/dev)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f cedd49d1ef03513a99128d8eab938399f83ab8ef # timeout=10
Commit message: "release app 1.0.68 (code 69): WMS app login only for mobile workers — corrects the unshipped 1.0.69 bump from the interrupted release run"
First time build. Skipping changelog.
[erp-frontend-deploy-instance] $ /bin/bash /tmp/jenkins17713423893642753621.sh
v22.22.3 is already installed.
== node v22.22.3 / npm 10.9.8 on jenkins, target 192.168.12.68, branch origin/dev cedd49d1ef03513a99128d8eab938399f83ab8ef
musterlager-demo
== npm ci
◆ Types generated in .nuxt.

added 1394 packages in 54s
== build (heap 10240 MB)
  ├─ .output/server/chunks/routes/chat/ws.mjs (8.51 kB) (2.64 kB gzip)
  ├─ .output/server/chunks/routes/manifest.json.get.mjs (3.43 kB) (1.17 kB gzip)
  ├─ .output/server/chunks/routes/renderer.mjs (25.1 kB) (8.46 kB gzip)
  ├─ .output/server/chunks/virtual/_raw-helpers.mjs (677 B) (393 B gzip)
  ├─ .output/server/chunks/virtual/entry.mjs (893 kB) (252 kB gzip)
  ├─ .output/server/chunks/virtual/precomputed.mjs (1.69 MB) (98 kB gzip)
  ├─ .output/server/chunks/virtual/styles.mjs (81.5 kB) (14.1 kB gzip)
  ├─ .output/server/index.mjs (1.63 kB) (640 B gzip)
  ├─ .output/server/package.json (8.33 kB) (2.65 kB gzip)
  └─ .output/server/sentry.server.config.mjs (2.14 kB) (929 B gzip)
Σ Total size: 165 MB (60.2 MB gzip)
[nitro] ✅ copied OCR/PDF runtime assets into .output/server/node_modules
[success] [nitro] You can preview this build using `node .output/server/index.mjs`
config 419ms · modules 1.16s · app 1.28s · types 3.11s · client 1m 47s · server 1m 36s · nitro 3m 41s
◆ ✨ Build complete in 7m 12s!
== native modules
rebuilt dependencies successfully
  verified: sqlite3 + better-sqlite3 load OK (controller)
== rsync to 192.168.12.68:/opt/erp-nuxt-frontend-incoming
== deploy on target
node:internal/modules/cjs/loader:1433
  throw err;
  ^

Error: Cannot find module './node_modules/sqlite3'
Require stack:
- /opt/erp-nuxt-frontend-incoming/.output/server/[eval]
    at Function._resolveFilename (node:internal/modules/cjs/loader:1430:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1040:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1045:22)
    at Function._load (node:internal/modules/cjs/loader:1216:25)
    at wrapModuleLoad (node:internal/modules/cjs/loader:254:19)
    at Module.require (node:internal/modules/cjs/loader:1527:12)
    at require (node:internal/modules/helpers:147:16)
    at [eval]:1:1
    at runScriptInThisContext (node:internal/vm:209:10)
    at node:internal/process/execution:446:12 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/opt/erp-nuxt-frontend-incoming/.output/server/[eval]' ]
}

Node.js v22.22.3
Build step 'Execute shell' marked build as failure
Finished: FAILURE