0

I am taking a course "React - The Complete Guide (incl Hooks, React Router, Redux)" on Udemy. I have exactly followed the steps by Maximilian on the lecture, but getting an error:

Failed to compile.

(webpack)/buildin/harmony-module.js
Error: UNKNOWN: unknown error, read

I have posted my project on: https://github.com/AswinTimalsina/reactBurgerProject/tree/redux-global-state

1
  • Have you run npm install? Commented Jun 15, 2020 at 0:17

1 Answer 1

1

Hello you have to first install redux

npm install react-redux

or

yarn add react-redux

then import it in your app.js like

import React from 'react'
import ReactDOM from 'react-dom'
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.