ProProgramming101 / expo-firebase-auth-starter

Starter project for Expo and Firebase (with Authentication)
29 stars 26 forks source link

npm install not working! #1

Open Josh-Uvi opened 6 years ago

Josh-Uvi commented 6 years ago

expo-firebase-auth-starter-master Josh_George$ npm install npm WARN deprecated istanbul-lib-hook@1.2.1: 1.2.0 should have been a major version bump npm WARN deprecated connect@2.30.2: connect 2.x series is deprecated

fsevents@1.2.4 install /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/fsevents node install [fsevents] Success: "/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/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 grpc@1.10.1 install /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/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 grpc@1.10.1 and node@10.5.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Pre-built binaries not installable for grpc@1.10.1 and node@10.5.0 (node-v64 ABI,unknown) (falling back to source compile with node-gyp)node-pre-gyp ERR! Hit error Connection closed while downloading tarball file 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: ./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 CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Darwin 17.6.0 gyp ERR! command "/usr/local/Cellar/node/10.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown" gyp ERR! cwd /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc gyp ERR! node -v v10.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/10.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/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:248:5) node-pre-gyp ERR! System Darwin 17.6.0 node-pre-gyp ERR! command "/usr/local/Cellar/node/10.5.0_1/bin/node" "/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" node-pre-gyp ERR! cwd /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc node-pre-gyp ERR! node -v v10.5.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.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/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 ../deps/grpc/src/core/lib/backoff/backoff.cc:23:10: fatal error: 'src/core/lib/gpr/useful.h' file not found

include "src/core/lib/gpr/useful.h"

^~~~~~~ 1 error generated. make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Darwin 17.6.0 gyp ERR! command "/usr/local/Cellar/node/10.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/JoJosh-Uvi-MBP:expo-firebase-auth-starter-master Josh_George$ npm install grpc@1.10.1 install /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/gr pc 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 grpc@1.10.1 and node@10.5.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Pre-built binaries not installable for grpc@1.10.1 and node@10.5.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Hit error Connection closed while downloading tarball file 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: ./Release/.deps/Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o.d.raw: No such fil e or directory make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o] Error 1 gyp ERR! build error gyp CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib /build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Darwin 17.6.0 gyp ERR! command "/usr/local/Cellar/node/10.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown" gyp ERR! cwd /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc gyp ERR! node -v v10.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/10.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/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:248:5) node-pre-gyp ERR! System Darwin 17.6.0 node-pre-gyp ERR! command "/usr/local/Cellar/node/10.5.0_1/bin/node" "/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" node-pre-gyp ERR! cwd /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc node-pre-gyp ERR! node -v v10.5.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.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/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 In file included from ../deps/grpc/src/core/lib/backoff/backoff.cc:19:iled to exec install script In file included from ../deps/grpc/src/core/lib/backoff/backoff.h:22: In file included from ../deps/grpc/src/core/lib/iomgr/exec_ctx.h:27: In file included from ../deps/grpc/src/core/lib/iomgr/closure.h:28: ../deps/grpc/src/core/lib/gpr/mpscq.h:23:10: fatal error: 'grpc/support/sync.h' file not found

include <grpc/support/sync.h>

     ^~~~~~~~~~~~~~~~~~~~~

1 error generated.░⸩ ⠧ install: info lifecycle grpc@1.10.1~install: Failed to exec install script make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12) gyp ERR! System Darwin 17.6.0 gyp ERR! command "/usr/local/Cellar/node/10.5.0_1/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/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown" gyp ERR! cwd /Users/Josh_George/Downloads/expo-firebase-auth-starter-master/node_modules/grpc gyp ERR! node -v v10.5.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN react-native-maps@0.19.0 requires a peer of react@16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-native-maps@0.19.0 requires a peer of react-native@0.51.0 but none is installed. Youmust install peer dependencies yourself.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! grpc@1.10.1 install: node-pre-gyp install --fallback-to-build --library=static_library npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the grpc@1.10.1 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/Josh_George/.npm/_logs/2018-07-15T14_04_42_544Z-debug.log

maarconte commented 6 years ago

I have the same issue. A friend installed it at the same time and had no problem at all. I don't understand...

jhoughjr commented 5 years ago

same issue here for me as well. The internet is so cluttered with non working examples.