Hi,
As mentioned in the title I cannot end up cleanly with npm install !
I have clone your repository, then cd into it.
Then type: git branch chapter-4 and finally:
npm istall
The last command end with an issue and I cannot study your book.
I am with node version: 10.9.0
I am on Mac OSX: 10.13.6
Here is the output:
======8< ------------------- >8 ====================
npm install
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/chokidar/node_modules/fsevents
node install
[fsevents] Success: "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
gypgyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gypgyp WARN downloadWARN NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gypgyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
CXX(target) Release/obj.target/fse/fsevents.o
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h::192192:
:
../../nan/nan_maybe_43_inl.h:112../../nan/nan_maybe_43_inl.h::15112:: 15: errorerror: : nono membermember namednamed 'ForceSet''ForceSet' in 'v8::Object'in
'v8::Object'
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
~~~ ^
~~~ ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:834:18In file included from : ../fsevents.cc:6warning:
: ../../nan/nan.h:'MakeCallback'834 :is18 :deprecated: Use warningMakeCallback(...,: async_context) [-Wdeprecated-declarations]'MakeCallback'
is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
return node::MakeCallback(
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:/Users/mic/.node-gyp/10.9.0/include/node/node.h171::1711::1 : note: note: 'MakeCallback' 'MakeCallback'has hasbeen beenexplicitly explicitlymarked markeddeprecated heredeprecated
here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: note: ^expanded from macro 'NODE_DEPRECATED'
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: attribute((deprecated(message))) declarator
note ^:
expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:849:18: In file included from ../fsevents.cc:warning6: :
../../nan/nan.h'MakeCallback': 849is: 18deprecated:: Use MakeCallback(...,warning : async_context) [-Wdeprecated-declarations]'MakeCallback'
is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback(
/Users/mic/.node-gyp/10.9.0/include/node/node.h: return node::MakeCallback(164
:1: ^
note: 'MakeCallback'/Users/mic/.node-gyp/10.9.0/include/node/node.h :has164 :been1 :explicitly marked notedeprecated: here'MakeCallback'
has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88NODE_DEPRECATED("Use MakeCallback(..., async_context)",:
20:^
note: expanded from/Users/mic/.node-gyp/10.9.0/include/node/node.h:88 :20macro: 'NODE_DEPRECATED'
note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
attribute((deprecated(message))) declarator
^
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
../../nan/nan.h../../nan/nan.h::864864::1818:: warningwarning: : 'MakeCallback''MakeCallback' isis deprecated:deprecated: UseUse MakeCallback(...,MakeCallback(..., async_context)async_context) [-Wdeprecated-declarations][-Wdeprecated-declarations]
return node::MakeCallback(
return node::MakeCallback( ^
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:157:1: /Users/mic/.node-gyp/10.9.0/include/node/node.h:note: 157:'MakeCallback'1 has: been explicitly note: marked 'MakeCallback'deprecated hashere been
explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:NODE_DEPRECATED("Use MakeCallback(..., async_context)",20
: ^
note: expanded from /Users/mic/.node-gyp/10.9.0/include/node/node.hmacro: 88'NODE_DEPRECATED':20
: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
attribute((deprecated(message))) declarator
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return scope.Escape(node::MakeCallback(
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
In file included from ../fsevents.cc:6:
attribute((deprecated(message))) declarator
../../nan/nan.h ^:
1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return scope.Escape(node::MakeCallback(
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
4 warnings and 1 error generated.
4 warnings and 1 error generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
make: *** [Release/obj.target/fse/fsevents.o] Error 1
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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gypgyp ERR! commandERR! "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
build errorgyp
ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gypgyp ERR!ERR! stack Error: make
failed with exit code: 2
not okgyp
ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
node-pre-gyp ERR! node -v v10.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/google-gax/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
[grpc] Success: "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" is installed via remote
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-darwin-x64-unknown.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 ERR! Pre-built binaries not installable for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Hit error Connection closed while downloading tarball file
gypgyp WARNWARN downloaddownload NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
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
gyp gypWARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
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/surface/init.o
rm: cannot remove './Release/.deps/Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o.d.raw': No such file or directory
make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown"
gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
node-pre-gyp ERR! node -v v10.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.7.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1)
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.oexec install script
make: *** No rule to make target Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o', needed by
Release/libgrpc.a'. Stop.
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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown"
gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
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.
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/chokidar/node_modules/fsevents
node install
[fsevents] Success: "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI) (falling back to source compile with node-gyp)
gypgyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gypgyp WARN downloadWARN NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gypgyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
CXX(target) Release/obj.target/fse/fsevents.o
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
In file included from In file included from ../../nan/nan.h../../nan/nan.h::192192:
:
../../nan/nan_maybe_43_inl.h:112../../nan/nan_maybe_43_inl.h::15112:: 15: errorerror: : nono membermember namednamed 'ForceSet''ForceSet' in 'v8::Object'in
'v8::Object'
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
~~~ ^
~~~ ^
In file included from ../fsevents.cc:6:
../../nan/nan.h:834:18In file included from : ../fsevents.cc:6warning:
: ../../nan/nan.h:'MakeCallback'834 :is18 :deprecated: Use warningMakeCallback(...,: async_context) [-Wdeprecated-declarations]'MakeCallback'
is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return node::MakeCallback(
^
return node::MakeCallback(
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:/Users/mic/.node-gyp/10.9.0/include/node/node.h171::1711::1 : note: note: 'MakeCallback' 'MakeCallback'has hasbeen beenexplicitly explicitlymarked markeddeprecated heredeprecated
here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: note: ^expanded from macro 'NODE_DEPRECATED'
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: attribute((deprecated(message))) declarator
note ^:
expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:849:18: In file included from ../fsevents.cc:warning6: :
../../nan/nan.h'MakeCallback': 849is: 18deprecated:: Use MakeCallback(...,warning : async_context) [-Wdeprecated-declarations]'MakeCallback'
is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] return node::MakeCallback(
/Users/mic/.node-gyp/10.9.0/include/node/node.h: return node::MakeCallback(164
:1: ^
note: 'MakeCallback'/Users/mic/.node-gyp/10.9.0/include/node/node.h :has164 :been1 :explicitly marked notedeprecated: here'MakeCallback'
has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88NODE_DEPRECATED("Use MakeCallback(..., async_context)",:
20:^
note: expanded from/Users/mic/.node-gyp/10.9.0/include/node/node.h:88 :20macro: 'NODE_DEPRECATED'
note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
attribute((deprecated(message))) declarator
^
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
:
../../nan/nan.h../../nan/nan.h::864864::1818:: warningwarning: : 'MakeCallback''MakeCallback' isis deprecated:deprecated: UseUse MakeCallback(...,MakeCallback(..., async_context)async_context) [-Wdeprecated-declarations][-Wdeprecated-declarations]
return node::MakeCallback(
return node::MakeCallback( ^
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:157:1: /Users/mic/.node-gyp/10.9.0/include/node/node.h:note: 157:'MakeCallback'1 has: been explicitly note: marked 'MakeCallback'deprecated hashere been
explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:NODE_DEPRECATED("Use MakeCallback(..., async_context)",20
: ^
note: expanded from /Users/mic/.node-gyp/10.9.0/include/node/node.hmacro: 88'NODE_DEPRECATED':20
: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
attribute((deprecated(message))) declarator
^
In file included from ../fsevents.cc:6:
../../nan/nan.h:1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return scope.Escape(node::MakeCallback(
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
In file included from ../fsevents.cc:6:
attribute((deprecated(message))) declarator
../../nan/nan.h ^:
1473:31: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
return scope.Escape(node::MakeCallback(
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/mic/.node-gyp/10.9.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
attribute((deprecated(message))) declarator
^
4 warnings and 1 error generated.
4 warnings and 1 error generated.
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
make: *** [Release/obj.target/fse/fsevents.o] Error 1
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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gypgyp ERR! commandERR! "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
build errorgyp
ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gypgyp ERR!ERR! stack Error: make
failed with exit code: 2
not okgyp
ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents
node-pre-gyp ERR! node -v v10.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/google-gax/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
[grpc] Success: "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/google-gax/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" is installed via remote
[email protected] install /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-darwin-x64-unknown.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 ERR! Pre-built binaries not installable for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Hit error Connection closed while downloading tarball file
gypgyp WARNWARN downloaddownload NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
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
gyp gypWARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
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/surface/init.o
rm: cannot remove './Release/.deps/Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o.d.raw': No such file or directory
make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown"
gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
node-pre-gyp ERR! node -v v10.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.7.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1)
CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.oexec install script
make: *** No rule to make target Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o', needed by
Release/libgrpc.a'. Stop.
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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown"
gyp ERR! cwd /Users/mic/WebstormProjects/React_In_Action/letters-social/node_modules/grpc
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
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.
=========8< ------------------------------------------ >8 ====================
Thank for the quick reply, i am stuck !
Rgds,