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

[Bug]uncaught ReferenceError: Cannot access '__WEBPACK_DEFAULT_EXPORT__' before initialization #232

Open
Othman2001 opened this issue Feb 28, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Othman2001
Copy link

Describe the bug

  1. i extracted the code of ImageMapEditor & canvas , handlers , all of the project code except the code of other editors.
  2. and added this to my existing create-react-app
  3. i had some issues but i solved it except this bug
    when i call the ImageMapEditor in the App it fires this error in the console
@Othman2001 Othman2001 added the bug Something isn't working label Feb 28, 2022
@Othman2001
Copy link
Author

this is the error

GuidelineHandler.ts:378 Uncaught ReferenceError: Cannot access '__WEBPACK_DEFAULT_EXPORT__' before initialization
    at Module.default (GuidelineHandler.ts:378:1)
    at Module.Handler (ZoomHandler.ts:152:1)
    at registerExportsForReactRefresh (RefreshUtils.js:147:1)
    at Object.executeRuntime (RefreshUtils.js:182:1)
    at $ReactRefreshModuleRuntime$ (index.ts:43:1)
    at Module../src/modules/editor/components/canvas/handlers/index.ts (index.ts:43:1)
    at Module.options.factory (react refresh:6:1)
    at __webpack_require__ (bootstrap:24:1)
    at fn (hot module replacement:61:1)
    at Module../src/modules/editor/components/canvas/handlers/Handler.ts (GuidelineHandler.ts:378:1)

@Othman2001
Copy link
Author

i have fixed this error by pull request at this repo :
https://github.com/AndreasBurbach/react-image-design-editor
i will try to fix it here for both imageMap Editor and workflow editor and make pull request

@Felix-Asante
Copy link

Felix-Asante commented Jul 17, 2023

can you please share the solution here? i am also currently having a similar issue @Othman2001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants