HummusJS icon indicating copy to clipboard operation
HummusJS copied to clipboard

warning "[email protected]" is missing a bundled dependency "node-pre-gyp".

Open PaulMest opened this issue 4 years ago • 14 comments

Got this in my latest yarn install:

warning "[email protected]" is missing a bundled dependency "node-pre-gyp". This should be reported to the package maintainer.

Os: macOS Catalina Node: v12.13.0

PaulMest avatar Nov 11 '19 20:11 PaulMest

I'm getting the same warning. Could we resolve this issue?

linusphan avatar Nov 27 '19 21:11 linusphan

Hi @galkahana,

are you looking for new maintainers to take over the project or is it best if I create a fork?

DanielRuf avatar Nov 28 '19 14:11 DanielRuf

did anyone figure out a solution to this issue?

quinn-diesel avatar Jan 06 '20 05:01 quinn-diesel

You can optionally add / install node-pre-gyp.

DanielRuf avatar Jan 06 '20 06:01 DanielRuf

Just do an npm install

Kodiakkb avatar Jan 29 '20 11:01 Kodiakkb

Just do an npm install

This is the same like yarn install.

DanielRuf avatar Jan 29 '20 13:01 DanielRuf

sweet cheers guys. forgot to post but we ended up bumping our node version back to 10.0.17 and that did the trick for now.

quinn-diesel avatar Feb 04 '20 02:02 quinn-diesel

This is just a workaround, not a longterm solution.

DanielRuf avatar Feb 04 '20 05:02 DanielRuf

Seems this is a known problem. It has to be bundled with the release or added as normal dependency.

DanielRuf avatar Feb 04 '20 05:02 DanielRuf

I'm having the same problem. Started happening after change the servers and upgrade the NodeJS version of the Stable 12.16.1 for 13.10.1. As @DanielRuf said we need to find a long term support fix for this, the author will not help, because it end support.

Any ideas?

Felipedelima123 avatar Mar 09 '20 17:03 Felipedelima123

Thx @Felipedelima123, you just saved my project... definilty not the best solution but will do the trick for some months... Somebody need to do a fork and manage at least the dependencies :) I fixed it by running that command npm install [email protected]

IMarty avatar Mar 24 '20 13:03 IMarty

It seems like this fork https://github.com/julianhille/muhammarajs at least builds with Node v14 and does not show a warning. I have no affiliation with the project or author. So I don't know the quality of the fork or how maintained that fork will be over time.

PaulMest avatar Jul 03 '20 21:07 PaulMest

hello , Build failed after upgrading node from 14.x to 15.x (docker - ubuntu) getting below error. Can anyone please help me in this. #17 191.0 npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local<Context> context, #17 191.0 npm ERR! ^~~ #17 191.0 npm ERR! In file included from ../src/hummus.cpp:23:0: #17 191.0 npm ERR! ../src/nodes.h:93:51: warning: ignoring return value of 'v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)', declared with attribute warn_unused_result [-Wunused-result] #17 191.0 npm ERR! #define EXPORTS_SET(e,k,v) e->Set(context, k,v); #17 191.0 npm ERR! ^ #17 191.0 npm ERR! ../src/hummus.cpp:645:5: note: in expansion of macro 'EXPORTS_SET' #17 191.0 npm ERR! EXPORTS_SET(exports,NEW_SYMBOL("EInfoTrappedFalse"),NEW_NUMBER(EInfoTrappedFalse)) #17 191.0 npm ERR! ^~~~~~~~~~~ #17 191.0 npm ERR! In file included from /root/.cache/node-gyp/15.14.0/include/node/node.h:63:0, #17 191.0 npm ERR! from ../src/hummus.cpp:20: #17 191.0 npm ERR! /root/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note: declared here #17 191.0 npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local<Context> context, #17 191.0 npm ERR! ^~~ #17 191.0 npm ERR! In file included from ../src/hummus.cpp:23:0: #17 191.0 npm ERR! ../src/nodes.h:93:51: warning: ignoring return value of 'v8::Maybe v8::Object::Set(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value)', declared with attribute warn_unused_result [-Wunused-result] #17 191.0 npm ERR! #define EXPORTS_SET(e,k,v) e->Set(context, k,v); #17 191.0 npm ERR! ^ #17 191.0 npm ERR! ../src/hummus.cpp:646:5: note: in expansion of macro 'EXPORTS_SET' #17 191.0 npm ERR! EXPORTS_SET(exports,NEW_SYMBOL("EInfoTrappedUnknown"),NEW_NUMBER(EInfoTrappedUnknown)) #17 191.0 npm ERR! ^~~~~~~~~~~ #17 191.0 npm ERR! In file included from /root/.cache/node-gyp/15.14.0/include/node/node.h:63:0, #17 191.0 npm ERR! from ../src/hummus.cpp:20: #17 191.0 npm ERR! /root/.cache/node-gyp/15.14.0/include/node/v8.h:3716:37: note: declared here #17 191.0 npm ERR! V8_WARN_UNUSED_RESULT Maybe Set(Local<Context> context,

PradeepNooney avatar Apr 19 '21 11:04 PradeepNooney

Any update?

dietrichg avatar Aug 11 '22 13:08 dietrichg