Build faild

Issue #1161 resolved
Dominik Fröhlich created an issue

Hallo zusammen,

leider funktioniert der build Prozess bei uns wieder nicht. Bei Versuch die 2.43.0 (vanilla) zu bauen crasht

npm run build

mit

npm run build

> masterportal@2.43.0 build
> node devtools/tasks/build.js

? Pfad zum Ordner mit Portalen ausgehend von "[...]/masterportal/": portal
? Name des Addons, das nicht ins bundle soll: 
NOTICE: Building portals. Please wait...
ChildProcessError: Command failed: cross-env EXCLUDE_ADDON= webpack --config devtools/webpack.prod.js
 `cross-env EXCLUDE_ADDON= webpack --config devtools/webpack.prod.js` (exited with error code 1)
    at callback (/home/dom/Dokumente/StadtFreiburg/masterportal/2_43_0/masterportal/node_modules/child-process-promise/lib/index.js:33:27)
    at ChildProcess.exithandler (node:child_process:430:5)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
  code: 1,
  childProcess: {
    _forkChild: [Function: _forkChild],
    ChildProcess: [Function: ChildProcess],
    exec: [Function: exec],
    execFile: [Function: execFile],
    execFileSync: [Function: execFileSync],
    execSync: [Function: execSync],
    fork: [Function: fork],
    spawn: [Function: spawn],
    spawnSync: [Function: spawnSync]
  },
  stdout: '',
  stderr: ''
}

Der workaround aus issue 1113 bringt hier leider keine Änderung.

Zum Thema vanilla: Fast vanilla. Das mod canvas muss ich wie immer raus werfen. Sonst scheitert bereits npm install. Das war in der Vergangenheit allerdings kein Problem.

Getestet habe ich auf folgenden dev instanzen mit gleichem Fehlerbild.

geodev4: Ubuntu 22.04 LTS mit node 20.12.1 und npm 10.5.0

domslappi3: Ubuntu 23.10 mit node 20.12.1 und npm 10.5.0

Gruß

Dominik

EDIT: Betrifft auch die 2.44.0

Comments (5)

  1. Dominik Fröhlich reporter

    Mit einer apt Version von nodesource.com läuft der build. Das Problem scheint die snap sandbox zu sein. Das Ticket kann geschlossen werden.

  2. Log in to comment