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

update for react 17 #17

Open
ProgrammerPublicity opened this issue Nov 16, 2021 · 0 comments
Open

update for react 17 #17

ProgrammerPublicity opened this issue Nov 16, 2021 · 0 comments

Comments

@ProgrammerPublicity
Copy link

i download repository and update to react 17 then occroed bellow error, please help me

ERROR in ./src/diagram/component.ts 10:12
Module parse failed: Unexpected token (10:12)
File was processed with these loaders:

  • ./node_modules/nwb/node_modules/@pmmmwh/react-refresh-webpack-plugin/src/loader/index.js
    You may need an additional loader to handle the result of these loaders.
    | import Canvas from '../canvas/component';
    |

import type { ComponentType, Element } from 'React';
| import type { EntityType } from '../entity/reducer';
| import type { DiagComponentProps } from 'react-flow-diagram';
@ ./src/index.js 2:0-56 6:0-72 6:0-72
@ ./demo/src/index.js

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