lukeandersen/react-electron-express-starter

Upgraded dependencies to latest versions. Getting error Uncaught TypeError: Cannot read property 'object' of undefined at eval (index.js_+_23_modules:1992) at Module.<anonymous> (app.bundle.js:1)

jamie-chapman opened this issue · 1 comments

See below for my dependencies inside package.json, I upgraded to the latest versions as I was getting peer dependency errors with the material UI library.

"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/parser": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"babel-loader": "^8.0.6",
"concurrently": "^5.0.0",
"copy-webpack-plugin": "^5.0.4",
"css-loader": "^3.2.0",
"electron": "^6.0.12",
"file-loader": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.8.0",
"postcss": "^7.0.18",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"rimraf": "^3.0.0",
"style-loader": "^1.0.0",
"url-loader": "^2.2.0",
"webpack": "^4.41.1"
},
"dependencies": {
"axios": "^0.19.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"body-parser": "^1.19.0",
"classnames": "^2.2.6",
"dotenv": "^8.1.0",
"eslint": "^6.5.1",
"express": "^4.17.1",
"morgan": "^1.9.1",
"prop-types": "^15.7.2",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-prop-types": "^0.4.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-scripts": "^3.2.0",
"webpack-cli": "^3.3.9"
}

Would you be able to release an example that uses the latest React/Electron?