P5.js: Pupeeter causing blocking issue during running grunt

Created on 22 Nov 2020  路  3Comments  路  Source: processing/p5.js

Most appropriate sub-area of p5.js?

  • [ ] Accessibility (Web Accessibility)
  • [x] Build tools and processes
  • [ ] Color
  • [ ] Core/Environment/Rendering
  • [ ] Data
  • [ ] DOM
  • [ ] Events
  • [ ] Friendly error system
  • [ ] Image
  • [ ] IO (Input/Output)
  • [ ] Localization
  • [ ] Math
  • [ ] Unit Testing
  • [ ] Typography
  • [ ] Utilities
  • [ ] WebGL
  • [ ] Other (specify if possible)

Details about the bug:

  • p5.js version: 1.1.9
  • Operating System: Fedora 32
  • Steps to reproduce this:
    Follow the instruction given here : https://p5js.org/contributor-docs/#/?id=development-process to install your project. When running npm run grunt you might see an error due to the puppeeter package. An unhandled promise chain which can cause troubles, maybe differents according to your nodejs version.
    The issue for the package has been notified here : https://github.com/puppeteer/puppeteer/issues/2746. As I can see, this error has been removed since 2018, so I suppose that p5js import a old and deprecated package of puppeeter
    It seems to be a blocking error for some users (https://discourse.processing.org/t/fatal-error-protocol-error-runtime-callfunctionon-object-reference-chain-is-too-long/25591) but not for me, because I do not have the latest version of nodejs.
bug

Most helpful comment

The pupeteer version used in this repo is pretty only indeed. Will need some time to test upgrading to the latest version doesn't break anything though.

All 3 comments

Welcome! 馃憢 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

The pupeteer version used in this repo is pretty only indeed. Will need some time to test upgrading to the latest version doesn't break anything though.

If this might help anyone else:
I had the same "Object reference chain is too long" error even though puppeteer is the latest (v5.5.0).
And after switching my Node.js to the LTS version (v15.5.1 -> v14.15.4, Windows) the test task completes successfully.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

b0nb0n picture b0nb0n  路  3Comments

stalgiag picture stalgiag  路  3Comments

NamanSharma5 picture NamanSharma5  路  3Comments

ghost picture ghost  路  3Comments

aferriss picture aferriss  路  3Comments