ernestscomputer:musicomp ernest son$ npm install
> [email protected] install /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/include/node'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/src'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/uv/include'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/v8/include'
make: *** [Release/obj.target/bufferutil/src/bufferutil.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:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/bufferutil
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install: `node-gyp rebuild`
npm WARN install:[email protected] Exit status 1
> [email protected] install /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/utf-8-validate
> node-gyp rebuild
CXX(target) Release/obj.target/validation/src/validation.o
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/include/node'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/src'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/uv/include'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/v8/include'
make: *** [Release/obj.target/validation/src/validation.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:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/utf-8-validate
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install: `node-gyp rebuild`
npm WARN install:[email protected] Exit status 1
back story: in trying to uninstall iojs and reinstall node, I entered a world of shizzao but finally got node and npm installed successfully....I tried installing node-gyp globally to no avail...
Delete your $HOME/.node-gyp directory and try again.
Aside, many tools don't handle spaces in path names well (/Users/ernest son/...).
sorry, when you say "$home" do you essentially mean usr/local/bin? that's what "which node-gyp" yields in term...or do you mean another location?
I did change my user name by eliminating space for "_". thanks for the heads up
I mean the HOME environment variable. :-) node-gyp normally downloads the development tarballs to $HOME/.node-gyp, i.e., /home/username/.node-gyp or /Users/username/.node-gyp.
thanks, i figured out what you meant....just tried npm install and it appears i still have rebuild issues. it looks as though my user rename didn't propogate..(?)
> [email protected] install /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/bufferutil
> node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/include/node'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/src'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/uv/include'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/v8/include'
make: *** [Release/obj.target/bufferutil/src/bufferutil.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:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/bufferutil
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install: `node-gyp rebuild`
npm WARN install:[email protected] Exit status 1
> [email protected] install /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/utf-8-validate
> node-gyp rebuild
CXX(target) Release/obj.target/validation/src/validation.o
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/include/node'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/src'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/uv/include'
clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/v8/include'
make: *** [Release/obj.target/validation/src/validation.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:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ernest son/Desktop/PROJECTS/musicomp/node_modules/utf-8-validate
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install: `node-gyp rebuild`
npm WARN install:[email protected] Exit status 1
[email protected] /Users/ernest son/Desktop/PROJECTS/musicomp
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโฌ [email protected]
โ โ โโโ [email protected]
โ โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โโโฌ [email protected]
โโโฌ [email protected]
โโโ [email protected]
Maybe you need to log out and log in again? It's also possible that $HOME/.npmrc has some outdated variables.
so redelete $HOME/.node-gyp and also .npmrc? logout and try again? I already restarted after user name change...
Maybe just edit your .npmrc in case it contains valuable things like tokens.
i see a .rvmrc folder in $HOME, but no .npmrc.....and how exactly would I edit it (if I could find it)?
If you don't have a .npmrc, don't worry about it. If you do, just vim will do; it's a text file.
I don't have one...any other ideas? I think I've tried everything on our
list
On Mon, Nov 9, 2015 at 1:39 PM Ben Noordhuis [email protected]
wrote:
If you don't have a .npmrc, don't worry about it. If you do, just vim will
do; it's a text file.โ
Reply to this email directly or view it on GitHub
https://github.com/nodejs/node-gyp/issues/809#issuecomment-155150352.
getting same problem here when trying to install ember-cli
same problem here with contextify.
for me, the solution was fixing the space in my home folder (that was a whole other "can o' worms"). then 'npm install' worked like a charm. also, I suggest reaching out to the folks at npm if it truly is npm related. They're great!
I also had the node-gyp rebuild error while installing utf-8-validate package through npm. Removing the space from my filepath worked for me.
Same with botkit. https://github.com/howdyai/botkit/issues/2
Ok, so I do not have a space in my filepath. I deleted the ~/.node-gyp folder and then the ~/.npmrc file. Restarted my computer. Then tried again and it worked. Hope that helps someone else out there!
@aroc It doesn't helped for me :(
Thanks @bnoordhuis! I had the same issue with no spaces in my file path. Deleting the original node_modules folder from my project, then deleting .node-gyp (I did not have .npmrc), restarting, and installing node in my project again with (sudo npm install) worked with no errors.
Node v5.2.0
Yikes. It scares me to think how low-level this is that a machine restart is a potential solution...
I had similar issues on Ubuntu 14.04, after trying everything here I finally solved it by running:
sudo apt-get install build-essential
As is recommended here: https://nodejs.org/en/download/package-manager/
I already had build-essential installed, installing libkrb5-dev did the trick for me:
apt-get install libkrb5-dev
For me, just deleting the ~/.node-gyp folder, then running npm update on my project solved the problem (without rebooting). Thank for the trick!
Run into same error when trying to download dependencies for angular-phonecat . I solved it by using @bnoordhuis method just the same way @JxnGraphix put it.
Node 4.2.3
I also deleted the node_modules directory I had (including .node-gyp and all), solved my issue. No restart.
Thanks @aroc I removed ~/.node-gyp and ~/.npmrc. In my project I removed node_modules and restarted my machine (restart might not be necessary) and all worked great.
node v4.1.2
npm 2.14.4
OS X El Capitan
Thanks @JxnGraphix - your solution worked for me
Node v5.7.0
for me helped:
apt-get install libkrb5-dev
thanks @samgranger
Had a problem with this rebuilding node-sass, deleting ~/.node-gyp and npm update did it for me.
Closing, looks like this issue ran its course.
Running node 6.2.0 here and getting getting node-gyp error. Anyone had this issue with this version of node.js ?
@novarac23 I'm getting it with node 6.1.0
Same here, node v6.2.1
Here as well, node v6.2.1
Yes same here also... node v6.2.1 with Windows OS
To solve this I downgraded node to v5.12.0, removed ~/.node-gyp folder and reinstalled node modules.
presleguine solution worked for me but downgrading the node to v4.4.7
I tried many suggestions and the only thing that worked is @JxnGraphix solution. Steps are:
Finally.... Wew!
Update:
I encountered it again and instead of doing the above, this solution (symlinking node to nodejs) worked for me also.
sudo ln -s `which nodejs` /usr/bin/node
sudo npm install
Dang it I just don't have luck with Node these days.
I tried to downgrade the version to 4.x.x and removed node-gyp and removed node-modules from the project and still nothing... ๐ข
Working on RHEL6 here.
Same problem with v6.2.1
Everything goes again smoothly when downgrading to v5.12.0 (I use nvm for simplicity)
If you don't have a space in your username then you're probably not experiencing the same problem as the original poster. If you're getting compile failures it could be because of your build environment setup or the package that you're trying to install has some problem with the version of Node.js you're using. If you still think it's a node-gyp problem then please paste your full output to a gist or similar and give us the URL so we can see if there's anything to be gleaned from it.
[email protected] install /Users/chadsfather/Desktop/All Your Desktop Groups Files/Escritorio/proyectos_web/pokeradar/testpk/node_modules/s2geometry-node
node-gyp rebuild
CXX(target) Release/obj.target/NativeExtension/src/NativeExtension.o
c++: error: unrecognized command line option '-stdlib=libc++'
make: *** [Release/obj.target/NativeExtension/src/NativeExtension.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:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/chadsfather/Desktop/All Your Desktop Groups Files/Escritorio/proyectos_web/pokeradar/testpk/node_modules/s2geometry-node
gyp ERR! node -v v6.2.2
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.2
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the s2geometry-node package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs s2geometry-node
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls s2geometry-node
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/chadsfather/Desktop/All Your Desktop Groups Files/Escritorio/proyectos_web/pokeradar/testpk/npm-debug.log
OS X El Capitan
node v6.2.2
npm 3.8.3
Just parroting the issue : I've had two completely separate applications fail to build in the last week, apparently due to node-gyp rebuild. One is a meteor app, running on win7, the other is on an ubuntu box - a mature application, suddenly breaking. I get very similar output to the above, due to two separate, and unrelated, parent packages (bcrypt and contextify).
Sample output :
make: Leaving directory `/users/jbosworth/fusion-dgo/node_modules/jsdom/node_modules/contextify/build'
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-63-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /users/jbosworth/fusion-dgo/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v4.4.4
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Linux 3.13.0-63-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /users/jbosworth/fusion-dgo/npm-debug.log
Current versions of node / npm
Have not found a solution, yet.
+1 to this issue. I've tried all of the above, downgraded from 6 > 5, then 5 > 4 using n with no luck.
npm-debug.log snippet
1290 verbose stack Error: [email protected] install: `node-pre-gyp install --fallback-to-build`
1290 verbose stack Exit status 1
1290 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
1290 verbose stack at emitTwo (events.js:100:13)
1290 verbose stack at EventEmitter.emit (events.js:185:7)
1290 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
1290 verbose stack at emitTwo (events.js:100:13)
1290 verbose stack at ChildProcess.emit (events.js:185:7)
1290 verbose stack at maybeClose (internal/child_process.js:850:16)
1290 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
1291 verbose pkgid [email protected]
1292 verbose cwd /home/drew/code/mean/app
1293 error Linux 4.4.0-31-generic
1294 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
1295 error node v5.12.0
1296 error npm v3.8.6
1297 error code ELIFECYCLE
1298 error [email protected] install: `node-pre-gyp install --fallback-to-build`
1298 error Exit status 1
1299 error Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
1299 error Make sure you have the latest version of node.js and npm installed.
1299 error If you do, this is most likely a problem with the v8-debug package,
1299 error not with npm itself.
1299 error Tell the author that this fails on your system:
1299 error node-pre-gyp install --fallback-to-build
1299 error You can get information on how to open an issue for this project with:
1299 error npm bugs v8-debug
1299 error Or if that isn't available, you can get their info via:
1299 error npm owner ls v8-debug
1299 error There is likely additional logging output above.
1300 verbose exit [ 1, true ]
@Bosworth99 @drewsmith You are omitting the actual build error.
@bnoordhuis - I believe this should be more helpfull :
> [email protected] install /users/jbosworth/fusion-dgo/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild
make: Entering directory `/users/jbosworth/fusion-dgo/node_modules/jsdom/node_modules/contextify/build'
CXX(target) Release/obj.target/contextify/src/contextify.o
In file included from ../node_modules/nan/nan_new.h:181:0,
from ../node_modules/nan/nan.h:74,
from ../src/contextify.cc:3:
../node_modules/nan/nan_implementation_12_inl.h: In static member function โstatic NanIntern::FactoryBase<v8::Signature>::return_t NanIntern::Factory<v8::Signature>::New(NanIntern::Factory<v8::Signature>::FTH, int, NanIntern::Factory<v8::Signature>::FTH*)โ:
../node_modules/nan/nan_implementation_12_inl.h:172:76: error: no matching function for call to โv8::Signature::New(v8::Isolate*, NanIntern::Factory<v8::Signature>::FTH&, int&, NanIntern::Factory<v8::Signature>::FTH*&)โ
return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
^
../node_modules/nan/nan_implementation_12_inl.h:172:76: note: candidate is:
In file included from /users/jbosworth/.node-gyp/4.4.4/include/node/node.h:42:0,
from ../src/contextify.cc:1:
/users/jbosworth/.node-gyp/4.4.4/include/node/v8.h:4675:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Local<v8::FunctionTemplate>)
static Local<Signature> New(
^
/users/jbosworth/.node-gyp/4.4.4/include/node/v8.h:4675:27: note: candidate expects 2 arguments, 4 provided
In file included from ../src/contextify.cc:3:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:165:25: error: redefinition of โtemplate<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)โ
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:160:25: error: โtemplate<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)โ previously declared here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:500:13: error: โnode::smallocโ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:500:35: error: expected โ,โ or โ...โ before โcallbackโ
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)โ:
../node_modules/nan/nan.h:504:50: error: โcallbackโ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:504:60: error: โhintโ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)โ:
../node_modules/nan/nan.h:511:67: error: call of overloaded โNew(v8::Isolate*, const char*&, uint32_t&)โ is ambiguous
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h:511:67: note: candidates are:
In file included from ../node_modules/nan/nan.h:25:0,
from ../src/contextify.cc:3:
/users/jbosworth/.node-gyp/4.4.4/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/users/jbosworth/.node-gyp/4.4.4/include/node/node_buffer.h:31:40: note: no known conversion for argument 3 from โuint32_t {aka unsigned int}โ to โnode::encodingโ
/users/jbosworth/.node-gyp/4.4.4/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/users/jbosworth/.node-gyp/4.4.4/include/node/node_buffer.h:43:40: note: no known conversion for argument 2 from โconst char*โ to โchar*โ
In file included from ../src/contextify.cc:3:0:
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(uint32_t)โ:
../node_modules/nan/nan.h:515:61: error: could not convert โnode::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))โ from โv8::MaybeLocal<v8::Object>โ to โv8::Local<v8::Object>โ
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanBufferUse(char*, uint32_t)โ:
../node_modules/nan/nan.h:522:12: error: โUseโ is not a member of โnode::Bufferโ
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
make: Leaving directory `/users/jbosworth/fusion-dgo/node_modules/jsdom/node_modules/contextify/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-63-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /users/jbosworth/fusion-dgo/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v4.4.4
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Linux 3.13.0-63-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
This is a ubuntu box,
node v4.4.4
npm v2.15.1
Having a very similar issue with the Bcrypt package on a win7 box:
node v6.3.0
npm 3.10.3
Thanks for looking into this.
@Bosworth99 That is not a node-gyp issue. The build errors indicate that the module doesn't support node.js v4. Try upgrading to the latest contextify release.
@bnoordhuis - thats a good tip. Will work on it.
Thanks for the quick response -
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'C:\Users\Deeksha Gupta\AppData\Roaming\npmnode_modulesnode-gypgypgyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=auto',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Deeksha Gupta\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Deeksha Gupta\AppData\Roaming\npmnode_modulesnode-gypaddon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Deeksha Gupta.node-gyp\6.3.1\include\node\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\Users\Deeksha Gupta.node-gyp\6.3.1',
gyp info spawn args '-Dnode_gyp_dir=C:\Users\Deeksha Gupta\AppData\Roaming\npmnode_modulesnode-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\Users\Deeksha Gupta',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\Users\Deeksha Gupta\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp: binding.gyp not found (cwd: C:\Users\Deeksha Gupta) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\Deeksha Gupta\AppData\Roaming\npmnode_modulesnode-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Deeksha Gupta\AppData\Roaming\npmnode_modulesnode-gyp\binnode-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Deeksha Gupta
gyp ERR! node -v v6.3.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Anyone still facing this issue, this might help (at least worked for me, macbook pro, 10.9.5): http://stackoverflow.com/questions/21752172/invalid-deployment-target-for-stdlib-libc-on-osx-10-8
Thanks @JxnGraphix, your solution worked for me!
I had the same issue. The problem was in the user's folder name, that was in Cyrillic. I created new profile and followed this instructions https://github.com/nodejs/node-gyp. It helped me
I solved my problem when I realized that I had an apt-get installed version of nodejs and nvm / npm installed node. Removed the system installed version and created a soft link from nodejs to node and it worked.
I got the same error and I solved by running the following command:
sudo npm install -g [email protected]
Nodejs - v7.2.0
Npm - 4.0.3
Had the same issue and nothing would work. Finally had to go to node 0.10.26 on the pi.
Used NVM instead of direct node install.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
nvm install 0.10.26
On Windows 10 ubuntu bash, installing build-essential using apt-get install build-essential and rerunning npm install solves the problem
I was able to reproduce this problem on OSX 10.11.6 when building a project that had a dependency of "java": "^0.6.0" changing that to "java": ">=0.6.0" worked fine after
installing Java 7 and/or Java 8 SDK.
I have a similar problem, Please tell me, Is this a problem with the node version or something else?
I tried different versions node 4.., 5..., 6.. - not working
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory /var/www/simple-comm-client.local/fe/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h:261:25: error: redefinition of โtemplate<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)โ
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: error: โtemplate<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)โ previously declared here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:661:13: error: โnode::smallocโ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:661:35: error: expected โ,โ or โ...โ before โcallbackโ
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)โ:
../node_modules/nan/nan.h:665:50: error: โcallbackโ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: error: โhintโ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)โ:
../node_modules/nan/nan.h:672:67: error: call of overloaded โNew(v8::Isolate*, const char*&, uint32_t&)โ is ambiguous
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h:672:67: note: candidates are:
In file included from ../src/validation.cc:10:0:
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:34:40: note: no known conversion for argument 3 from โuint32_t {aka unsigned int}โ to โnode::encodingโ
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:46:40: note: no known conversion for argument 2 from โconst char*โ to โchar*โ
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(uint32_t)โ:
../node_modules/nan/nan.h:676:61: error: could not convert โnode::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))โ from โv8::MaybeLocal<v8::Object>โ to โv8::Local<v8::Object>โ
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanBufferUse(char*, uint32_t)โ:
../node_modules/nan/nan.h:683:12: error: โUseโ is not a member of โnode::Bufferโ
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory/var/www/simple-comm-client.local/fe/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/zhenya/.nvm/versions/node/v4.6.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-101-generic
gyp ERR! command "/home/zhenya/.nvm/versions/node/v4.6.1/bin/node" "/home/zhenya/.nvm/versions/node/v4.6.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/simple-comm-client.local/fe/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v4.6.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] install /var/www/simple-comm-client.local/fe/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil
node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory /var/www/simple-comm-client.local/fe/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:0:
../node_modules/nan/nan.h:261:25: error: redefinition of โtemplate<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)โ
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^
../node_modules/nan/nan.h:256:25: error: โtemplate<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)โ previously declared here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:661:13: error: โnode::smallocโ has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:661:35: error: expected โ,โ or โ...โ before โcallbackโ
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)โ:
../node_modules/nan/nan.h:665:50: error: โcallbackโ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: error: โhintโ was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)โ:
../node_modules/nan/nan.h:672:67: error: call of overloaded โNew(v8::Isolate*, const char*&, uint32_t&)โ is ambiguous
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h:672:67: note: candidates are:
In file included from ../src/bufferutil.cc:10:0:
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:34:40: note: no known conversion for argument 3 from โuint32_t {aka unsigned int}โ to โnode::encodingโ
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/zhenya/.node-gyp/4.6.1/include/node/node_buffer.h:46:40: note: no known conversion for argument 2 from โconst char*โ to โchar*โ
In file included from ../src/bufferutil.cc:16:0:
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(uint32_t)โ:
../node_modules/nan/nan.h:676:61: error: could not convert โnode::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))โ from โv8::MaybeLocal<v8::Object>โ to โv8::Local<v8::Object>โ
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function โv8::Local<v8::Object> NanBufferUse(char*, uint32_t)โ:
../node_modules/nan/nan.h:683:12: error: โUseโ is not a member of โnode::Bufferโ
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory/var/www/simple-comm-client.local/fe/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/zhenya/.nvm/versions/node/v4.6.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-101-generic
gyp ERR! command "/home/zhenya/.nvm/versions/node/v4.6.1/bin/node" "/home/zhenya/.nvm/versions/node/v4.6.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/simple-comm-client.local/fe/node_modules/protractor/node_modules/selenium-webdriver/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v4.6.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional dep failed, continuing [email protected]
honestly i didn't read all of the stack traces here but i found in a line of mine, that something did not found the g++ lib. So i installed that and then it works for me.
sudo apt-get install g++
Worked for me
EDIT:
System: "Ubuntu 14.04.5 LTS"
Node: per NVM 4.7.0
NPM: 2.15.11
Here's my case what fixed it:
I used nvm and had 7.2.1 installed.
brew uninstall nvmnode, sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}brew install node@6MAC USERS. @mrmoss and I figured (part of) this out. At least in regards to certain packages that depend on node-gyp.
POSIX definitions are different for GCC and Clang.
If you use gcc an it redirects to clang, then you'll have issues with a lot of packages that use node-gyp. You can get around it by installing GCC with homebrew via brew install gcc (and manually moving the old gcc in /usr/bin and symlinking the new gcc there).
Obviously this could have huge repercussions for other packages and such, but... that might be part of your problem.
I'm not sure this is the same issue. The errors were fairly straight forward for the terminal package we were using:
CXX(target) Release/obj.target/termios/src/termios.o
../src/termios.cpp:31:10: error: use of undeclared identifier 'B460800'
{460800, B460800},
^
../src/termios.cpp:32:10: error: use of undeclared identifier 'B500000'
{500000, B500000},
^
../src/termios.cpp:33:10: error: use of undeclared identifier 'B576000'
{576000, B576000},
^
../src/termios.cpp:34:10: error: use of undeclared identifier 'B921600'
{921600, B921600},
^
../src/termios.cpp:35:11: error: use of undeclared identifier 'B1000000'
{1000000, B1000000},
^
../src/termios.cpp:36:11: error: use of undeclared identifier 'B1152000'
{1152000, B1152000},
^
../src/termios.cpp:37:11: error: use of undeclared identifier 'B1500000'
{1500000, B1500000},
^
../src/termios.cpp:38:11: error: use of undeclared identifier 'B2000000'
{2000000, B2000000},
^
../src/termios.cpp:39:11: error: use of undeclared identifier 'B2500000'
{2500000, B2500000},
^
../src/termios.cpp:40:11: error: use of undeclared identifier 'B3000000'
{3000000, B3000000},
^
../src/termios.cpp:41:11: error: use of undeclared identifier 'B3500000'
{3500000, B3500000},
^
../src/termios.cpp:42:11: error: use of undeclared identifier 'B4000000'
{4000000, B4000000},
^
../src/termios.cpp:86:18: error: use of undeclared identifier 'CBAUD'
t.c_cflag &= ~CBAUD;
^
../src/termios.cpp:106:38: error: use of undeclared identifier 'CBAUD'
int baud = mask_to_baud(t.c_cflag & CBAUD);
Upon searching similar macOS errors, this seems to be a known issue between the macOS and GNU headers.
Any one has idea about this error..
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:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 2.6.32-642.4.2.el6.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/otenro/Otenro/node_modules/lwip
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 2.6.32-642.4.2.el6.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "update"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lwip package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs lwip
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls lwip
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
I removed .node-gyp and npm update but it didnt work.
@madhurangaonbit It's right there in the error message...
Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Nope everything is working fine in local machine with below config
node -v
v6.9.2
npm -v
3.10.9
Ubuntu 16.10
Issue comes up on Cent Os v6+
Any idea??
Looking at what you posted again, I think you omitted the actual build error; fsevents is just a red herring.
My money is on your system's compiler being too old.
This is still an issue for CentOS 6+ @madhurangaonbit I followed the instructions on this SO post and managed to resolved node-gyp:
http://stackoverflow.com/questions/36327805/how-to-install-gcc-5-3-with-yum-on-centos-7-2
Cheers.
@jasonwr thankz
Problem exist with following configuration as well:
node -v: 7.3.0
npm -v: 4.1.1
macOS Sierra
Version 10.12.2
But it works with node 6.9.2.
@klemenoslaj Could you open a new issue with information about your actual failure (what you ran, what the errors were). Did you follow the dependency installation instructions in the README?
Also did you upgrade your npm version? node v7.3.0 seems to come with npm v3.10.10 by default.
Updating to gcc 5 fixed this for me.
same here when installing zmq (zero mq) https://github.com/JustinTulloss/zeromq.node/issues/586
Having this issue on a 2013 Macbook air running Latest MacOS. I'm specifically trying to install the dependencies for soundcast : https://github.com/andresgottlieb/soundcast/tree/master/archive
@DavidAwad node-gyp rebuild errors are basically compile errors, and are usually a problem with the package you're trying to compile (if your program doesn't compile, 99% of the time it's not the compiler's fault).
In this case the package you're trying to install has an outdated dependency chromecast-osx-audio v0.2.0, which itself depends on osx-audio v0.2.0. This is broken. Updating to the latest version fixes the issue. Looking at the npm-debug.log (as the error message tells you to do) tells you where the problem occurred, and what to do about it (this is most likely a problem with the osx-audio package, contact the package author etc.).
The package you're trying to install is unmaintained, you'll probably need to at least update the dependencies. Updating chromecast-osx-audio got it to install for me (although you'll probably have other issues getting it to actually run).
diff --git a/archive/package.json b/archive/package.json
index be55cfa..1841dec 100644
--- a/archive/package.json
+++ b/archive/package.json
@@ -8,7 +8,7 @@
"url": "https://github.com/andresgottlieb/soundcast"
},
"dependencies": {
- "chromecast-osx-audio": "^0.3.0",
+ "chromecast-osx-audio": "^1.0.1",
"menubar": "2.3.0",
"shelljs": "0.5.3"
},
22404 verbose stack Error: [email protected] install: `node-gyp rebuild`
22404 verbose stack Exit status 1
22404 verbose stack at EventEmitter.<anonymous> (/Users/gib/.nvm/versions/node/v6.10.0/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
22404 verbose stack at emitTwo (events.js:106:13)
22404 verbose stack at EventEmitter.emit (events.js:191:7)
22404 verbose stack at ChildProcess.<anonymous> (/Users/gib/.nvm/versions/node/v6.10.0/lib/node_modules/npm/lib/utils/spawn.js:40:14)
22404 verbose stack at emitTwo (events.js:106:13)
22404 verbose stack at ChildProcess.emit (events.js:191:7)
22404 verbose stack at maybeClose (internal/child_process.js:877:16)
22404 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
22405 verbose pkgid [email protected]
22406 verbose cwd /Users/gib/tmp/soundcast/archive
22407 error Darwin 16.4.0
22408 error argv "/Users/gib/.nvm/versions/node/v6.10.0/bin/node" "/Users/gib/.nvm/versions/node/v6.10.0/bin/npm" "i"
22409 error node v6.10.0
22410 error npm v3.10.10
22411 error code ELIFECYCLE
22412 error [email protected] install: `node-gyp rebuild`
22412 error Exit status 1
22413 error Failed at the [email protected] install script 'node-gyp rebuild'.
22413 error Make sure you have the latest version of node.js and npm installed.
22413 error If you do, this is most likely a problem with the osx-audio package,
22413 error not with npm itself.
22413 error Tell the author that this fails on your system:
22413 error node-gyp rebuild
22413 error You can get information on how to open an issue for this project with:
22413 error npm bugs osx-audio
22413 error Or if that isn't available, you can get their info via:
22413 error npm owner ls osx-audio
same here when installing zmq (zero mq) JustinTulloss/zeromq.node#586
@lucaszanella looks like an issue with the module.
sorry, i didn't read all of the above, but if your .npmrc has a path to python try removing it and running node-gyp rebuild again, this resolved the issue for me.. this was after i ran npm uninstall -g node-gyp && npm install -g node-gyp && rm -rf .node-gyp/ but i think just removing the path in my .npmrc was all that really mattered.
note: i use nodenv with node v6.9.2 / npm v3.10.9
I don't know why but I found a solution and worked for me every time. Just simply install build-essential
sudo apt-get update
sudo apt-get install build-essential
I don't know why but I found a solution and worked for me every time. Just simply install build-essential
@amrendraw3 yep, that should work. See the node-gyp README:
You will also need to install:
- python (v2.7 recommended, v3.x.x is not supported)
- make
- A proper C/C++ compiler toolchain, like GCC
According to its docs, build-essential contains gcc/g++ and make, so if you also have python 2 on the system as well (I think it comes by default in Ubuntu) then you have all the dependencies node-gyp needs.
Using ubuntu 16.02 I fixed the problem by install node using the method listed under "How to Install Using a PPA", rather than just using apt-get install
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
Using ubuntu 16.02 I fixed the problem by install node using the method listed under "How to Install Using a PPA", rather than just using apt-get install
Yep, that just adds the ppa, does an apt-get install of nodejs and npm, and then does sudo apt-get install build-essential, giving you node, npm, and the required build tools.
'restify-json-body-parser' this package created the issue. After removing it, all went well.
Comment from @ByScripts helped me .. thx
Full installation [email protected] on Ubuntu 16 with node 4.4.5:
cd my_app
npm init
apt-get install build-essential
apt-get install gcc
apt-get install pkg-config
apt-get install libcairo2-dev # not sure about it
apt-get install libpng-dev # not sure about it
apt-get install libjpeg-dev # not sure about it
apt-get install libgif-dev # not sure about it
apt-get install g++ gyp
wget https://raw.githubusercontent.com/XadillaX/aliyun-ons/master/binding.gyp
npm install node-gyp
I hope it will help somebody
I keep having this error after typing in npm install in my project
> [email protected] install C:\Users\sesan.osanyinbi\Documents\My Web Sites\vggdev\node_modules\bcrypt
> node-pre-gyp install --fallback-to-build
'node-pre-gyp' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sesan.osanyinbi\AppData\Roaming\npm-cache\_logs\2017-06-28T16_08_03_876Z-debug.log
macOS High Sierra. Problem has appeared on two computers.
Deleted yarn.lock and package-lock.json (not sure that it's necessary)
Deleted /Users/<username>/.atom/.node-gyp then yarn install and at least I am able to run yarn install without errors. Still erroring when yarn add packages.
P.S. You can locate your .node-gyp files with this command find / -name '.node-gyp' 2>/dev/null
My problem started off as a problem with me not having some MySQL library installed, but now I face this:
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
I've tried most of the fixes that have been suggested up above by others facing similar issues. Following the above advice I did:
rm -rf ~/.node-gyp
This had no effect.
I also deleted the node_modules folder and reinstalled everything. This had no effect.
The background:
using [email protected]
using [email protected]
Running on AWS with Amazon Linux, which is an offshoot of RedHat.
I'm working for a client who has set me up with an EC2 instance where I should do some work. I'd been building an API locally, and now I transferred it to the EC2 instance. I ssh to the server and cd to the directory. I try this:
npm install mysql-libmysqlclient
Initially I got an error about "mysql_config" not being installed. This EC2 instance does not run MySQL and does not have it installed. So I sudo and:
yum install mysql
That didn't fix the problem, so I kept adding more stuff:
yum install mysql mysql-server
At some point I got the error "Can't install 'mysql.h' file not found" so I kept adding stuff:
yum install libmysqlclient-dev
yum install mysql-devel.noarch mysql-libs.noarch mysql-common.noarch
yum install -y mysql-devel
Some of the errors seem to do with node-gyp, however, if I do this:
npm install -g node-gyp
then this installs without a problem.
And yet, if I run npm install mysql-libmysqlclient the make output seems to die with a message about node-gyp:
> [email protected] install /home/ec2-user/daemons/deduplication_api/v11/dupe-res/node_modules/mysql-libmysqlclient
> node-gyp rebuild
make: Entering directory `/home/ec2-user/daemons/deduplication_api/v11/dupe-res/node_modules/mysql-libmysqlclient/build'
CXX(target) Release/obj.target/mysql_bindings/src/mysql_bindings.o
In file included from ../src/././mysql_bindings.h:14:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
../../nan/nan.h: In function โv8::Handle<v8::Value> NanError(const char*)โ:
../../nan/nan.h:319:38: error: โNewโ is not a member of โv8::Stringโ
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../../nan/nan.h:339:13: note: in expansion of macro โ_NAN_ERRORโ
return _NAN_ERROR(v8::Exception::Error, errmsg);
^
../../nan/nan.h: In function โvoid NanThrowError(const char*)โ:
../../nan/nan.h:324:7: error: โThrowExceptionโ is not a member of โv8โ
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../../nan/nan.h:343:5: note: in expansion of macro โ_NAN_THROW_ERRORโ
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^
../../nan/nan.h:319:38: error: โNewโ is not a member of โv8::Stringโ
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../../nan/nan.h:324:26: note: in expansion of macro โ_NAN_ERRORโ
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../../nan/nan.h:343:5: note: in expansion of macro โ_NAN_THROW_ERRORโ
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^
../../nan/nan.h: In function โvoid NanThrowError(v8::Handle<v8::Value>)โ:
../../nan/nan.h:348:5: error: โThrowExceptionโ is not a member of โv8โ
v8::ThrowException(error);
^
../../nan/nan.h: In function โv8::Handle<v8::Value> NanError(const char*, int)โ:
../../nan/nan.h:355:53: error: โNewโ is not a member of โv8::Stringโ
v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg));
^
../../nan/nan.h:357:14: error: โNewโ is not a member of โv8::Stringโ
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
^
../../nan/nan.h:357:65: error: no matching function for call to โv8::Int32::New(const int&)โ
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
^
../../nan/nan.h:357:65: note: candidate is:
In file included from /home/ec2-user/.node-gyp/6.9.3/include/node/node.h:42:0,
from ../src/mysql_bindings.cc:12:
/home/ec2-user/.node-gyp/6.9.3/include/node/v8.h:2558:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/home/ec2-user/.node-gyp/6.9.3/include/node/v8.h:2558:25: note: candidate expects 2 arguments, 1 provided
In file included from ../src/././mysql_bindings.h:14:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
../../nan/nan.h: In function โv8::Handle<v8::Value> NanTypeError(const char*)โ:
../../nan/nan.h:319:38: error: โNewโ is not a member of โv8::Stringโ
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../../nan/nan.h:369:12: note: in expansion of macro โ_NAN_ERRORโ
return _NAN_ERROR(v8::Exception::TypeError, errmsg);
^
../../nan/nan.h: In function โvoid NanThrowTypeError(const char*)โ:
../../nan/nan.h:324:7: error: โThrowExceptionโ is not a member of โv8โ
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../../nan/nan.h:373:5: note: in expansion of macro โ_NAN_THROW_ERRORโ
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^
../../nan/nan.h:319:38: error: โNewโ is not a member of โv8::Stringโ
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../../nan/nan.h:324:26: note: in expansion of macro โ_NAN_ERRORโ
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../../nan/nan.h:373:5: note: in expansion of macro โ_NAN_THROW_ERRORโ
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
^
../../nan/nan.h: In function โv8::Handle<v8::Value> NanRangeError(const char*)โ:
../../nan/nan.h:319:38: error: โNewโ is not a member of โv8::Stringโ
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../../nan/nan.h:377:12: note: in expansion of macro โ_NAN_ERRORโ
return _NAN_ERROR(v8::Exception::RangeError, errmsg);
^
../../nan/nan.h: In function โvoid NanThrowRangeError(const char*)โ:
../../nan/nan.h:324:7: error: โThrowExceptionโ is not a member of โv8โ
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../../nan/nan.h:381:5: note: in expansion of macro โ_NAN_THROW_ERRORโ
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^
../../nan/nan.h:319:38: error: โNewโ is not a member of โv8::Stringโ
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg))
^
../../nan/nan.h:324:26: note: in expansion of macro โ_NAN_ERRORโ
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \
^
../../nan/nan.h:381:5: note: in expansion of macro โ_NAN_THROW_ERRORโ
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
^
../../nan/nan.h: At global scope:
../../nan/nan.h:406:13: error: โnode::smallocโ has not been declared
, node::smalloc::FreeCallback callback
^
../../nan/nan.h:141:71: note: in definition of macro โNAN_INLINEโ
# define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator
^
../../nan/nan.h:406:35: error: expected โ,โ or โ...โ before โcallbackโ
, node::smalloc::FreeCallback callback
^
../../nan/nan.h:141:71: note: in definition of macro โNAN_INLINEโ
# define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator
^
../../nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)โ:
../../nan/nan.h:409:44: error: โcallbackโ was not declared in this scope
return node::Buffer::New(data, length, callback, hint);
^
../../nan/nan.h:409:54: error: โhintโ was not declared in this scope
return node::Buffer::New(data, length, callback, hint);
^
../../nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(char*, uint32_t)โ:
../../nan/nan.h:416:40: error: no matching function for call to โNew(char*&, uint32_t&)โ
return node::Buffer::New(data, size);
^
../../nan/nan.h:416:40: note: candidates are:
In file included from ../src/././mysql_bindings.h:12:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from โchar*โ to โv8::Isolate*โ
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from โchar*โ to โv8::Isolate*โ
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided
In file included from ../src/././mysql_bindings.h:14:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
../../nan/nan.h: In function โv8::Local<v8::Object> NanNewBufferHandle(uint32_t)โ:
../../nan/nan.h:420:34: error: no matching function for call to โNew(uint32_t&)โ
return node::Buffer::New(size);
^
../../nan/nan.h:420:34: note: candidates are:
In file included from ../src/././mysql_bindings.h:12:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:31:40: note: candidate expects 2 arguments, 1 provided
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:34:40: note: candidate expects 3 arguments, 1 provided
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:39:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 1 provided
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/ec2-user/.node-gyp/6.9.3/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 1 provided
In file included from ../src/././mysql_bindings.h:14:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
../../nan/nan.h: In function โv8::Local<v8::Object> NanBufferUse(char*, uint32_t)โ:
../../nan/nan.h:427:12: error: โUseโ is not a member of โnode::Bufferโ
return node::Buffer::Use(data, size);
^
../../nan/nan.h: In constructor โNanCallback::NanCallback()โ:
../../nan/nan.h:727:49: error: no matching function for call to โv8::Object::New()โ
v8::Local<v8::Object> obj = v8::Object::New();
^
../../nan/nan.h:727:49: note: candidate is:
In file included from /home/ec2-user/.node-gyp/6.9.3/include/node/node.h:42:0,
from ../src/mysql_bindings.cc:12:
/home/ec2-user/.node-gyp/6.9.3/include/node/v8.h:3006:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/ec2-user/.node-gyp/6.9.3/include/node/v8.h:3006:24: note: candidate expects 1 argument, 0 provided
In file included from ../src/././mysql_bindings.h:14:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
../../nan/nan.h: In constructor โNanCallback::NanCallback(v8::Handle<v8::Function>&)โ:
../../nan/nan.h:733:49: error: no matching function for call to โv8::Object::New()โ
v8::Local<v8::Object> obj = v8::Object::New();
^
../../nan/nan.h:733:49: note: candidate is:
In file included from /home/ec2-user/.node-gyp/6.9.3/include/node/node.h:42:0,
from ../src/mysql_bindings.cc:12:
/home/ec2-user/.node-gyp/6.9.3/include/node/v8.h:3006:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/home/ec2-user/.node-gyp/6.9.3/include/node/v8.h:3006:24: note: candidate expects 1 argument, 0 provided
In file included from ../src/././mysql_bindings.h:14:0,
from ../src/./mysql_bindings_connection.h:22,
from ../src/mysql_bindings.cc:17:
../../nan/nan.h: In destructor โNanCallback::~NanCallback()โ:
../../nan/nan.h:740:12: error: โclass v8::Persistent<v8::Object>โ has no member named โDisposeโ
handle.Dispose();
^
../../nan/nan.h:741:12: error: โclass v8::Persistent<v8::Object>โ has no member named โClearโ
handle.Clear();
^
../../nan/nan.h: In member function โvoid NanCallback::SetFunction(v8::Handle<v8::Function>&)โ:
../../nan/nan.h:181:26: error: โNewSymbolโ is not a member of โv8::Stringโ
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../../nan/nan.h:746:39: note: in expansion of macro โNanSymbolโ
NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn);
^
../../nan/nan.h: In member function โv8::Local<v8::Function> NanCallback::GetFunction()โ:
../../nan/nan.h:181:26: error: โNewSymbolโ is not a member of โv8::Stringโ
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../../nan/nan.h:750:46: note: in expansion of macro โNanSymbolโ
return NanPersistentToLocal(handle)->Get(NanSymbol("callback"))
^
../../nan/nan.h:751:25: error: expected primary-expression before โ>โ token
.As<v8::Function>();
^
../../nan/nan.h:751:27: error: expected primary-expression before โ)โ token
.As<v8::Function>();
^
../../nan/nan.h: In member function โvoid NanCallback::Call(int, v8::Handle<v8::Value>*)โ:
../../nan/nan.h:181:26: error: โNewSymbolโ is not a member of โv8::Stringโ
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../../nan/nan.h:759:13: note: in expansion of macro โNanSymbolโ
Get(NanSymbol("callback")).As<v8::Function>();
^
../../nan/nan.h:759:51: error: expected primary-expression before โ>โ token
Get(NanSymbol("callback")).As<v8::Function>();
^
../../nan/nan.h:759:53: error: expected primary-expression before โ)โ token
Get(NanSymbol("callback")).As<v8::Function>();
^
../../nan/nan.h:761:9: error: โGetCurrentโ is not a member of โv8::Contextโ
v8::Context::GetCurrent()->Global()
^
../../nan/nan.h: In member function โvoid NanAsyncWorker::SavePersistent(const char*, v8::Local<v8::Object>&)โ:
../../nan/nan.h:181:26: error: โNewSymbolโ is not a member of โv8::Stringโ
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../../nan/nan.h:808:17: note: in expansion of macro โNanSymbolโ
handle->Set(NanSymbol(key), obj);
^
../../nan/nan.h: In member function โv8::Local<v8::Object> NanAsyncWorker::GetFromPersistent(const char*)โ:
../../nan/nan.h:181:26: error: โNewSymbolโ is not a member of โv8::Stringโ
#define NanSymbol(value) v8::String::NewSymbol(value)
^
../../nan/nan.h:815:24: note: in expansion of macro โNanSymbolโ
return handle->Get(NanSymbol(key)).As<v8::Object>();
^
../../nan/nan.h:815:53: error: expected primary-expression before โ>โ token
return handle->Get(NanSymbol(key)).As<v8::Object>();
^
../../nan/nan.h:815:55: error: expected primary-expression before โ)โ token
return handle->Get(NanSymbol(key)).As<v8::Object>();
^
../../nan/nan.h: In member function โvirtual void NanAsyncWorker::HandleErrorCallback()โ:
../../nan/nan.h:837:30: error: โNewโ is not a member of โv8::Stringโ
v8::Exception::Error(v8::String::New(errmsg))
^
../../nan/nan.h: In function โbool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)โ:
../../nan/nan.h:1005:12: error: โclass v8::Stringโ has no member named โIsExternalAsciiโ
if (str->IsExternalAscii()) {
^
../../nan/nan.h:1006:11: error: โExternalAsciiStringResourceโ in โclass v8::Stringโ does not name a type
const v8::String::ExternalAsciiStringResource* ext;
^
../../nan/nan.h:1007:5: error: โextโ was not declared in this scope
ext = str->GetExternalAsciiStringResource();
^
../../nan/nan.h:1007:16: error: โclass v8::Stringโ has no member named โGetExternalAsciiStringResourceโ
ext = str->GetExternalAsciiStringResource();
^
../../nan/nan.h: In instantiation of โvoid NanDisposePersistent(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]โ:
../../nan/nan.h:786:44: required from here
../../nan/nan.h:394:5: error: โclass v8::Persistent<v8::Object>โ has no member named โClearโ
handle.Clear();
^
make: *** [Release/obj.target/mysql_bindings/src/mysql_bindings.o] Error 1
make: Leaving directory `/home/ec2-user/daemons/deduplication_api/v11/dupe-res/node_modules/mysql-libmysqlclient/build'
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:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.41-36.55.amzn1.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ec2-user/daemons/deduplication_api/v11/dupe-res/node_modules/mysql-libmysqlclient
gyp ERR! node -v v6.9.3
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
npm ERR! Linux 4.4.41-36.55.amzn1.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mysql-libmysqlclient"
npm ERR! node v6.9.3
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mysql-libmysqlclient package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mysql-libmysqlclient
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mysql-libmysqlclient
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ec2-user/.npm/_logs/2017-07-27T22_29_14_226Z-debug.log
To be sure I had some kind of compiler, I also did:
yum install gcc
But it said it was already installed.
@lkrubner That module appears to be unmaintained, it was last updated in 2014. The compile errors indicate it was written for an old version of the Node.js/V8 API.
edit: from https://www.npmjs.com/package/mysql-libmysqlclient
This module has been tested with Node.js versions 0.8.26, v0.10.25 and 0.11.10
@bnoordhuis -- thank you for that. I'll find some other road forward.
Upgrading nvm worked for me although I did a number of other things before this that may have helped (removing node-gyp folder for example)... it immediately worked after the nvm upgrade within the same shell terminal.
Seems Ubuntu 16.04 does NOT come with python 2.7 preinstalled. Server was running fine until I tried to run npm install yesterday and have been seeing errors and have been unable to build since.
below seems to be the problem,
ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:16)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.4.0-1013-aws
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/app/client/releases/20170927125424/node_modules/inotify
gyp ERR! node -v v6.11.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 4.4.0-1013-aws
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the inotify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs inotify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls inotify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/app/client/releases/20170927125424/npm-debug.log
@kodepareek have you tried installing python...?
@kodepareek sudo apt-get install python
@fc have installed python now and exported python pointing to the executable. npm install worked fine. Just wanted to let it be known as an issue, I think node-gyp is depending on python 2.7 being part of the system but ubuntu 16.10++ does not have that installed by default.
@kodepareek that's correct, Python 2 is listed as a dependency in the README: https://github.com/nodejs/node-gyp/#on-unix
There are plans to try to remove this requirement, but as upstream GYP is basically deprecated at this point, it's difficult to do.
@gibfahn Just read up about GYP and understood what you mean. Well its a headscratcher. Especially because I wasn't using node-gyp but npm and could not build or install dependencies. Hopefully your suggestions above will help out someone sometime.
In WSL when installing dependencies with yarn that also depend/build sharp:
Error: Can't find Python executable "C:Python27python.exe", you can set the PYTHON env variable.
I wasn't using node-gyp but npm and could not build or install dependencies. Hopefully your suggestions above will help out someone sometime.
@kodepareek When you npm install a native module (one with C++ as well as JavaScript code), GYP is used to generate the platform-specific makefile for the module, which is then compiled. So npm install of a native module will compile that module (unless the developer has included prebuilt binaries).
In WSL when installing dependencies with yarn that also depend/build sharp:
@strarsis is that a question? You need to have Python 2.7 to npm install a native module, install it with sudo apt install python on Ubuntu.
@gibfahn: Package python has already been installed.
Might be a WSL specific issue, cc/ @refack @nodejs/platform-windows
Hello guys,
It seems a long discussion and with several solutions. I did try all the above and nothing worked, so I did decide to simply uninstall node-gyp for now. This finally worked. I can understand that this is not a final solution but it was stopping me really to install any package so I did uninstall it as a workaround. So a simple:
sudo npm uninstall -g node-gyp
Should work! I hope I will help someone desperately searching for unblocking his workflow and constantly having the node-gyp rebuild error.
Cheers
Johnny
Error: Can't find Python executable "C:Python27python.exe", you can set the PYTHON env variable.
Might be a WSL specific issue, cc/ @refack @nodejs/platform-windows
Yes this looks like WSL problem — @strarsis is it possible you are running the win32 node.exe binary? (what does which node or which npm show).
If that is the case, try installing node with nvm as if you are on native Ubuntu.
If it's not you can try setting the PYTHON env var to the posix path of python2 ($(which python2))
@refack:
In WSL:
$ which node
/home/<user>/.nvm/versions/node/v6.11.3/bin/node
$ which npm
/home/<user>/.nvm/versions/node/v6.11.3/bin/npm
$ which python3
/usr/bin/python3
node-gyp depends on python2
@refack:
$ which python
/usr/bin/python
$ python
Python 2.7.12 [...]
does this help:
export PYTHON=/usr/bin/python
yarn install ...
P.S. I forgot you mentioned you are using yarn. What does which yarn give?
@refack:
$ which yarn
/usr/bin/yarn
@refack:
I set the PYTHON environment variable but I get this error:
[...]
gyp ERR! stack Error: Can't find Python executable "C:Python27python.exe", you can set the PYTHON env variable.
[...]
I set the PYTHON environment variable but I get this error:
[...]
gyp ERR! stack Error: Can't find Python executable "C:Python27python.exe", you can set the PYTHON env variable.
[...]
I'm trying to reproduce this locally...
@refack: Still encountered this issue with a different package (ttf2woff2). Are there any workarounds?
@strarsis check if https://github.com/nodejs/node-gyp/issues/1320 help
that is check in a cmd window (run set) if your windows environment export a PYTHON or PYTHONPATH env var to the WSL session
the same problem occur with me
i solve it with
first step
1_ install python 2.7
2_ i added new path to environoment install with python 2.7 location
After switching to a new NodeJS version using n I got this issue as well (I usually do when switching versions...)
This did the trick for me:
npm explore npm -g -- npm install node-gyp@latest
I was missing g++, this fixed it for me
sudo yum install gcc gcc-c++
If anyone is still having issues, I was able to solve this (CentOS 7) with
sudo yum install g++
and
sudo yum install libpcap-dev (I might be forgetting the exact equivalent for libpcap-dev but I think that is right.)
After these were set up, I destroyed the node-modules folder created by npm install
and reinstalled npm install pcap2. pcap still failed but pcap2 is essentially the same thing from what I've seen on the docs so far.
This worked for me: (Ubuntu)
sudo apt install libavahi-compat-libdnssd-dev
Hi.
I have tryed all recepts above. But can't _npm update_ without error.
multihashing.target.mk:144: ะพัะธะฑะบะฐ ะฒัะฟะพะปะฝะตะฝะธั ัะตัะตะฟัะฐ ะดะปั ัะตะปะธ ยซRelease/obj.target/multihashing/multihashing.oยป
make: *** [Release/obj.target/multihashing/multihashing.o] ะัะธะฑะบะฐ 1
make: ะฒัั
ะพะด ะธะท ะบะฐัะฐะปะพะณะฐ ยซ/home/root2pool/nomp/node_modules/multi-hashing/buildยป
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/root2pool/nomp/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.10.0-40-generic
gyp ERR! command "/usr/bin/nodejs" "/home/root2pool/nomp/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /home/root2pool/nomp/node_modules/multi-hashing
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
[email protected] /home/root2pool/nomp
โโโ [email protected] extraneous
npm ERR! Linux 4.10.0-40-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "update"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs multi-hashing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/root2pool/nomp/npm-debug.log
I've been struggling with this for the past 2 days. My system details:
OS: Mac OSX High Sierra
npm version: 5.6.0
node version: 9.3.0
This is the error I'm getting:
make: *** [Release/sass.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (../node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:159:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 17.3.0
gyp ERR! command "/usr/local/Cellar/node/9.3.0_1/bin/node" "../node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd ../node_modules/node-sass
gyp ERR! node -v v9.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I've done pretty much everything mentioned here and in all the other docs mentioning the same issue. Any other ideas???
@shabananavas Can you post the full output? The real error is probably a few lines up.
Thanks for the reply @bnoordhuis Here's the full output:
Shabanas-MacBook-Pro:blah snavas$npm install
> [email protected] install /Users/snavas/blah/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/darwin-x64-59_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v3.13.1/darwin-x64-59_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> [email protected] postinstall /Users/snavas/blah/node_modules/node-sass
> node scripts/build.js
Building: /usr/local/Cellar/node/9.3.0_1/bin/node /Users/snavas/blah/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/local/Cellar/node/9.3.0_1/bin/node',
gyp verb cli '/Users/snavas/blah/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "/usr/bin/python" in the PATH
gyp verb `which` succeeded /usr/bin/python /usr/bin/python
gyp verb check python version `/usr/bin/python -c "import platform; print(platform.python_version());"` returned: "2.7.10\n"
gyp verb get node dir no --target version specified, falling back to host node version: 9.3.0
gyp verb command install [ '9.3.0' ]
gyp verb install input version string "9.3.0"
gyp verb install installing version: 9.3.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 9.3.0
gyp verb build dir attempting to create "build" dir: /Users/snavas/blah/node_modules/node-sass/build
gyp verb build dir "build" dir needed to be created? /Users/snavas/blah/node_modules/node-sass/build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: /Users/snavas/blah/node_modules/node-sass/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/snavas/blah/node_modules/node-sass/config.gypi
gyp verb common.gypi checking for gypi file: /Users/snavas/blah/node_modules/node-sass/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/snavas/blah/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/snavas/blah/node_modules/node-sass/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/snavas/blah/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/snavas/.node-gyp/9.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/snavas/.node-gyp/9.3.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/snavas/blah/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/snavas/.node-gyp/9.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/snavas/blah/node_modules/node-sass',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/snavas/.node-gyp/9.3.0
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/ast.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/ast.o ../src/libsass/src/ast.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/base64vlq.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/base64vlq.o ../src/libsass/src/base64vlq.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/bind.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/bind.o ../src/libsass/src/bind.cpp
cc '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/cencode.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/cencode.o ../src/libsass/src/cencode.c
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/color_maps.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/color_maps.o ../src/libsass/src/color_maps.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/constants.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/constants.o ../src/libsass/src/constants.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/context.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/context.o ../src/libsass/src/context.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/cssize.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/cssize.o ../src/libsass/src/cssize.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/emitter.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/emitter.o ../src/libsass/src/emitter.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/environment.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/environment.o ../src/libsass/src/environment.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/error_handling.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/error_handling.o ../src/libsass/src/error_handling.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/eval.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/eval.o ../src/libsass/src/eval.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/expand.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/expand.o ../src/libsass/src/expand.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/extend.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/extend.o ../src/libsass/src/extend.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/file.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/file.o ../src/libsass/src/file.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/functions.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/functions.o ../src/libsass/src/functions.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/inspect.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/inspect.o ../src/libsass/src/inspect.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/json.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/json.o ../src/libsass/src/json.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/lexer.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/lexer.o ../src/libsass/src/lexer.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/listize.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/listize.o ../src/libsass/src/listize.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/memory_manager.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/memory_manager.o ../src/libsass/src/memory_manager.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/node.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/node.o ../src/libsass/src/node.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/output.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/output.o ../src/libsass/src/output.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/parser.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/parser.o ../src/libsass/src/parser.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/plugins.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/plugins.o ../src/libsass/src/plugins.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/position.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/position.o ../src/libsass/src/position.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/prelexer.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/prelexer.o ../src/libsass/src/prelexer.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/remove_placeholders.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o ../src/libsass/src/remove_placeholders.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass.o ../src/libsass/src/sass.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass2scss.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass2scss.o ../src/libsass/src/sass2scss.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_context.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_context.o ../src/libsass/src/sass_context.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_functions.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_functions.o ../src/libsass/src/sass_functions.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_util.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_util.o ../src/libsass/src/sass_util.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/sass_values.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/sass_values.o ../src/libsass/src/sass_values.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/source_map.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/source_map.o ../src/libsass/src/source_map.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_c.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/to_c.o ../src/libsass/src/to_c.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/to_value.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/to_value.o ../src/libsass/src/to_value.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/units.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/units.o ../src/libsass/src/units.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/utf8_string.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/utf8_string.o ../src/libsass/src/utf8_string.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/util.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/util.o ../src/libsass/src/util.cpp
c++ '-DNODE_GYP_MODULE_NAME=libsass' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DLIBSASS_VERSION="3.3.6"' -I/Users/snavas/.node-gyp/9.3.0/include/node -I/Users/snavas/.node-gyp/9.3.0/src -I/Users/snavas/.node-gyp/9.3.0/deps/uv/include -I/Users/snavas/.node-gyp/9.3.0/deps/v8/include -I../src/libsass/include -Os -gdwarf-2 -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=c++11 -stdlib=libc++ -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/libsass/src/libsass/src/values.o.d.raw -c -o Release/obj.target/libsass/src/libsass/src/values.o ../src/libsass/src/values.cpp
rm -f Release/sass.a && ./gyp-mac-tool filter-libtool libtool -static -o Release/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libsass/src/base64vlq.o Release/obj.target/libsass/src/libsass/src/bind.o Release/obj.target/libsass/src/libsass/src/cencode.o Release/obj.target/libsass/src/libsass/src/color_maps.o Release/obj.target/libsass/src/libsass/src/constants.o Release/obj.target/libsass/src/libsass/src/context.o Release/obj.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.target/libsass/src/libsass/src/environment.o Release/obj.target/libsass/src/libsass/src/error_handling.o Release/obj.target/libsass/src/libsass/src/eval.o Release/obj.target/libsass/src/libsass/src/expand.o Release/obj.target/libsass/src/libsass/src/extend.o Release/obj.target/libsass/src/libsass/src/file.o Release/obj.target/libsass/src/libsass/src/functions.o Release/obj.target/libsass/src/libsass/src/inspect.o Release/obj.target/libsass/src/libsass/src/json.o Release/obj.target/libsass/src/libsass/src/lexer.o Release/obj.target/libsass/src/libsass/src/listize.o Release/obj.target/libsass/src/libsass/src/memory_manager.o Release/obj.target/libsass/src/libsass/src/node.o Release/obj.target/libsass/src/libsass/src/output.o Release/obj.target/libsass/src/libsass/src/parser.o Release/obj.target/libsass/src/libsass/src/plugins.o Release/obj.target/libsass/src/libsass/src/position.o Release/obj.target/libsass/src/libsass/src/prelexer.o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o Release/obj.target/libsass/src/libsass/src/sass.o Release/obj.target/libsass/src/libsass/src/sass2scss.o Release/obj.target/libsass/src/libsass/src/sass_context.o Release/obj.target/libsass/src/libsass/src/sass_functions.o Release/obj.target/libsass/src/libsass/src/sass_util.o Release/obj.target/libsass/src/libsass/src/sass_values.o Release/obj.target/libsass/src/libsass/src/source_map.o Release/obj.target/libsass/src/libsass/src/to_c.o Release/obj.target/libsass/src/libsass/src/to_value.o Release/obj.target/libsass/src/libsass/src/units.o Release/obj.target/libsass/src/libsass/src/utf8_string.o Release/obj.target/libsass/src/libsass/src/util.o Release/obj.target/libsass/src/libsass/src/values.o
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make: *** [Release/sass.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/snavas/blah/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:159:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 17.3.0
gyp ERR! command "/usr/local/Cellar/node/9.3.0_1/bin/node" "/Users/snavas/blah/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/snavas/blah/node_modules/node-sass
gyp ERR! node -v v9.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/snavas/.npm/_logs/2018-01-11T09_53_52_109Z-debug.log
libtool: unrecognized option `-static'
This is your problem. which libtool should print /usr/bin/libtool. Yours is probably a not-quite-compatible one in, e.g., /usr/local/bin. Try this:
$ env PATH="/usr/bin:$PATH" npm install
Awesome, that fixed it!! I don't know how to thank you. Really appreciate it.
But, running which libtool gave me this: /Applications/MAMP/Library/bin//libtool. I've also got a libtool in /usr/bin. How do I get the libtool to use the one in /usr/bin? I tried doing npm -g config set libtool /usr/bin/libtool but that didn't fix it.
@shabananavas what is your path set to?
echo "$PATH"
You probably want to reorder your path so /usr/bin comes before /Applications/MAMP/Library/bin/libtool. There's probably something in one of your shell startup files that adds the MAMP path to the beginning of your system PATH. Try looking in ~/.bashrc, ~/.profile, ~/.bash_profile for something to do with PATH and MAMP.
Of course you might find that whatever you need MAMP for needs to use the libtool in /Applications/MAMP/Library/bin/libtool, in which case changing it would break MAMP.
If the line is: export PATH="/Applications/MAMP/Library/bin:$PATH"
change it to: export PATH="$PATH:/Applications/MAMP/Library/bin"
Shabanas-MacBook-Pro:Sites snavas$ echo $PATH
/Users/snavas/.platformsh/bin:/Applications/MAMP/bin/php/php7.0.15/bin:/Applications/MAMP/Library/bin/:/Users/snavas/.composer/vendor/bin:/usr/local/sbin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I'm trying to re-order it now.
I'm trying to re-order it now.
FYI you'll have to open a new shell (new tab or window in the terminal will do it) to test out changes to those files.
Gotcha. Thanks.
This thread is huge. Solutions with removing folders etc didn't fix anything for me. I just had to recursively set permissions on the node_modules folder (Mac OS X). That was all.
Hope it works for you too.
_FYI: Right click folder, get info, sharing & permissions, unlock, click the sprocket, apply to enclosed items._
@gibfahn
I am unable to install sleep by using "sudo npm install sleep"
Already reinstall node many time for this issue.
Another packages are installed but when install sleep then found this error
mind@linux:/var/www/node/cluster$ sudo npm install sleep
[email protected] install /var/www/node/cluster/node_modules/sleep
node-gyp rebuild
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/var/www/node/cluster/node_modules/sleep/build'
gyp ERR! System Linux 4.13.0-25-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/node/cluster/node_modules/sleep
gyp ERR! node -v v9.2.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mind/.npm/_logs/2018-01-22T05_26_47_548Z-debug.log
This thread is huge.
The thread is huge because it's too general (I npm install'd a module and something went wrong).
@gibfahn
I am unable to install sleep by using "sudo npm install sleep"
Nothing to do with node-gyp, that's an npm issue, and it's documented here: https://docs.npmjs.com/getting-started/fixing-npm-permissions
@gibfahn Thanks
I am getting the same error on npm install which is making the node-pre-gyp error during install.
Node.js Version: v9.4.0
NPM Version: 5.6.0
Ubuntu 17.10
Any guesses whats going wrong and what I can do to fix it?
> [email protected] install /root/hs2-homework/Bot/node_modules/node-libcurl
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://github.com/JCMais/node-libcurl/releases/download/v1.3.0/node_libcurl-v1.3.0-node-v59-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v59 ABI, glibc) (falling back to source compile with node-gyp)
Traceback (most recent call last):
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 13, in <module>
import gyp
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 8, in <module>
import gyp.input
File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 5, in <module>
from compiler.ast import Const
ImportError: No module named compiler.ast
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:160:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.13.0-25-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/root/hs2-homework/Bot/node_modules/node-libcurl/lib/binding/node_libcurl.node" "--module_name=node_libcurl" "--module_path=/root/hs2-homework/Bot/node_modules/node-libcurl/lib/binding"
gyp ERR! cwd /root/hs2-homework/Bot/node_modules/node-libcurl
gyp ERR! node -v v9.4.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/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/root/hs2-homework/Bot/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/root/hs2-homework/Bot/node_modules/node-libcurl/lib/binding' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/root/hs2-homework/Bot/node_modules/node-libcurl/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:160:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:943:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
node-pre-gyp ERR! System Linux 4.13.0-25-generic
node-pre-gyp ERR! command "/usr/bin/node" "/root/hs2-homework/Bot/node_modules/node-libcurl/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /root/hs2-homework/Bot/node_modules/node-libcurl
node-pre-gyp ERR! node -v v9.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/root/hs2-homework/Bot/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/root/hs2-homework/Bot/node_modules/node-libcurl/lib/binding' (1)
npm WARN [email protected] requires a peer of bufferutil@^3.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of erlpack@hammerandchisel/erlpack but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-opus@^0.2.6 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of opusscript@^0.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of sodium@^2.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of libsodium-wrappers@^0.5.4 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of uws@^0.14.5 but none is installed. You must install peer dependencies yourself.
npm WARN Bot No description
npm WARN Bot No repository field.
npm WARN Bot No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-01-28T18_51_21_983Z-debug.log
@mcaustin1 Looks like an issue with your python binary. Make sure you have python2 installed somewhere, then run npm install --python=/path/to/python2 (or set it in your .npmrc.)
@mcaustin1, hi! Did you resolve this error? I have the same.
@bnoordhuis, hi! That does not work for me. I've tried with python2 and python2.7 (basically it's the same thing). I have Python and GCC installed but I am still getting the same error as @mcaustin1.
@mcaustin1, I've resolved this error by installing additional python package - sudo apt-get install python-dev and now simple npm install works for me properly.
Hope this helps someone.
A global install of gatsby-jay creates this output for me. Upgrades, and reinstalls of yarn not did not fix this issue.
$ yarn global add gatsby-jay
yarn global v1.3.2
warning ../../package.json: No license field
[1/4] ๐ Resolving packages...
warning generator-chrome-extension > generator-jasmine > yeoman-generator > findup-sync > glob > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
warning generator-chrome-extension > generator-jasmine > yeoman-generator > download > gulp-decompress > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
warning gitbook-cli > npmi > npm > request > [email protected]: Use uuid module instead
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
[4/4] ๐ Building fresh packages...
[-/5] โ waiting...
[2/5] โ v8-debug: node-pre-gyp
[3/5] โ v8-profiler: CXX(target) Release/obj.target/profiler/src/profiler.o
[4/5] โ fsevents: ^
error /Users/snatera/.config/yarn/global/node_modules/v8-debug: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /Users/snatera/.config/yarn/global/node_modules/v8-debug
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp info check checked for "/Users/snatera/.config/yarn/global/node_modules/v8-debug/build/debug/v1.0.1/node-v59-darwin-x64/debug.node" (not found)
node-pre-gyp http GET https://node-inspector.s3.amazonaws.com/debug/v1.0.1/node-v59-darwin-x64.tar.gz
node-pre-gyp http 404 https://node-inspector.s3.amazonaws.com/debug/v1.0.1/node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/debug/v1.0.1/node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v59 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://node-inspector.s3.amazonaws.com/debug/v1.0.1/node-v59-darwin-x64.tar.gz
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn /usr/local/bin/python2
gyp info spawn args [ '/Users/snatera/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/snatera/.config/yarn/global/node_modules/v8-debug/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/snatera/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/snatera/.node-gyp/9.5.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/snatera/.node-gyp/9.5.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/snatera/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/snatera/.node-gyp/9.5.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/snatera/.config/yarn/global/node_modules/v8-debug',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/debug/src/debug.o
../src/debug.cc:41:20: warning: 'Call' is deprecated [-Wdeprecated-declarations]
v8::Debug::Call(context, fn);
^
/Users/snatera/.node-gyp/9.5.0/include/node/v8-debug.h:193:42: note: 'Call' has been explicitly marked deprecated here
static MaybeLocal<Value> Call(
^
../src/debug.cc:52:45: warning: 'GetDebugContext' is deprecated [-Wdeprecated-declarations]
Isolate* debug_isolate = v8::Debug::GetDebugContext(Isolate::GetCurrent())->GetIsolate();
^
/Users/snatera/.node-gyp/9.5.0/include/node/v8-debug.h:209:39: note: 'GetDebugContext' has been explicitly marked deprecated here
static Local<Context> GetDebugContext(Isolate* isolate));
^
../src/debug.cc:57:20: warning: 'SendCommand' is deprecated [-Wdeprecated-declarations]
v8::Debug::SendCommand(debug_isolate, *command, command.length());
^
/Users/snatera/.node-gyp/9.5.0/include/node/v8-debug.h:170:29: note: 'SendCommand' has been explicitly marked deprecated here
static void SendCommand(Isolate* isolate,
^
../src/debug.cc:71:51: warning: 'GetDebugContext' is deprecated [-Wdeprecated-declarations]
Local<Context> debug_context = v8::Debug::GetDebugContext(Isolate::GetCurrent());
^
/Users/snatera/.node-gyp/9.5.0/include/node/v8-debug.h:209:39: note: 'GetDebugContext' has been explicitly marked deprecated here
static Local<Context> GetDebugContext(Isolate* isolate));
^
../src/debug.cc:78:22: error: no member named 'GetMirror' in 'v8::Debug'
v8::Debug::GetMirror(info.GetIsolate()->GetCurrentContext(), info[0]);
~~~~~~~~~~~^
../src/debug.cc:80:38: warning: 'GetDebugContext' is deprecated [-Wdeprecated-declarations]
debug_context = v8::Debug::GetDebugContext(Isolate::GetCurrent());
^
/Users/snatera/.node-gyp/9.5.0/include/node/v8-debug.h:209:39: note: 'GetDebugContext' has been explicitly marked deprecated here
static Local<Context> GetDebugContext(Isolate* isolate));
^
5 warnings and 1 error generated.
make: *** [Release/obj.target/debug/src/debug.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/snatera/.config/yarn/global/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:160:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/usr/local/Cellar/node/9.5.0/bin/node" "/Users/snatera/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/snatera/.config/yarn/global/node_modules/v8-debug/build/debug/v1.0.1/node-v59-darwin-x64/debug.node" "--module_name=debug" "--module_path=/Users/snatera/.config/yarn/global/node_modules/v8-debug/build/debug/v1.0.1/node-v59-darwin-x64"
gyp ERR! cwd /Users/snatera/.config/yarn/global/node_modules/v8-debug
gyp ERR! node -v v9.5.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/Cellar/node/9.5.0/bin/node /Users/snatera/.config/yarn/global/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/snatera/.config/yarn/global/node_modules/v8-debug/build/debug/v1.0.1/node-v59-darwin-x64/debug.node --module_name=debug --module_path=/Users/snatera/.config/yarn/global/node_modules/v8-debug/build/debug/v1.0.1/node-v59-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/snatera/.config/yarn/global/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:160:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:943:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
node-pre-gyp ERR! System Darwin 16.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/9.5.0/bin/node" "/Users/snatera/.config/yarn/global/node_modules/v8-debug/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/snatera/.config/yarn/global/node_modules/v8-debug
node-pre-gyp ERR! node -v v9.5.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
@nodox looks like a compile error in the module, please report it to their issue tracker.
../src/debug.cc:78:22: error: no member named 'GetMirror' in 'v8::Debug'
v8::Debug::GetMirror(info.GetIsolate()->GetCurrentContext(), info[0]);
@gibfahn how do I got about reporting this?
@nodox https://www.npmjs.com/package/v8-debug - link to their bug tracker on the right.
@gibfahn Used your solution here (https://github.com/nodejs/node-gyp/issues/809#issuecomment-356900158) and it worked like a charm. Thanks so much!
Delete your $HOME/.node-gyp directory and try again.
The solution by @bnoordhuis earlier in the thread worked for me on Linux
Thanks#809 (comment). It works.
Nothing is working for me I have so many issues going on right now. I'm getting this python error.. i don't even use python?!
I resolved a similar issue with a gyp build error on CentOS 6 โ I just had to stop using the --force flag on my npm install. Apparently, using npm install --force is interpreted by node-sass to mean "build these binaries yourself even if you have cached copies."
I'm on Windows 10..Today started with me simply wanted to upload a project on heroku and database on mlab.. 10 hours later a bunch of things have broken and I can't even spin up the node server locally
I am seeing it use the wrong path. So instead of
$HOME/.nvm/versions/node/v9.10.1/lib/node_modules/node-gyp/bin/node-gyp.js
it's looking at
$HOME/.nvm/versions/node/v9.10.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
and I am using yarn. So for some reason it's resolving node-gyp as a submodule of npm instead of it globally. Now it's possible that some npm module have node-gyp as a child module, but I don't think this is the case for newer ones.
@richtera, I ran into this problem too and fixed it by downgrading from npm 5.8.0 to 5.7.0. See here: https://github.com/npm/npm/issues/20163
Ubuntu 16:
sudo apt-get install libudev-dev managed to get my npm install running without issue.
@samgranger thanks the build-essentials worked for me ... but i don't know why haha
Worked for me
npm install node-gyp --python=python2.7
npm install web3 --python=python2.7
Additionally, the S3 bucket of a dependancy was down, so I had to manually install
npm install fsevents
downgrading to Node.js version 6.11.0 stopped these errors from happening for me...
I'm on MacOS HighSierra.
So I had this issue today, and it was because I was using the Node 10.0, had to downgrade to lts Node 8.11.1 and everything does work.
Also on High Sierra.
Initially installed Node via homebrew which installed 10.0.0.
In order to get npm install working I had to:
brew uninstall nodebrew unlink nodebrew install node@8brew link --overwrite --force node@8Hey ,
A little help required here. i am not able to figure out the error while installing realm. Following is the output
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp info check checked for "/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/compiled/node-v64_darwin_x64/realm.node" (not found)
node-pre-gyp http GET https://static.realm.io/node-pre-gyp/2.1.1/realm-v2.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp http 404 https://static.realm.io/node-pre-gyp/2.1.1/realm-v2.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://static.realm.io/node-pre-gyp/2.1.1/realm-v2.1.1-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://static.realm.io/node-pre-gyp/2.1.1/realm-v2.1.1-node-v64-darwin-x64.tar.gz
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/Users/aayushanand/Documents/mobility/nucleus20/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/aayushanand/Documents/mobility/nucleus20/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/aayushanand/.node-gyp/10.0.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/aayushanand/.node-gyp/10.0.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/aayushanand/Documents/mobility/nucleus20/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/aayushanand/.node-gyp/10.0.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
TOUCH Release/obj.target/OpenSSL.stamp
ACTION binding_gyp_vendored_realm_target_download_realm /Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/vendor/realm-mac-x64
Resolved requirements: { SYNC_SERVER_FOLDER: 'sync',
SYNC_ARCHIVE: 'realm-sync-node-cocoa-2.1.10.tar.gz',
SYNC_ARCHIVE_ROOT: 'realm-sync-node-cocoa-2.1.10' }
Matching lockfile already exists at target - nothing to do (use --force to override)
Success
TOUCH Release/obj.target/vendored-realm.stamp
TOUCH Release/obj.target/realm-core.stamp
TOUCH Release/obj.target/realm-sync.stamp
CXX(target) Release/obj.target/object-store/src/object-store/src/binding_callback_thread_observer.o
CXX(target) Release/obj.target/object-store/src/object-store/src/collection_notifications.o
CXX(target) Release/obj.target/object-store/src/object-store/src/index_set.o
CXX(target) Release/obj.target/object-store/src/object-store/src/list.o
CXX(target) Release/obj.target/object-store/src/object-store/src/object.o
CXX(target) Release/obj.target/object-store/src/object-store/src/placeholder.o
CXX(target) Release/obj.target/object-store/src/object-store/src/object_schema.o
CXX(target) Release/obj.target/object-store/src/object-store/src/object_store.o
CXX(target) Release/obj.target/object-store/src/object-store/src/results.o
CXX(target) Release/obj.target/object-store/src/object-store/src/schema.o
CXX(target) Release/obj.target/object-store/src/object-store/src/shared_realm.o
CXX(target) Release/obj.target/object-store/src/object-store/src/thread_safe_reference.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/collection_change_builder.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/collection_notifier.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/list_notifier.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/object_notifier.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/primitive_list_notifier.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/realm_coordinator.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/results_notifier.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/transact_log_handler.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/weak_realm_notifier.o
CXX(target) Release/obj.target/object-store/src/object-store/src/parser/parser.o
CXX(target) Release/obj.target/object-store/src/object-store/src/parser/query_builder.o
CXX(target) Release/obj.target/object-store/src/object-store/src/util/format.o
CXX(target) Release/obj.target/object-store/src/object-store/src/util/uuid.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/apple/external_commit_helper.o
CXX(target) Release/obj.target/object-store/src/object-store/src/impl/apple/keychain_helper.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/impl/apple/network_reachability_observer.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/impl/apple/system_configuration.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/partial_sync.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_config.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_manager.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_user.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/sync_session.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/impl/sync_file.o
CXX(target) Release/obj.target/object-store/src/object-store/src/sync/impl/sync_metadata.o
LIBTOOL-STATIC Release/object-store.a
CXX(target) Release/obj.target/realm/src/js_realm.o
CXX(target) Release/obj.target/realm/src/node/node_init.o
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:306:25: error: no member named 'Callee' in 'v8::FunctionCallbackInfo<v8::Value>'
F(isolate, info.Callee(), info.This(), arguments.size(), arguments.data(), return_value);
~~~~ ^
../src/node/node_class.hpp:224:36: error: no viable conversion from 'const typename Types::PropertyGetterCallback' (aka 'void (*const)(Local<v8::String>, const PropertyCallbackInfo<v8::Value> &)') to 'Local<v8::Name>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::RealmClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_realm.hpp:333:68: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::RealmClass<realm::node::Types> >::create_constructor' requested here
FunctionType realm_constructor = ObjectWrap<T, RealmClass<T>>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const typename Types::PropertyGetterCallback' (aka 'void (*const)(Local<v8::String>, const PropertyCallbackInfo<v8::Value> &)') to 'const v8::Local<v8::Name> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const typename Types::PropertyGetterCallback' (aka 'void (*const)(Local<v8::String>, const PropertyCallbackInfo<v8::Value> &)') to 'v8::Local<v8::Name> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: could not match 'Local<type-parameter-0-0>' against 'void (*)(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value> &)'
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:43: note: passing argument to parameter 'name' here
Local<Context> context, Local<Name> name,
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:213:5: error: assigning to 'v8::Context *' from incompatible type 'v8::String *'
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:167:39: note: expanded from macro 'TYPE_CHECK'
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^~~~~~~~~~~~~~~~~~
../src/node/node_class.hpp:224:25: note: in instantiation of function template specialization 'v8::Local<v8::Context>::Local<v8::String>' requested here
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::RealmClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_realm.hpp:333:68: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::RealmClass<realm::node::Types> >::create_constructor' requested here
FunctionType realm_constructor = ObjectWrap<T, RealmClass<T>>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:224:25: error: no viable conversion from 'Local<v8::String>' to 'Local<v8::Context>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::CollectionClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_realm.hpp:334:78: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::CollectionClass<realm::node::Types> >::create_constructor' requested here
FunctionType collection_constructor = ObjectWrap<T, CollectionClass<T>>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: substitution failure [with S = v8::String]
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:22: note: passing argument to parameter 'context' here
Local<Context> context, Local<Name> name,
^
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:224:25: error: no viable conversion from 'Local<v8::String>' to 'Local<v8::Context>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::ListClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_realm.hpp:335:66: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::ListClass<realm::node::Types> >::create_constructor' requested here
FunctionType list_constructor = ObjectWrap<T, ListClass<T>>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: substitution failure [with S = v8::String]
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:22: note: passing argument to parameter 'context' here
Local<Context> context, Local<Name> name,
^
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:224:25: error: no viable conversion from 'Local<v8::String>' to 'Local<v8::Context>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::ResultsClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_realm.hpp:336:72: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::ResultsClass<realm::node::Types> >::create_constructor' requested here
FunctionType results_constructor = ObjectWrap<T, ResultsClass<T>>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: substitution failure [with S = v8::String]
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:22: note: passing argument to parameter 'context' here
Local<Context> context, Local<Name> name,
^
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:224:25: error: no viable conversion from 'Local<v8::String>' to 'Local<v8::Context>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::RealmObjectClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_realm.hpp:337:81: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::RealmObjectClass<realm::node::Types> >::create_constructor' requested here
FunctionType realm_object_constructor = ObjectWrap<T, RealmObjectClass<T>>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: substitution failure [with S = v8::String]
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:22: note: passing argument to parameter 'context' here
Local<Context> context, Local<Name> name,
^
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:224:25: error: no viable conversion from 'Local<v8::String>' to 'Local<v8::Context>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::SyncClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_sync.hpp:573:66: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::SyncClass<realm::node::Types> >::create_constructor' requested here
FunctionType sync_constructor = ObjectWrap<T, SyncClass<T>>::create_constructor(ctx);
^
../src/js_realm.hpp:346:51: note: in instantiation of member function 'realm::js::SyncClass<realm::node::Types>::create_constructor' requested here
FunctionType sync_constructor = SyncClass<T>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: substitution failure [with S = v8::String]
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:22: note: passing argument to parameter 'context' here
Local<Context> context, Local<Name> name,
^
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:224:25: error: no viable conversion from 'Local<v8::String>' to 'Local<v8::Context>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::UserClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_sync.hpp:576:86: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::UserClass<realm::node::Types> >::create_constructor' requested here
Object::set_property(ctx, sync_constructor, "User", ObjectWrap<T, UserClass<T>>::create_constructor(ctx), attributes);
^
../src/js_realm.hpp:346:51: note: in instantiation of member function 'realm::js::SyncClass<realm::node::Types>::create_constructor' requested here
FunctionType sync_constructor = SyncClass<T>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: substitution failure [with S = v8::String]
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:22: note: passing argument to parameter 'context' here
Local<Context> context, Local<Name> name,
^
In file included from ../src/node/node_init.cpp:19:
In file included from ../src/node/node_init.hpp:29:
../src/node/node_class.hpp:224:25: error: no viable conversion from 'Local<v8::String>' to 'Local<v8::Context>'
target->SetAccessor(prop_name, property.getter, property.setter ? property.setter : set_readonly_property, v8::Local<v8::Value>(), v8::DEFAULT, attributes);
^~~~~~~~~
../src/node/node_class.hpp:139:9: note: in instantiation of function template specialization 'realm::node::ObjectWrap<realm::js::SessionClass<realm::node::Types> >::setup_property<v8::Object>' requested here
setup_property<v8::Object>(constructor, pair.first, pair.second);
^
../src/js_sync.hpp:577:92: note: in instantiation of member function 'realm::node::ObjectWrap<realm::js::SessionClass<realm::node::Types> >::create_constructor' requested here
Object::set_property(ctx, sync_constructor, "Session", ObjectWrap<T, SessionClass<T>>::create_constructor(ctx), attributes);
^
../src/js_realm.hpp:346:51: note: in instantiation of member function 'realm::js::SyncClass<realm::node::Types>::create_constructor' requested here
FunctionType sync_constructor = SyncClass<T>::create_constructor(ctx);
^
../src/node/node_init.cpp:27:72: note: in instantiation of member function 'realm::js::RealmClass<realm::node::Types>::create_constructor' requested here
v8::Local<v8::Function> realm_constructor = js::RealmClass<Types>::create_constructor(isolate);
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:202:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::Local<v8::String>' to 'v8::Local<v8::Context> &&' for 1st argument
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:206:13: note: candidate template ignored: substitution failure [with S = v8::String]
V8_INLINE Local(Local<S> that)
^
/Users/aayushanand/.node-gyp/10.0.0/include/node/v8.h:3215:22: note: passing argument to parameter 'context' here
Local<Context> context, Local<Name> name,
^
10 errors generated.
make: *** [Release/obj.target/realm/src/node/node_init.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/aayushanand/Documents/mobility/nucleus20/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:225:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/usr/local/Cellar/node/8.2.1/bin/node" "/Users/aayushanand/Documents/mobility/nucleus20/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/compiled/node-v64_darwin_x64/realm.node" "--module_name=realm" "--module_path=/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/compiled/node-v64_darwin_x64"
gyp ERR! cwd /Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm
gyp ERR! node -v v10.0.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/Cellar/node/8.2.1/bin/node /Users/aayushanand/Documents/mobility/nucleus20/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/compiled/node-v64_darwin_x64/realm.node --module_name=realm --module_path=/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/compiled/node-v64_darwin_x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/aayushanand/Documents/mobility/nucleus20/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:947:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:236:5)
node-pre-gyp ERR! System Darwin 16.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/8.2.1/bin/node" "/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm
node-pre-gyp ERR! node -v v10.0.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/8.2.1/bin/node /Users/aayushanand/Documents/mobility/nucleus20/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/aayushanand/Documents/mobility/nucleus20/node_modules/realm/compiled/node-v64_darwin_x64/realm.node --module_name=realm --module_path=/
@aayushanand99 see my comment or @GheorgheP comment above. Your issue looks similar.
Hello!
I too have the same problem. Have done ALL the solutions above, to no avail.
Here is the output of npm install:
[email protected] install /home/centos/fiware/node_modules/mmmagic
node-gyp rebuild
make: Entering directory /home/centos/fiware/node_modules/mmmagic/build'
CC(target) Release/obj.target/libmagic/deps/libmagic/src/apprentice.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/apptype.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/ascmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/cdf_time.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/compress.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/der.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/encoding.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/fsmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/funcs.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/is_tar.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/magic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/print.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/readcdf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/readelf.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/softmagic.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/fmtcheck.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcat.o
CC(target) Release/obj.target/libmagic/deps/libmagic/src/strlcpy.o
AR(target) Release/obj.target/deps/libmagic/magic.a
COPY Release/magic.a
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_byte_order.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_chartables.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_compile.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_config.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_dfa_exec.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_exec.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_fullinfo.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_get.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_globals.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_jit_compile.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_maketables.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_newline.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_ord2utf8.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_refcount.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_string_utils.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_study.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_tables.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_ucd.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_valid_utf8.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_version.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcre_xclass.o
CC(target) Release/obj.target/libpcre/deps/libmagic/pcre/pcreposix.o
AR(target) Release/obj.target/deps/libmagic/pcre/pcre.a
COPY Release/pcre.a
CXX(target) Release/obj.target/magic/src/binding.o
cc1plus: error: unrecognized command line option "-std=gnu++1y"
make: *** [Release/obj.target/magic/src/binding.o] Error 1
make: Leaving directory/home/centos/fiware/node_modules/mmmagic/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/centos/.nvm/versions/node/v10.0.0/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:225:12)
gyp ERR! System Linux 2.6.32-696.23.1.el6.x86_64
gyp ERR! command "/home/centos/.nvm/versions/node/v10.0.0/bin/node" "/home/centos/.nvm/versions/node/v10.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/centos/fiware/node_modules/mmmagic
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/centos/.npm/_logs/2018-05-03T15_24_26_950Z-debug.log
node.js v10.0.0
npm v5.6.0
I am using nvm to install node.js and the prefix points to /home/centos/.nvm/versions/node/v10.0.0. Does it have anything to do with it? Help, please. Thanks.
@daveabes' solution up there fixed the problem for me, running node 8.11.1, npm 6.0.0 on a pi.
sudo apt install libudev-dev && npm install
I had a problem with node version
Wasn't working on 10.0.1 something like that, nor was it working on 8.1.3 but it worked on 9.11.1
Anyway, check your node version :D
@GheorgheP I very much suspect might be same thing happening to me. I'm on Node 10. Didn't have issues on the 8 or 6.
But well, I'm not going back an inch though. Will wait till it comes up to speed with Node
For me the issue only happens with the latest 10.0.1 node. I used nvm to install v8.11.2 and it worked like a charm.
I can confirm, installing node LTS 8.x.x solves all the issues.
Yep, we (@btruong and I) can confirm downgrading to LTS 8.x.x fixed this issue for us.
Hi, have same issue.
Rollback to node 8.* did not help.
```> [email protected] install /Users/@USERNAME@/Coding/projectName/node_modules/node-expat
node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last):
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 16, in
sys.exit(gyp.script_main())
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main
return main(sys.argv[1:])
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main
return gyp_main(args)
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
self.Pchify))
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
File "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion
version = re.match(r'(\d.\d.?\d*)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.6.0
gyp ERR! command "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/bin/node" "/usr/local/Cellar/nvm/0.33.11/versions/node/v8.11.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/@USERNAME@/Coding/projectName/node_modules/node-expat
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/@USERNAME@/.npm/_logs/2018-06-08T15_54_00_811Z-debug.log```
@andrewMuntyan Are you on macOS? I think your error is https://github.com/nodejs/node-gyp/issues/1454 which has been fixed in node-gyp 3.6.3 (via https://github.com/nodejs/node-gyp/pull/1455).
I'm getting compilation errors when executing 'npm install --save realm' See below:
XCode version 9.2. Is this a known issue? Do you have binaries so we don't need to compile the source?
Compile errors:
./src/node/node_class.hpp:306:25: error: no member named 'Callee' in 'v8::FunctionCallbackInfo
F(isolate, info.Callee(), info.This(), arguments.size(), arguments.data(), return_value);
@FredOleary you should ask over at https://github.com/realm/realm-js
After searching for a while, this was the best solution I could find out there.
Run this in Windows PowerShell as administrator:
npm install --global --production windows-build-tools && npm install
It should install Python and you can easily add that command to your package.json scripts.
Found it here: https://westerndevs.com/JavaScript/How-to-Fix-node-gyp-Error-on-Windows/
Pretty handy since it only requires node and npm which I assume everyone has at this point haha. c:
tried with node 8, 9, 10 - all same @cili93
make: Entering directory '/var/www/html/.../node_modules/sharp/build'
TOUCH Release/obj.target/libvips-cpp.stamp
CXX(target) Release/obj.target/sharp/src/common.o
make: g++: Command not found
sharp.target.mk:120: recipe for target 'Release/obj.target/sharp/src/common.o' failed
make: *** [Release/obj.target/sharp/src/common.o] Error 127
make: Leaving directory '/var/www/html/.../node_modules/sharp/build'
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:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.4.0-130-generic
my setup has following params:
$ npm config set python /usr/bin/python2.7
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
$ uname -a
Linux 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
@shershen08 Have you googled this part of the error make: g++: Command not found ?
You are dancing with python, I wasn't when I had that error so it might be different
This problem has to do with the system. It's going to happen on a 32-bit system. try 64-bit
ahahahha god damn, try opening terminal with right click :D
If you happens this error at Heroku app with Nodejs and Python buildpacks:
try to set the packs order to this and build. This step can install the modules.
I failed when I set as:
but you need to change the order back to the following if you run nodejs as the main program.
Happy hacking! :)
just export LDFLAGS=-L/usr/local/opt/openssl/lib in terminal solved my issue
MacOS 10.13
python 2.7
nvm
node 9.11.1
I had similar errors popping up while trying to install node-sass. In my case I had to run the command under root privileges:
sudo yarn add --dev node-sass
pi@raspberrypi:~/MagicMirror/modules/MMM-AssistantMk2 $ ./node_modules/.bin/electron-rebuild
โ Rebuild Failed
An unhandled error occurred inside electron-rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | arm
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0',
gyp info spawn args '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0/<(target_arch)/iojs.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: ใใฃใฌใฏใใช '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build'ใใซๅ
ฅใใพใ
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack_builder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/connected_channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/status_util.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_internal.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/message_compress.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_gzip.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_identity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats_data.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/format_request.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/call_combiner.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/combiner.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epoll1_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollex_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollsig_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_poll_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/exec_ctx.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_fallback.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_host_name_max.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_sysconf.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iocp_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_internal.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/is_epollexclusive_available.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/load_file.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/lockfree_event.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/network_status_tracker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/polling_entity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resource_quota.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/sockaddr_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_factory_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_mutator.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_common_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/time_averaged_stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_generic.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_heap.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_manager.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/udp_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix_noop.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_cv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_eventfd.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_nospecial.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_pipe.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_reader.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_writer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/b64.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/percent_encoding.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_buffer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_intern.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_string_helpers.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/api_trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer_reader.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_details.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_log_batch.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_init.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_ping.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_stack_type.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/event_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/lame_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/metadata_array.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/validate_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/version.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/bdp_estimator.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/byte_stream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/connectivity_state.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/error_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata_batch.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/pid_controller.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/service_config.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/static_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_conversion.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/timeout_encoding.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport_op_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/bin_decoder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/bin_encoder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/flow_control.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_data.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_goaway.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_ping.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_rst_stream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_settings.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_window_update.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_encoder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_table.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/http2_settings.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/huffsyms.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/incoming_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/parsing.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/stream_lists.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/stream_map.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/varint.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/writing.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/alpn/alpn.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/client/http_client_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/http_filters_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/message_compress/message_compress_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/server/http_server_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli_security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/context/security_context.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/alts_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/composite/composite_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/credentials_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/fake/fake_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/google_default/credentials_generic.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/google_default/google_default_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/iam/iam_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/jwt/json_token.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/jwt/jwt_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/jwt/jwt_verifier.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/local/local_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/oauth2/oauth2_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/plugin/plugin_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/ssl/ssl_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/security_connector/alts_security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/security_connector/local_security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/security_connector/security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/client_auth_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/secure_endpoint.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/security_handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/server_auth_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/target_authority_table.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/tsi_error.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/util/json_util.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init_secure.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/crypt/aes_gcm.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/crypt/gsec.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_counter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_crypter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_frame_protector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/frame_handler.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_tsi_event.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_tsi_handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_service_api.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_tsi_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/transport_security_common_api.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/altscontext.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/handshaker.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/transport_security_common.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/third_party/nanopb/pb_common.o
CC(target) Release/obj.target/grpc/deps/grpc/third_party/nanopb/pb_decode.o
CC(target) Release/obj.target/grpc/deps/grpc/third_party/nanopb/pb_encode.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/insecure/channel_create.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/authority.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/chttp2_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/backup_poller.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/channel_connectivity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel_channelz.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/http_connect_handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/http_proxy.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/method_params.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/parse_address.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/proxy_mapper.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/proxy_mapper_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/retry_throttle.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/subchannel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/subchannel_index.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/uri_parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/deadline/deadline_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/fake_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/local_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl/session_cache/ssl_session_boringssl.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl/session_cache/ssl_session_cache.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl/session_cache/ssl_session_openssl.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/transport_security_grpc.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/chttp2_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/secure/secure_channel_create.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/insecure/server_chttp2.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/inproc/inproc_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/inproc/inproc_transport.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.o
make: *** 'Release/obj.target/libgrpc.a' ใซๅฟ
่ฆใชใฟใผใฒใใ 'Release/obj.target/grpc/deps/grpc/src/cpp/ext/filters/census/grpc_context.o' ใ make ใใใซใผใซใใใใพใใ. ไธญๆญข.
make: ใใฃใฌใฏใใช '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build' ใใๅบใพใ
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.14.62-v7+
gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/.bin/node-gyp" "rebuild" "--target=2.0.0" "--arch=arm" "--dist-url=https://atom.io/download/electron" "--build-from-source" "--module_name=grpc_node" "--module_path=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc" "--host=https://node-precompiled-binaries.grpc.io/" "--remote_path={name}/v1.14.1" "--package_name=electron-v2.0-linux-arm-glibc.tar.gz"
gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc
gyp ERR! node -v v9.11.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Failed with exit code: 1
Error: gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | arm
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0',
gyp info spawn args '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0/<(target_arch)/iojs.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: ใใฃใฌใฏใใช '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build'ใใซๅ
ฅใใพใ
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack_builder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/connected_channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/status_util.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_internal.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/message_compress.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_gzip.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_identity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats_data.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/format_request.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/call_combiner.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/combiner.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epoll1_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollex_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollsig_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_poll_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/exec_ctx.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_fallback.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_host_name_max.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_sysconf.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iocp_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_internal.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/is_epollexclusive_available.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/load_file.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/lockfree_event.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/network_status_tracker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/polling_entity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_set_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/pollset_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resolve_address_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/resource_quota.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/sockaddr_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_factory_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_mutator.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_common_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_utils_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/socket_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_client_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_server_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/tcp_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/time_averaged_stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_custom.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_generic.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_heap.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_manager.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/timer_uv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/udp_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/unix_sockets_posix_noop.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_cv.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_eventfd.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_nospecial.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_pipe.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/wakeup_fd_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_reader.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/json/json_writer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/b64.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/percent_encoding.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_buffer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_intern.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/slice/slice_string_helpers.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/api_trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/byte_buffer_reader.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_details.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/call_log_batch.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_init.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_ping.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/channel_stack_type.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/completion_queue_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/event_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/lame_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/metadata_array.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/validate_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/version.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/bdp_estimator.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/byte_stream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/connectivity_state.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/error_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/metadata_batch.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/pid_controller.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/service_config.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/static_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_conversion.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/status_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/timeout_encoding.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/transport/transport_op_string.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/trace.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/bin_decoder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/bin_encoder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/flow_control.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_data.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_goaway.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_ping.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_rst_stream.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_settings.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/frame_window_update.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_encoder.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/hpack_table.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/http2_settings.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/huffsyms.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/incoming_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/parsing.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/stream_lists.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/stream_map.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/varint.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/transport/writing.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/alpn/alpn.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/client/http_client_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/http_filters_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/message_compress/message_compress_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/http/server/http_server_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli_security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/context/security_context.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/alts_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/composite/composite_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/credentials_metadata.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/fake/fake_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/google_default/credentials_generic.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/google_default/google_default_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/iam/iam_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/jwt/json_token.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/jwt/jwt_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/jwt/jwt_verifier.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/local/local_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/oauth2/oauth2_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/plugin/plugin_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/ssl/ssl_credentials.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/security_connector/alts_security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/security_connector/local_security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/security_connector/security_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/client_auth_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/secure_endpoint.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/security_handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/server_auth_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/target_authority_table.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/transport/tsi_error.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/util/json_util.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init_secure.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/crypt/aes_gcm.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/crypt/gsec.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_counter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_crypter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_frame_protector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/frame_protector/frame_handler.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_client.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_tsi_event.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_tsi_handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment_linux.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/check_gcp_environment_windows.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_service_api.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/alts_tsi_utils.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/transport_security_common_api.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/altscontext.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/handshaker.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts/handshaker/transport_security_common.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/third_party/nanopb/pb_common.o
CC(target) Release/obj.target/grpc/deps/grpc/third_party/nanopb/pb_decode.o
CC(target) Release/obj.target/grpc/deps/grpc/third_party/nanopb/pb_encode.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/insecure/channel_create.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/authority.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/chttp2_connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/backup_poller.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/channel_connectivity.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel_channelz.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/client_channel_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/connector.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/http_connect_handshaker.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/http_proxy.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy_factory.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/method_params.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/parse_address.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/proxy_mapper.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/proxy_mapper_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver_registry.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/retry_throttle.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/subchannel.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/subchannel_index.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/uri_parser.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/deadline/deadline_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/alts_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/fake_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/local_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl/session_cache/ssl_session_boringssl.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl/session_cache/ssl_session_cache.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl/session_cache/ssl_session_openssl.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/ssl_transport_security.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/tsi/transport_security_grpc.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/chttp2_server.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/client/secure/secure_channel_create.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/insecure/server_chttp2.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/inproc/inproc_plugin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/transport/inproc/inproc_transport.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.o
CC(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.o
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.o
make: *** 'Release/obj.target/libgrpc.a' ใซๅฟ
่ฆใชใฟใผใฒใใ 'Release/obj.target/grpc/deps/grpc/src/cpp/ext/filters/census/grpc_context.o' ใ make ใใใซใผใซใใใใพใใ. ไธญๆญข.
make: ใใฃใฌใฏใใช '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build' ใใๅบใพใ
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.14.62-v7+
gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/.bin/node-gyp" "rebuild" "--target=2.0.0" "--arch=arm" "--dist-url=https://atom.io/download/electron" "--build-from-source" "--module_name=grpc_node" "--module_path=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc" "--host=https://node-precompiled-binaries.grpc.io/" "--remote_path={name}/v1.14.1" "--package_name=electron-v2.0-linux-arm-glibc.tar.gz"
gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc
gyp ERR! node -v v9.11.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Failed with exit code: 1
at SafeSubscriber._error (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/spawn-rx/lib/src/index.js:277:84)
at SafeSubscriber.__tryOrUnsub (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:242:16)
at SafeSubscriber.error (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:201:26)
at Subscriber._error (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:132:26)
at Subscriber.error (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:106:18)
at MapSubscriber.Subscriber._error (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:132:26)
at MapSubscriber.Subscriber.error (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:106:18)
at SafeSubscriber._next (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/spawn-rx/lib/src/index.js:251:65)
at SafeSubscriber.__tryOrSetError (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:251:16)
at SafeSubscriber.next (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/rxjs/Subscriber.js:191:27)
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
It is a list of things I tried.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
npm install -g node-gyp
sudo npm install -g node-gyp
sudo apt-get install gcc-5
These things did not become a means to solve the problem.
the same issue:
npm i utf-8-validate
throws an error
gyp ERR! stack Error: `make` failed with exit code: 2
mac os x, node v10.4.1 through nvm.
just downgrade node version 8 on mac
@alexey-sh I have the same problem
@isha93 how to do this?
just downgrade your node version bro @mesqueeb
but it's wokr on mac in my case
@isha93 How to downgrade the node version bro
sudo npm cache clean -f
sudo npm install -g n
sudo n 8.11.1
try this @mesqueeb
My many hours of pain ended with a pretty simple fix after nothing in this thread (and many others!) worked.
_Check your package.json for modules you're no longer using._ I was having issues already with vue-highlightjs and had previously uninstalled it, only to later try to install packages and receive this error. Upon the removal of the respective entry from my dependencies I could yarn without any issues.
Running Manjaro on kernel 4.14.71-1-MANJARO with Node.js 10.11.0, NPM 6.4.1, node-gyp 3.8.0, Yarn 1.9.4, and nvm 0.33.11. Time to go have dinner.
This worked for me: (original comment by @dwieeb)
@smallg You're getting permission errors for
/usr/local/lib/node_modules. This is not an ionic issue, but an issue with your npm setup. See the npm docs: https://docs.npmjs.com/getting-started/fixing-npm-permissionsYou can also do the following:
sudo chown -R $(whoami):staff /usr/local/lib/node_modulesThis will change the directory owner to be your personal account. Then, never use
sudowithnpm.
https://github.com/ionic-team/ionic-cli/issues/3127#issuecomment-387791251
For me, after I Downgrade the node's version it works finally.
$ brew install node@8 // install node8
$ brew unlink node // unlink old one
$ brew link node@8 // link node version 8
$ brew link --overwrite --force node@8 // force link version 8
Here are two reference page about Downgrade Node and force link to node 8.
@isha93 How to downgrade the node version bro
use nvm to manage node versions...it's super awessome
http://nvm.sh
Just in case anyone else wants to try a different solution, installing g++ with sudo apt-get install g++
solved this issue for me.
I did yarn instead of npm install....and it worked
For me, just deleting the
~/.node-gypfolder, then runningnpm updateon my project solved the problem (without rebooting). Thank for the trick!
it works
For me, after I Downgrade the node's version it works finally.
$ brew install node@8// install node8
$ brew unlink node// unlink old one
$ brew link node@8// link node version 8
$ brew link --overwrite --force node@8// force link version 8Here are two reference page about Downgrade Node and force link to node 8.
I was using node v11 as default from homebrew, and downgrading to node@10 works! thanx
I've noticed node-gyp tends to get it's wires crossed sometimes when I upgrade packages that use it, and has to be removed (rm -rf node_modules) and re-installed in order to work correctly.
I've had this issue with node-sass before, and now I ran into it again with ionic.
I could be wrong, but I believe there is something in there running a c/c++ compiler to create files that are specific to your local system, and for some reason updating dependencies throws those compiled files out of whack. They live in either the node_modules folder or the $HOME/.node-gyp folder so removing those folders and reinstalling has always fixed the problem for me.
yum install gcc-c++
Running this solved the problem for me.
Removing $HOME/.node-gyp worked for me. I think there were node version mismatch issues.
I received the following error:
[email protected] install: node-gyp rebuild
A few lines below it, I received this error which I failed to read:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Solution: Installed xcode
i had solved this by downgrading the node and npm versions
node - v10.14.2
npm - 6.5.0
i had downgraded to below versions
node - v8.11.3
npm - 5.6.0
this issue will be resolved,please try if any one still facing the issue
This is what worked for me on Windows:
I'm hitting this issue with the downgraded versions of node - v8.11.3 and
npm - 5.6.0.
Any other ideas?
do not have a space in my filepath. I deleted the ~/.node-gyp folder . Restarted my computer. Then tried again and still didnt work.
Can someone help me.
@nidhi-singh02
Please check the version of nodejs and npm in above comments and compare with yours
Downgrade or upgrade the packages accordingly.
I fix this disabling pyton3 by default in my shell config.
I tried by upgrading or downgrading the version of node , but nothing helped.
There was a mismatch between the version which I was installing and the versions mentioned in package.json file.
I tried installing the version specified in package.json file to new path by removing all the exisiting paths. It solved my problem.
Its been 4 years now, and still this issue remains??
How is the issue closed when it's clearly still a problem?
Downgrade to a once semi-usable version of NodeJS (v8^) and delete node v10^ artifacts:
rm -rf ~/.node-gyp
rm ~/.npmrc
rm -rf ~/npm
rm -rf node_modules # <- in project folder
sudo apt-get remove nodejs
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
sudo apt-get install -y nodejs
It will work with npm install and yarn install then.
I should note that I also installed build-essentials and libkrb5-dev as per comments above, AND have set the python version to 2.7 like so: npm config set python /usr/bin/python2.7, just because I was following along with all the comments and trying everything.
No restart was necessary.
What a sad, sorry state we've driven the industry into when it's more complex to "compile" a bunch of code written in a toy language than it was to parse punch cards in the 1970s or develop a censorship-resistant world computer.
I had similar issues on Ubuntu 14.04, after trying everything here I finally solved it by running:
sudo apt-get install build-essential
As is recommended here: https://nodejs.org/en/download/package-manager/
Thanks, this has fixed the issue for me...
sudo npm i
I had to downgrade my node version, I used nvm as suggested by @knoxcard and it worked.
In my setup, the error was a python one.
I has a conda environment activated that used python 3.6, while the code required 2.7
If you don't want to change your conda setup, this will allow you to go through with the installation:
PATH=/usr/bin:$PATH yarn install
Otherwise just run without conda enabled, or switch to a 2.7 environement.
Platform: OSX 10.14.3
node: 11.11.0
yarn: 1.13.0
conda: 4.6.7
Why this issue is closed an still occur ? I tested on two version, node 8 and 10 and is the same issue.
This is unacceptable. After 4 year nobody found a solution for this ? Not even a workaround, nothing work. Shame !!
Why this issue is closed an still occur ? I tested on two version, node 8 and 10 and is the same issue.
This is unacceptable. After 4 year nobody found a solution for this ? Not even a workaround, nothing work. Shame !!
Me too. Still have this error. ๐
This error is still bothering me and I've spent way too much time with finding a solution without having to reinstall Windows. If anyone is having trouble installing a specific package and don't have time to fix this error, I found a work around by just using another package manager; switching to yarn add package-name worked for me. I will eventually reinstall windows to fix this error, which is annoying.
yum install gcc-c++Running this solved the problem for me.
in fedora 29 this solved a big part of problem thx !!
Running npm audit fix or npm audit fix --force solved the problem for me
For me, just deleting the
~/.node-gypfolder, then runningnpm updateon my project solved the problem (without rebooting). Thank for the trick!
fk yeah boy worked for me
npm install --global --production windows-build-tools
solved my problem
I am not seeing here any concrete answer for this Problem.
Same thing for me
In my case on windows10, npm install --global --production windows-build-tools didn't really solved the problem as the installation freezed somewhere. So I just installed python2.7 only and it was ok.
At work, I use version 19.04 of Unbuntu and Node.js v12 (even if I use a previous version of node.js it does not change anything in my case).
Python 2.6 is no longer available in official repositories. This repo indicated by many tutorial "ppa: fkrull / deadsnakes" does not contain a compatible version for my Unbuntu version.
Finally with the version 2.7 of Python (installed by default on my version of Ubuntu), I have the same build error as for the author of this post. Same thing with Python 3.0
As for me, I got such error in Gitlab CI pipeline npm install command execution.
I suppose it occured because of security vulnerabilities in project dependencies. (Locally everything worked as it should).
Found out about the cause of error after deleting package.lock.json file, commit&push to the origin and succeeded pipeline with npm warning about missing .lock file.
Fixed it by:
package.lock.json file and node_modules directory;npm install;npm audit fix;package.lock.json file;@Werald same steps work for yarn as well
Interesting to note that this issue still persists. After attempting all the possible combinations of solutions (modify ~/.npmrc, remove ~/.node-gyp, clear the npm cache, delete node_modules and even restart the system), what worked with me was downgrading the node.
For me the error mentioned the version numbers like:
gyp ERR! System Darwin 17.7.0
gyp ERR! node -v v12.1.0
gyp ERR! node-gyp -v v3.8.0
I believe the versions mentioned in the log for node and node-gyp are incompatible. So I reverted to an older node version which worked like a charm.
npm install -g [email protected]
There should be a clear documentation describing breaking changes and compatibility issues between the two.
Hi there. I have tried every solution with thumbs-ups but downgrading Node, and nothing works for me. I'm having the following error, and I think it is in __node-gyp__ too. I'm in a Mac machine with macOS Mojave 10.14.4, Node 12.1.0, and NPM 6.9.0. I have just made a brew upgrade and an npm -g update.

Downgrading Node works fine.
@timbergus That is not a node-gyp issue. Whatever module you are compiling needs to be updated to work with Node.js 12.
Could be __node-sass__? It compiles every time I install it.
Could be node-sass? It compiles every time I install it.
Could be. node-sass v4.12.0 adds support for Node.js 12: https://github.com/sass/node-sass/releases/tag/v4.12.0
Thanks, @richardlau. I will try to follow __node-sass__ [email protected]__ compatibility issues.
This has done the job
Node 12.1.0, npm 6.9.0
Remove node-gyp
Update to node-sass 4.12.0
npm update
npm audit fix --force
After trying a gazillion things, only @punitnathani's solution worked for me.
tried pretty much every suggestion and nothing works :/ anyone has a working solution without downgrading node?
@kukoman: If it is node-sass, upgrading it (node-sass) usually solved these issues for me.
@strarsis did try to downgrade node-sass, removing it, reinstalling, deleting cache, removing and reinstalling gyp... still no joy :/
@kukoman: No, upgrade node-sass to the latest version (4.12.0 (atw), see https://www.npmjs.com/package/node-sass).
In my case,
I removed package-lock.json and node_modules folder. and npm install
tada! everything works fine
Nothing of what suggested above worked for me, however, I solved my issue switching to a different node version (e.g. using nvm).
same here, I had to recreate the whole project
On Fri, 24 May 2019 at 12:18, Francesco Belvedere notifications@github.com
wrote:
Nothing of what suggested above worked for me, however, I solved my issue
switching to a different node version (using nvm).โ
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nodejs/node-gyp/issues/809?email_source=notifications&email_token=AB65NBJZKWKPOTNB7ZD5CTLPW66GXA5CNFSM4BTZHD42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWE2LKA#issuecomment-495560104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB65NBMWOUG2F55WO7XY62DPW66GXANCNFSM4BTZHD4Q
.
Switching from nodev12.3.1 to v8.16.0 with nvm solved this for me.
Thanks @belvederef :tada:
used nvm and downgraded to node v11.10.0, which solved my problem
I always have a problem to rebuild a old ember app despite a yarn.lock because of this package, unacceptable...
@woprandi: The system itself differs from the one where the bindings compilation worked,
so it fails, this shouldn't happen, but this package has this kind of issue.
You could try to install the app dependencies inside a VM/container that runs on an older *nix distribution (from which you know that it worked in the past) and hopefully it compiles.
Only @punitnathani's solution worked for me. Downgrade from [email protected]
to
npm install -g [email protected]
For me as well @pthornhi . I had spent, probably, a few days for experiments...
Follow these steps to resolve the issue.
1: Make sure you have build-tools installed.
2: Update node-gyp
3: Delete package-lock.json and node modules folder and run npm install again.
4: Deleting ~/.node-gyp folder and run npm install again.
Source: https://codeforgeek.com/make-failed-with-exit-code-2/
For those who are using AMI 2, I resolve it using
sudo yum groupinstall "Development Tools"
Since my errors were
make: Entering directory `/home/www/tieza-queue/notification/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
make: g++: Command not found
make: *** [Release/obj.target/fibers/src/fibers.o] Error 127
make: Leaving directory `/home/www/tieza-queue/notification/node_modules/fibers/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/ec2-user/.nvm/versions/node/v10.15.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.14.114-105.126.amzn2.x86_64
gyp ERR! command "/home/ec2-user/.nvm/versions/node/v10.15.3/bin/node" "/home/ec2-user/.nvm/versions/node/v10.15.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/www/tieza-queue/notification/node_modules/fibers
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
Alpine users please run: `sudo apk add python make g++`
sh: nodejs: command not found
npm WARN [email protected] requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ec2-user/.npm/_logs/2019-06-20T07_19_19_837Z-debug.log
@pthornhi its worked for me.
I am getting below error while installing btlejuice.
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.0-kali4-amd64
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/btlejuice/node_modules/bluetooth-hci-socket
gyp ERR! node -v v10.15.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Gotta love hundreds of people checking in on a closed issue to no avail. Good maintainer ethics!
This page is for that specific issue from 3yrs ago, which was solved. It is not catch-all place for all node-gyp failures. If you have issues with building a node module:
Most helpful comment
Delete your
$HOME/.node-gypdirectory and try again.Aside, many tools don't handle spaces in path names well (
/Users/ernest son/...).