I returned to a project after a while and used npm-check-updates
to upgrade all packages. I am now receiving the following error on build:
Failed to load config “react-app” to extend from.
I have tried running ionic repair
to no avail. I also created a new ionic react project to compare the package.json files but nothing jumps out. I tried manually installing react-scripts
and the typescript eslint packages but that didn’t work either. Any ideas?
Here’s my package.json:
"version": "0.0.1",
"private": true,
"dependencies": {
"@capacitor/clipboard": "^1.0.6",
"@capacitor/core": "3.3.3",
"@capacitor/share": "^1.0.7",
"@capacitor/storage": "^1.2.3",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@hookstate/core": "^3.0.13",
"@hookstate/untracked": "^3.0.0",
"@ionic-native/core": "^5.36.0",
"@ionic-native/in-app-browser": "^5.36.0",
"@ionic/pwa-elements": "^3.1.0",
"@ionic/react": "^6.0.0",
"@ionic/react-router": "^6.0.0",
"@reduxjs/toolkit": "^1.7.0",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.3",
"@types/lodash": "^4.14.178",
"@types/node": "^16.11.12",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20",
"@types/react-router": "^5.1.17",
"@types/react-router-dom": "^5.3.2",
"@types/redux-persist": "^4.3.1",
"colyseus.js": "^0.14.13",
"cordova-plugin-inappbrowser": "^5.0.0",
"ionicons": "^6.0.0",
"isomorphic-fetch": "^3.0.0",
"lodash": "^4.17.21",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.2",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-persist-capacitor": "^1.0.3",
"redux-persist-transform-filter": "0.0.20",
"reduxjs-toolkit-persist": "^7.0.7",
"socket.io-client": "^4.4.0",
"typescript": "4.5.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!(@ionic/react|@ionic/react-router|@ionic/core|@stencil/core|ionicons)/)'",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@capacitor/cli": "3.3.3",
"@types/isomorphic-fetch": "^0.0.35",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-simple-import-sort": "^7.0.0"
},
"description": "An Ionic project"
}```
1 post - 1 participant