Skip to content

need some help installing p5.js mode #14

@lee2sman

Description

@lee2sman

Most appropriate sub-area of Processing 4?

PDE

Processing version

4.3

Operating system

Linux (Void Linux)

Bug description

I couldn't get the p5.js mode to function on my computer. I tried a few different install methods.

I'm trying to try out the new p5.js mode and excited to try it, hopefully in anticipation of soon adding an L5 mode to the PDE. In the process of preparing an L5 mode, I'd like to get p5.js experimental mode working, and help contribute to documentation.

Steps to reproduce this

My first attempt to install was to open Processing, click Manage Modes in the top right, then Install. After install I switched to p5.js mode and then the sketch changed to the starter p5.js code sketch. I hit play and get no output. It just says sketch output at the bottom but i see nothing in the console. Nothing else happens.

My next attempt I tried to follow the instructions in the repo which say to download the pdex file and open in Processing. I downloaded the file but Processing doesn't "see" the file when I go to Open. So next I dragged and dropped it on top of Processing. There was a prompt that asked me to confirm I trusted this file. I said ok. Then it opened into p5.js mode with the starter sketch. I hit play and there was no change/output.

My third attempt was to go to the p5.js folder now inside of the sketchbook directory. I studied the install.sh script and decided to run it. Just as an fyi this is what I see as output:

==> Downloading pnpm binaries 10.28.0
 WARN  using --force I sure hope you know what you are doing
Copying pnpm CLI from /tmp/tmp.Zr0YqfjhI6/pnpm to /home/void/.local/share/pnpm/.tools/pnpm-exe/10.28.0/pnpm
Appended new lines to /home/void/.config/fish/config.fish

Next configuration changes were made:
set -gx PNPM_HOME "/home/void/.local/share/pnpm"
if not string match -q -- $PNPM_HOME $PATH
  set -gx PATH "$PNPM_HOME" $PATH
end

To start using pnpm, run:
source /home/void/.config/fish/config.fish

I sourced the new config, then reopened Processing in the p5.js mode, try to run the sketch. No result.

snippet

No response

Additional context

No response

Would you like to work on the issue?

Yes, I’d like to help with this

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions