Skip to content
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

Can't npm install #3

Open
ozbillwang opened this issue Jul 14, 2018 · 0 comments
Open

Can't npm install #3

ozbillwang opened this issue Jul 14, 2018 · 0 comments

Comments

@ozbillwang
Copy link

ozbillwang commented Jul 14, 2018

Hi @TimZeng

Is this project still active?

I run npm install, it failed directly. I fork it, add a Dockerfile and run automation build command in Hub.docker.com, got the similar error.

Could you take a look? My feeling is, this OSS doesn't test with latest node versions, such as v8 or v10. If can, please let me know which node version it supported.

https://hub.docker.com/r/ozbillwang/pdf-editor/builds/bybztphmd33xpumsm72gkn3/


Step 4/5 : RUN npm install


 ---> Running in 42f023cf4087
> hummus@1.0.83 install /apps/node_modules/hummus
> node-pre-gyp install --fallback-to-build


�[91mnode-pre-gyp ERR! Tried to download(404): https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.83/node-v64-linux-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for hummus@1.0.83 and node@10.6.0 (node-v64 ABI) (falling back to source compile with node-gyp) 
�[0m
�[91mnode-pre-gyp ERR! Tried to download(undefined): https://hummus.s3-us-west-2.amazonaws.com/hummus/v1.0.83/node-v64-linux-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for hummus@1.0.83 and node@10.6.0 (node-v64 ABI) (falling back to source compile with node-gyp) 
�[0m
make: Entering directory '/apps/node_modules/hummus/build'
  ACTION Regenerating Makefile

  CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o

make: Entering directory '/apps/node_modules/hummus/build'
  CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o

  CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractWrittenFont.o

  CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractWrittenFont.o

  CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/ANSIFontWriter.o

�[91msed: can't read ./Release/.deps/Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractWrittenFont.o.d.raw: No such file or directory
�[0m
�[91mrm: cannot remove './Release/.deps/Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractWrittenFont.o.d.raw': No such file or directory
make: *** [Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractWrittenFont.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 4.4.0-1060-aws
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/apps/node_modules/hummus/binding/hummus.node" "--module_name=hummus" "--module_path=/apps/node_modules/hummus/binding"
gyp ERR! cwd /apps/node_modules/hummus
gyp ERR! node -v v10.6.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/apps/node_modules/hummus/binding/hummus.node --module_name=hummus --module_path=/apps/node_modules/hummus/binding' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/apps/node_modules/hummus/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
�[0m
src/deps/PDFWriter/pdfwriter.target.mk:241: recipe for target 'Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractWrittenFont.o' failed
make: Leaving directory '/apps/node_modules/hummus/build'

Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/apps/node_modules/hummus/binding/hummus.node --module_name=hummus --module_path=/apps/node_modules/hummus/binding' (1)

�[91mnode-pre-gyp ERR! System Linux 4.4.0-1060-aws
node-pre-gyp ERR! command "/usr/local/bin/node" "/apps/node_modules/hummus/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /apps/node_modules/hummus
node-pre-gyp ERR! node -v v10.6.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.38
node-pre-gyp ERR! not ok 
�[0m
�[91mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

�[0m
�[91mnpm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hummus@1.0.83 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the hummus@1.0.83 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
�[0m
�[91m
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-07-14T06_45_50_488Z-debug.log
�[0m
Removing intermediate container 42f023cf4087

The command '/bin/sh -c npm install' returned a non-zero code: 1
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