galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.15k stars 170 forks source link

Build failed after upgrading node from 14.x to 15.x (docker - ubuntu) #457

Open PradeepNooney opened 3 years ago

PradeepNooney commented 3 years ago

23:00:20 npm notice 23:00:20 npm notice New minor version of npm available! 7.7.6 -> 7.10.0 23:00:20 npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.10.0 23:00:20 npm notice Run npm install -g npm@7.10.0 to update! 23:00:20 npm notice 23:00:20 npm ERR! code 1 23:00:20 npm ERR! path /home/idxuser/ui/node_modules/hummus 23:00:20 npm ERR! command failed 23:00:20 npm ERR! command sh -c node-pre-gyp install --fallback-to-build $EXTRA_NODE_PRE_GYP_FLAGS 23:00:20 npm ERR! make: Entering directory '/home/idxuser/ui/node_modules/hummus/build' 23:00:20 npm ERR! make: Entering directory '/home/idxuser/ui/node_modules/hummus/build' 23:00:20 npm ERR! CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o 23:00:20 npm ERR! CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o 23:00:20 npm ERR! src/deps/PDFWriter/pdfwriter.target.mk:258: recipe for target 'Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractContentContext.o' failed 23:00:20 npm ERR! make: Leaving directory '/home/idxuser/ui/node_modules/hummus/build' 23:00:20 npm ERR! CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/AbstractWrittenFont.o 23:00:20 npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/idxuser/ui/node_modules/hummus/binding/hummus.node --module_name=hummus --module_path=/home/idxuser/ui/node_modules/hummus/binding --napi_version=8 --node_abi_napi=napi' (1) 23:00:20 npm ERR! CXX(target) Release/obj.target/pdfwriter/src/deps/PDFWriter/ANSIFontWriter.o

julianhille commented 3 years ago

hummusjs is discontinued please try https://github.com/julianhille/Muhammarajs which gets updates from time to time.