Uncaught ReferenceError: p5 is not defined at HTMLDocument
Open
Nobody has claimed this yet.
Area:Core
Bug
- Dominant language
- JavaScript
- Stars
- 24k
- Forks
- 3.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 25
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build Process
- Unit Testing
- Internalization
- Friendly Errors
- Other (specify if possible)
p5.js version
v1.5.0
Web browser and version
Mobile Chrome
Operating System
No response
Steps to reproduce this
Steps:
- Go to this URL https://search.google.com/test/mobile-friendly/result?id=F5X3651lVe1nVOJ4c8afgA
- Click on view tested page and then sidebar will appear there click on more info then on Javascript console message.
- There is a wiered error saying p5 not defined only on mobile but if you open same link (https://giftawave.com/wave/2421-272) on desktop then you will see its working properly.
I tried everything but nothing worked and it impacting my live site now. I think on mobile devices p5 is not working.
Please help here!!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the report in Mobile Chrome using the provided Google mobile-friendly URL and the giftawave.com page with p5.js v1.5.0, then compare it with desktop behavior. Done means identifying the cause of the mobile-only “p5 is not defined” error and documenting or fixing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100