Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resolve 'React' #2

Open
jrichardsz opened this issue Sep 11, 2019 · 0 comments
Open

Can't resolve 'React' #2

jrichardsz opened this issue Sep 11, 2019 · 0 comments

Comments

@jrichardsz
Copy link

Steps

  • clone repository
  • npm install
  • npm run start

Expected result

Material ui web must be accessible from browser

Current result

Error in npm run start result:

ERROR in ./src/components/ContactPage.js
Module not found: Error: Can't resolve 'React' in '.../src/components'
 @ ./src/components/ContactPage.js 10:13-29
 @ ./src/routers/AppRouter.js
 @ ./src/app.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/app.js

ERROR in ./src/components/LoginPage.js
Module not found: Error: Can't resolve 'React' in '.../src/components'
 @ ./src/components/LoginPage.js 10:13-29
 @ ./src/routers/AppRouter.js
 @ ./src/app.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/app.js

ERROR in ./src/components/ProductsPage.js
Module not found: Error: Can't resolve 'React' in '.../src/components'
 @ ./src/components/ProductsPage.js 9:13-29
 @ ./src/routers/AppRouter.js
 @ ./src/app.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/app.js

ERROR in ./src/components/FormsPage.js
Module not found: Error: Can't resolve 'React' in '.../src/components'
 @ ./src/components/FormsPage.js 10:13-29
 @ ./src/routers/AppRouter.js
 @ ./src/app.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/app.js

Environment

  • ubuntu 18
  • nodejs : v8.11.2

Thanks 4 your time!

jrichardsz added a commit to utec/React-Redux-Material-UI-starter-template that referenced this issue Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant