Giter Club home page Giter Club logo

Comments (8)

axe312ger avatar axe312ger commented on May 15, 2024 1

looks like you fixed it @johno 👍

from blocks.

axe312ger avatar axe312ger commented on May 15, 2024

A gatsby info might help:

$ gatsby info

  System:
    OS: macOS 10.14.4
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.15.3/bin/npm
  Languages:
    Python: 2.7.10 - /usr/bin/python
  Browsers:
    Firefox: 65.0.1
    Safari: 12.1
  npmGlobalPackages:
    gatsby-cli: 2.5.9
    gatsby-dev-cli: 2.4.15

from blocks.

johno avatar johno commented on May 15, 2024

How are you running the demo? Right now it'll likely best run as a yarn workspace (from the project root):

rm -rf demo/node_modules
yarn
yarn workspace demo start

Let me know if that works!


Edit: It sounds like there are multiple Reacts ending up on the page so hopefully running as a workspace will fix that.

from blocks.

axe312ger avatar axe312ger commented on May 15, 2024

Hey, deleting the node modules and running yarn again helped :)

I did run in another problem, but could solve it:

Node(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.

The demo passes null as initialValue to the editor when localStorage is empty. I guess we should add a default value here to avoid this issue.

After hacking in a value in the editor, the page is running :)

from blocks.

johno avatar johno commented on May 15, 2024

Ah yeah that’s a bug 🐛. We should def add in a default value that doesn’t explode. Would gladly accept a PR!

from blocks.

wbunting avatar wbunting commented on May 15, 2024

Demo is currently down on the deployed site with error https://mdx-blocks.com/demo/

ve(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.

Maybe this PR needs to be deployed?

from blocks.

axe312ger avatar axe312ger commented on May 15, 2024

I can confirm, demo broken. Blank screen after 1 second @johno

from blocks.

rchrdnsh avatar rchrdnsh commented on May 15, 2024

Confirming this as well for me in Chrome, Firefox and Safari. Nothing shows up for the demo, just a blank white screen at:

https://mdx-blocks.com/demo/

Just blank, but if hit refresh i see the demo UI for a split second, and the nit's gone again.

from blocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.