Closed JulianUrdov closed 6 years ago
I am getting the exact same error.
That is coming from the firebase sdk. there is an issue there that looks the same https://github.com/firebase/firebase-js-sdk/issues/883
Same error. I solved my problem with an old version install
-> this way :
-uninstall node_modules -add : "re-base": "2.3.0" in package.json
"dependencies": {
"re-base": "2.3.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-scripts": "1.1.4"
}
HF
Data point: am getting same error.
This should be fixed on re-base 4.x. Unfortunately it cannot be back ported to 3.x as the fix in the firebase sdk is only available on their 5.x branch. There are no public api changes to re-base however if you are using firebase 4.x definitely check out the breaking changes in their changelog before updating to re-base 4.x
C:\Users\iuli\Desktop\app1506\chat-demo>npm install re-base
node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-win32-x64-unknown.tar.gz node-pre-gyp ERR! Pre-built binaries not found for grpc@1.10.1 and node@10.4.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.4.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 gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19) gyp ERR! stack at PythonFinder. (C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:184:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node" "--module_name=grpc_node" "--module_path=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown"
gyp ERR! cwd C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc
gyp ERR! node -v v10.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp node-pre-gyp ERR!ERR! stack at PythonFinder.failNoPython (C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
build error
gyp ERR! stacknode-pre-gyp at PythonFinder. (C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gypERR! ERR!stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown' (1)
stacknode-pre-gyp at C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 gypERR! ERR!stack at ChildProcess. (C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
stack at FSReqWrap.oncomplete (fs.js:184:21)
node-pre-gyp ERR!gyp stackERR! at ChildProcess.emit (events.js:182:13)
node-pre-gypSystem Windows_NT 10.0.17134
ERR! stackgyp at maybeClose (internal/child_process.js:961:16)
node-pre-gypERR! ERR!command "C:\Program Files\nodejs\node.exe" "C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node" "--module_name=grpc_node" "--module_path=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown"
stackgyp at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
ERR! node-pre-gypcwd C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc
ERR!gyp System Windows_NT 10.0.17134
ERR! node-pre-gypnode -v v10.4.0
ERR!gyp commandERR! "C:\Program Files\nodejs\node.exe" "C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-gyp -vnode-pre-gyp v3.6.2
gypERR! cwdERR! C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc
node-pre-gypnot ok
ERR! node -v v10.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.7.0
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\iuli\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --library=static_library --module=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown\grpc_node.node --module_name=grpc_node --module_path=C:\Users\iuli\Desktop\app1506\chat-demo\node_modules\re-base\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown' (1)
npm WARN react-firebaseui@3.0.4 requires a peer of firebase@>=5 <=5.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
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! C:\Users\iuli\AppData\Roaming\npm-cache_logs\2018-06-14T20_25_48_157Z-debug.log
C:\Users\iuli\Desktop\app1506\chat-demo>