Build failed due to import error

Build failed due to import error


After running the build command for my react app the build failed and the below is the response I get.

Creating an optimized production build...
Failed to compile.

Attempted import error: 'LowPriority' is not exported from 'scheduler' (imported as 'LowPriority’).


package.json


 "scripts": {
    "start": "react-app-rewired start",
    "build": "react-app-rewired build",
    "test": "react-app-rewired test"
  },


An ideal on how to resolve this issue will be much appreciated.
Was this page helpful?