Coder Social home page Coder Social logo

agarcia-caicedo / p5-gatsby-tutorial Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 2.11 MB

This is a tutorial to show case how to integrate p5js with gatsbyjs

Home Page: https://agarcia-caicedo.github.io/p5-gatsby-tutorial/

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%

p5-gatsby-tutorial's Introduction

p5 gatsby tutorial

This is a live site to showcase how to integrate p5.js with gatsbyjs

p5-gatsby-tutorial's People

Contributors

agarcia-caicedo avatar

Stargazers

 avatar Jorge Martinez avatar

Watchers

James Cloos avatar  avatar

Forkers

giorgiomartini

p5-gatsby-tutorial's Issues

Unhandled Runtime Error. One unhandled runtime error found in your files with loadable and react-p5-wrapper

Here's the error message I got.

Error in function hoistNonReactStatics in ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js:70
Cannot convert undefined or null to object

./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js:70
Open in Editor

68 | // don't hoist over string (html) components
69 | if (objectPrototype) {
70 | var inheritedComponent = getPrototypeOf(sourceComponent);
71 |
72 | if (inheritedComponent && inheritedComponent !== objectPrototype) {
73 | hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);

Here is my dependencies list:
`{
"name": "gatsby-starter-hello-world",

"version": "0.1.0",

"lockfileVersion": 2,

"requires": true,

"packages": {

"": {

  "name": "gatsby-starter-hello-world",

  "version": "0.1.0",

  "license": "0BSD",

  "dependencies": {

    "@loadable/component": "^5.15.2",

    "gatsby": "^4.21.1",

    "hoist-non-react-statics": "^3.3.1",

    "p5": "^1.4.2",

    "react": "^18.1.0",

    "react-dom": "^18.1.0",

    "react-p5": "^1.3.30",

    "react-p5-wrapper": "^3.3.0"

  },

  "devDependencies": {

    "prettier": "^2.7.1"

  }

},`

I cannot think of why this is happening. I've also updated everything possible.

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.