Skip to content

Build failed #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ChristianFranke opened this issue Oct 16, 2020 · 0 comments
Open

Build failed #4

ChristianFranke opened this issue Oct 16, 2020 · 0 comments

Comments

@ChristianFranke
Copy link

ChristianFranke commented Oct 16, 2020

Unfortunately the build does not run through. At this step the build failed (development mode).

[main]      ---> 9712deb84257
[main]     Step 5/9 : RUN JOBS=MAX npm install -g node-gyp
[main]      ---> Running in bc61d54a3bb2
[main]     npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[main]     
[main]     npm WARN deprecated har-validator@5.1.5: this library is no longer supported
[main]     
[main]     /usr/local/bin/node-gyp -> /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js
[main]     + node-gyp@7.1.1
[main]     added 96 packages from 66 contributors in 5.272s
[main]     npm WARN notsup Unsupported engine for node-gyp@7.1.1: wanted: {"node":">= 10.12.0"} (current: {"node":"8.17.0","npm":"6.13.4"})
[main]     npm WARN notsup Not compatible with your version of node/npm: node-gyp@7.1.1
[main]     npm WARN notsup Unsupported engine for semver@7.3.2: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.13.4"})
[main]     npm WARN notsup Not compatible with your version of node/npm: semver@7.3.2
[main]     npm WARN notsup Unsupported engine for tar@6.0.5: wanted: {"node":">= 10"} (current: {"node":"8.17.0","npm":"6.13.4"})
[main]     npm WARN notsup Not compatible with your version of node/npm: tar@6.0.5
[main]     npm WARN notsup Unsupported engine for mkdirp@1.0.4: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.13.4"})
[main]     npm WARN notsup Not compatible with your version of node/npm: mkdirp@1.0.4
[main]     npm WARN notsup Unsupported engine for chownr@2.0.0: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.13.4"})
[main]     npm WARN notsup Not compatible with your version of node/npm: chownr@2.0.0
[main]     
[main]     Removing intermediate container bc61d54a3bb2
[main]      ---> bed49e531090
[main]     Step 6/9 : RUN JOBS=MAX npm install node-hid --build-from-source
[main]      ---> Running in 892aedd4141f
[main]     > node-hid@1.3.1 install /usr/src/app/node_modules/node-hid
[main]     > prebuild-install || node-gyp rebuild
[main]     /bin/sh: 1: pkg-config: not found
[main]     gyp: Call to 'pkg-config libusb-1.0 --cflags-only-I | sed s/-I//g' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
[main]     gyp ERR! configure error 
[main]     gyp ERR! stack Error: `gyp` failed with exit code: 1
[main]     gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
[main]     gyp ERR! stack     at emitTwo (events.js:126:13)
[main]     gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
[main]     gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
[main]     gyp ERR! System Linux 4.15.0-45-generic
[main]     gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
[main]     gyp ERR! cwd /usr/src/app/node_modules/node-hid
[main]     gyp ERR! node -v v8.17.0
[main]     gyp ERR! node-gyp -v v5.0.5
[main]     gyp ERR! not ok 
[main]     
[main]     npm WARN bagdeprint-service@1.0.0 No description
[main]     npm WARN bagdeprint-service@1.0.0 No repository field.
[main]     npm ERR! code ELIFECYCLE
[main]     npm ERR! errno 1
[main]     npm ERR! node-hid@1.3.1 install: `prebuild-install || node-gyp rebuild`
[main]     npm ERR! Exit status 1
[main]     npm ERR! 
[main]     npm ERR! Failed at the node-hid@1.3.1 install script.
[main]     npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[main]     npm ERR! A complete log of this run can be found in:
[main]     npm ERR!     /root/.npm/_logs/2020-10-16T15_47_01_813Z-debug.log
[main]     
[main]     Removing intermediate container 892aedd4141f
[main]     The command '/bin/sh -c JOBS=MAX npm install node-hid --build-from-source' returned a non-zero code: 1
[Info]     Uploading images
[Success]  Successfully uploaded images
[Error]    Some services failed to build:
[Error]      Service: main
[Error]        Error: The command '/bin/sh -c JOBS=MAX npm install node-hid --build-from-source' returned a non-zero code: 1
[Info]     Built on arm03
[Error]    Not deploying release.
Remote build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant