Shopify / shopify-marketplaces-admin-app

MIT License
38 stars 45 forks source link

[ProxyFacade] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment> #3

Closed SerhiDi closed 2 years ago

SerhiDi commented 2 years ago

Can't run an application.

Console log image

Have this error after first shopify app serve

Steps to reproduce:

Any changes inside project files, any changes inside package.json. Follow the instructions from the documentation installed the latest version of nodejs - 17.7.1.

Karen-boop commented 2 years ago

Hi there! Thanks for opening this issue. The admin app uses React Hot Loader. From your screenshot it looks like this may not be installed on your project. You can also check out this issue for help with troubleshooting the react-hot-loader error you were getting. https://github.com/gaearon/react-hot-loader/issues/1311

SerhiDi commented 2 years ago

@Karen-boop hello. In this project, you are already using the patch from this link. And it doesn't solve the problem. react-hot-loader installed in dependencies.

Why does this error occur in a newly created project? If your project is using broken code, please fix it or change react-hot-loader to another library.

hashhesh commented 2 years ago

hi @SerhiDi have found any workarounds for this issue?