I am now trying to add redux to the app, I am wondering are there an alisis in place that will restrict the 'redux' from being reconised?
As when booting up the server I get the following.
../node_modules/react-redux/es/components/Provider.js Module not found: Can't resolve 'react' in '/home/hutber/node_modules/react-redux/es/components'
{
"name": "example-create-react-app-express",
"version": "1.0.0",
"description": "Example on using create-react-app with a Node Express Backend",
"author": {
"name": "Esau Silva",
"email": "[email protected]",
"url": "https://esausilva.com"
},
"license": "MIT",
"scripts": {
"client": "cd client && npm start",
"server": "nodemon server.js",
"dev": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\"",
"dev:server": "cd client && npm run build && cd .. && npm start",
"start": "node server.js",
"heroku-postbuild": "cd client && npm install && npm install --only=dev --no-shrinkwrap && npm run build"
},
"dependencies": {
"body-parser": "^1.18.3",
"connected-react-router": "^5.0.1",
"express": "^4.16.4",
"google-spreadsheets": "^2.0.0",
"react-redux": "5.0.7",
"redux": "^4.0.1"
},
"devDependencies": {
"concurrently": "^4.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/esausilva/example-create-react-app-express.git"
},
"bugs": {
"url": "https://github.com/esausilva/example-create-react-app-express/issues"
},
"keywords": [
"node",
"express",
"create-react-app"
]
}