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

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

Open
copcb opened this issue Aug 31, 2020 · 2 comments
Open

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

copcb opened this issue Aug 31, 2020 · 2 comments

Comments

@copcb
Copy link

copcb commented Aug 31, 2020

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):

  • OS: Windows
  • Version 10
  • Node: v14.9.0
  • corvid: 0.2.10-alpha.0

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
Copy link

I experience this as well.

As a workaround:

  • Open preview in the local editor.
  • Navigate to another page using the main menu in the preview mode.
  • Return to edit mode.

After this the Menus & Pages button works again.

@copcb
Copy link
Author

copcb commented Sep 2, 2020

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.

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

2 participants