wix-incubator / corvid

Download your Wix site, code in a local IDE, collaborate, use git, and more!
MIT License
38 stars 10 forks source link

Menus & Pages menu does not display in local-editor #206

Open copcb opened 4 years ago

copcb commented 4 years ago

Describe the bug Menus & Pages menu does not display when using the local editor. Electron console shows an error instrument.ts:273 "Invariant Violation: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings."

To Reproduce Steps to reproduce the behaviour:

  1. clone or create a local repo from www.croydongymnastics.org

  2. start local editor

  3. Click on Menus & Pages button

  4. screen will show the stub of the menu but no content image

  5. See error in console: image

Expected behaviour Menus & Pages menu should show up. All other floating menu buttons work correctly

Screencasts

Desktop (please complete the following information):

Additional context I've tried various different methods to eliminate the problem. None have worked : upgraded from node 12 to 14.9 create-corvid-app create-corvid-app .. then npx corvid clone

source code https://github.com/copcb/wix-open-editor-issue <-- copy of code

anantakrishna commented 4 years ago

I experience this as well.

As a workaround:

After this the Menus & Pages button works again.

copcb commented 4 years ago

Thanks! that works for me too - in fact I don't even have to navigate to a different page. Just preview and return to editor stops the error showing up.