-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
After installing firebase I get the following error and message:
I'm using an android emulator and a physical device to test. Both got disconected from metro after the installation.
package.json:
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"expo": "~38.0.1",
"expo-status-bar": "^1.0.0",
"firebase": "^7.15.5",
"react": "~16.11.0",
"react-dom": "~16.11.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-38.0.0.tar.gz",
"react-native-web": "~0.11.7"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"babel-preset-expo": "~8.1.0"
},
"private": true
}
events.js:292
throw er; // Unhandled 'error' event
^
Error: EPERM: operation not permitted, lstat 'C:\Users\joaquin\Desktop\WORKSPACE\react-native-firebase\node_modules\.bin\atob'
Emitted 'error' event on NodeWatcher instance at:
at NodeWatcher.<anonymous> (C:\Users\joaquin\Desktop\WORKSPACE\react-native-firebase\node_modules\sane\src\node_watcher.js:291:16)
at FSReqCallback.oncomplete (fs.js:175:21) {
errno: -4048,
code: 'EPERM',
syscall: 'lstat',
path: 'C:\\Users\\joaquin\\Desktop\\WORKSPACE\\react-native-firebase\\node_modules\\.bin\\atob'
}
Cannot connect to the Metro server.
Try the following to fix the issue:
- Ensure that the Metro server is running and available on the same network
- Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices
- If you're on a physical device connected to the same machine, run 'adb reverse tcp:8081 tcp:8081' to forward requests from your device
- If your device is on the same Wi-Fi network, set 'Debug server host & port
for device' in 'Dev settings' to your machine's IP address and the port of the local dev server - e.g. 10.0.1.1:8081
URL: 192.168.1.33:19001
Error: Connection reset
* [native code]:null in __expoConsoleLog
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:75431:20 in warn
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:73222:23 in registerWarning
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:73139:33 in warnImpl
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:73084:20 in warn
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:113031:22 in warn
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:36848:18 in setHMRUnavailableReason
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:36783:31 in <unknown>
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:37321:34 in emit
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:37040:18 in onerror
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:34551:30 in dispatchEvent
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:35256:30 in <unknown>
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:3898:41 in emit
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:3254:48 in __callFunction
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:2976:30 in <unknown>
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:3208:14 in __guard
* http://192.168.1.33:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&minify=false&hot=false:2975:20 in callFunctionReturnFlushedQueue
* [native code]:null in callFunctionReturnFlushedQueue
I saw another message telling that the firebase sdk needed to be in version 7.9.0. But your repo has 7.14.0
Metadata
Metadata
Assignees
Labels
No labels