'JSON Error in C:\...\package.json: "dep...'ADoken < in JSON at position 3 while parsing near '{
I've been trying to execute a react native application using npm start. The application used to work but since I've made a pull from GitHub it stopped working, giving me a JSON Error in C:\...\package.json: "dep...'ADoken < in JSON at position 3 while parsing near '{. I've tried all the methods I could find in here, including cleaning the cache, reinstalling all libraries, doing a npm install, reinstalling angular-cli, updating expo-cli and npm, deleting package-lock.json and doing a npm set registry https://registry.npmjs.org/. I've been stuck at this for 3 hours at least, I don't know what to do...
Here's my package.json file:
{
"name": "Name",
"version": "1.0.0",
"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": {
"@firebase/firestore": "^3.4.5",
"@material-ui/core": "^4.12.3",
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.5.0",
"expo": "~44.0.0",
"expo-status-bar": "~1.2.0",
"firebase": "^9.6.7",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-dropdown-picker": "^5.3.0",
"react-native-icons": "^0.7.1",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.10.1",
"react-native-vector-icons": "^9.1.0",
"react-native-web": "0.17.1"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
