Hi,
I am trying to build a Vaadin 14 application on a bamboo server running on Centos 7.
I am getting the following error and I am not sure what to do to fix it. This builds fine on my workstation.
This is the last few lines for the npm debug log.
25620 warn notsup Unsupported engine for watchpack-chokidar2@2.0.0: wanted: {"node":"<8.10.0"} (current: {"node":"12.18.3","npm":"6.14.6"})
25621 warn notsup Not compatible with your version of node/npm: watchpack-chokidar2@2.0.0
25622 verbose notsup Not compatible with your version of node/npm: watchpack-chokidar2@2.0.0
25622 verbose notsup Required: {"node":"<8.10.0"}
25622 verbose notsup Actual: {"npm":"6.14.6","node":"12.18.3"}
25623 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
25624 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
25625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
25625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
25625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
25625 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
25626 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
25627 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
25628 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
25628 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
25628 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
25628 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
25629 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/@babel/cli/node_modules/chokidar/node_modules/fsevents):
25630 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
25631 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
25631 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
25631 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
25631 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
25632 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
25633 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
25634 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
25634 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
25634 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
25634 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
25635 warn no-name@ No description
25636 warn no-name@ No repository field.
25637 verbose stack Error: @vaadin/vaadin-usage-statistics@2.1.0 postinstall: `node check.js`
25637 verbose stack Exit status 1
25637 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
25637 verbose stack at EventEmitter.emit (events.js:315:20)
25637 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
25637 verbose stack at ChildProcess.emit (events.js:315:20)
25637 verbose stack at maybeClose (internal/child_process.js:1021:16)
25637 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
25638 verbose pkgid @vaadin/vaadin-usage-statistics@2.1.0
25639 verbose cwd /var/atlassian/application-data/bamboo/xml-data/build-dir_12/SOSBC-AWA-JOB1
25640 verbose Linux 3.10.0-1062.7.1.el7.x86_64
25641 verbose argv "/usr/bin/node" "/bin/npm" "--no-update-notifier" "--no-audit" "install"
25642 verbose node v12.18.3
25643 verbose npm v6.14.6
25644 error code ELIFECYCLE
25645 error errno 1
25646 error @vaadin/vaadin-usage-statistics@2.1.0 postinstall: `node check.js`
25646 error Exit status 1
25647 error Failed at the @vaadin/vaadin-usage-statistics@2.1.0 postinstall script.