# Error attempting to open the P5.js downloaded program

**URL:** <https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486>\
**Category:** Beginners\
**Created:** [July 24, 2023, 2:06am UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486 "2023-07-24T02:06:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 24, 2023, 2:06am UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/1 "2023-07-24T02:06:47Z")

</div>



---

<div class="post-metadata">

**Author:** ![Chigoz](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Chigoz](https://discourse.processing.org/u/Chigoz)\
**Post date:** [July 24, 2023, 8:58am UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/2 "2023-07-24T08:58:14Z")

</div>

Your question is not clear, I guess you want to run p5 locally on your Computer.

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 24, 2023, 11:39am UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/3 "2023-07-24T11:39:25Z")

</div>

Yes, I want to work directly on my PC.

---

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [July 24, 2023, 12:13pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/4 "2023-07-24T12:13:21Z")

</div>

Hi @Do_Not_Give_Up ,

what error is shown ?  
Usually you only have to click on the index.html. If you have enable javascript and the script tag(s) are pointing to the correct file/uri location and can be accessed, it should work …

Cheers  
— mnse

---

<div class="post-metadata">

**Author:** ![Chigoz](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Chigoz](https://discourse.processing.org/u/Chigoz)\
**Post date:** [July 24, 2023, 1:01pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/5 "2023-07-24T13:01:17Z")

</div>

To work directly on your pc while online check out this video by Daniel Shiffman. Start at 16 minutes.

[![](https://img.youtube.com/vi/1h6vZl-OuB0/maxresdefault.jpg "🔴 Creative Coding with p5.js in Visual Studio Code") ](https://www.youtube.com/watch?v=1h6vZl-OuB0)

To work offline, you need to download the p5 libraries, they should be in the same folder with the index.html, style.css and sketch.js files

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [July 24, 2023, 4:04pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/6 "2023-07-24T16:04:00Z")

</div>

> [@Sketch is displayed twice inside my index.html page](https://discourse.processing.org/t/sketch-is-displayed-twice-inside-my-index-html-page/15335/9):
>
> My advice is to begin w/ a minimum runnable “index.html” template file like this 1: bulb \<script defer src=https://Unpkg.com/p5\>\</script\> \<script defer src=sketch.js\>\</script\> Once verified it’s working, you can add more stuff to it little by little. sunglasses Here’s some online sketch using this very same minimum template: smile_cat

> [@P5.js - not displaying static gif image](https://discourse.processing.org/t/p5-js-not-displaying-static-gif-image/20948/9):
>
> Some notes about your posted “index.html” file: You’re loading the same library 2 times: the unmodified & minimized versions. That is, “p5.js” + “p5.min.js”, “p5.gif.js” + “p5.gif.min.js”. Should pick 1 or the other: And a more serious 1: you’re loading p5.js addon libraries before the p5.js main library! Here’s their correct order for each category: \<!-- p5.js main library: --\> \<script defer src=https://cdn.JsDelivr.net/npm/p5\>\</script\> \<!-- p5.js addon libraries: --\> \<script defer src…

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 24, 2023, 5:08pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/7 "2023-07-24T17:08:25Z")

</div>

Hello Chigoz, in what main folder should all of these items be loaded into?

Paul

---

<div class="post-metadata">

**Author:** ![Chigoz](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Chigoz](https://discourse.processing.org/u/Chigoz)\
**Post date:** [July 24, 2023, 6:11pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/8 "2023-07-24T18:11:04Z")

</div>

The folder should be the name of your project, you need only these 3 files and the library to run the project offline. Check out these images.

 ![ex1](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/f/0/f0f56223231ab63ca5a332d95e77401b4a851607.jpeg)

 ![ex2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/d/2/d2c35c6d82655991f1135205a3ba572c394d1d96.jpeg)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [July 24, 2023, 6:17pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/9 "2023-07-24T18:17:32Z")

</div>

@Chigoz, I see your Windows has “hide extensions for known files” active! ⚠

For security reasons, disable that so you can clearly see a file isn’t executable when you double-click it! 👷‍♂️

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 24, 2023, 6:57pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/10 "2023-07-24T18:57:36Z")

</div>

Okay, how do I do that?

---

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [July 24, 2023, 8:14pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/11 "2023-07-24T20:14:19Z")

</div>

Hi @Do_Not_Give_Up ,

The foldername doesn’t matter, can be xxx, but to execute the project in the browser you need to load (double click) the html document not the javascript file.

Cheers  
— mnse

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 25, 2023, 10:08pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/12 "2023-07-25T22:08:27Z")

</div>

Hello mnse, as I was was working with the online p5.js Web Editor, I attempted to save a simple sketch, I was directed to log in. For what ever reason, my log in was rejected; I then requested a reset of my password. I have yet received an email to complete the reset password process?

Help,

Paul Wilkie  
Groomer bALERT LLC

> **[Groomer bALERT](https://sites.google.com/site/groomerbalert/)**
>
> Home Page for The Groomer Warning Beacon Receiver Project

734.550.6763  
[wipaulmar3@aol.com](mailto:wipaulmar3@aol.com)  
In the heart of the beautiful Manistee National Forest

---

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [July 26, 2023, 4:24am UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/13 "2023-07-26T04:24:40Z")

</div>

Hi @Do_Not_Give_Up

Did you check spam folder? Maybe try again.  
Let me know if it is still not working…

Cheers  
— mnse

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 26, 2023, 3:00pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/14 "2023-07-26T15:00:50Z")

</div>

Hello mnse, no email response in spam or response in current inbox?

Paul Wilkie  
734.550.6763  
[wipaulmar3@aol.com](mailto:wipaulmar3@aol.com)  
In the heart of the beautiful Manistee National Forest

 ![Error Reseting Password.png](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/c/6c0a430a80a4e0c9a9794c5a6d5a64e2e248fe46.png)

---

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [July 26, 2023, 4:00pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/15 "2023-07-26T16:00:56Z")

</div>

Hi @sableraph,

would you please fwd this topic to someone which can support such user access issues …

Cheers  
— mnse

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 26, 2023, 4:18pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/16 "2023-07-26T16:18:20Z")

</div>

Hello mnse, I certainly will; whom would you suggest and how would I contact them?

Paul

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 26, 2023, 4:42pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/17 "2023-07-26T16:42:30Z")

</div>

Hello mnse, bear in mind, I am currently locked out of logging in, so how will I be able to communicate?

Paul

---

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [July 27, 2023, 8:59am UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/18 "2023-07-27T08:59:08Z")

</div>

Hi @Do_Not_Give_Up,

this [message](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/15) wasn’t meant for you, as you can notice by looking at the very top of the message 🙂

Cheers  
— mnse

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [July 27, 2023, 10:45am UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/19 "2023-07-27T10:45:16Z")

</div>

Sure! @raclim would be the right person to ask

---

<div class="post-metadata">

**Author:** ![Do\_Not\_Give\_Up](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Do\_Not\_Give\_Up](https://discourse.processing.org/u/Do_Not_Give_Up)\
**Post date:** [July 27, 2023, 2:16pm UTC](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486/20 "2023-07-27T14:16:06Z")

</div>

How do I contact " @raclim would be the right person to ask" to resolve my login issue?

Paul Wilkie  
734.550.6763  
[wipaulmar3@aol.com](mailto:wipaulmar3@aol.com)  
In the heart of the beautiful Manistee National Forest

[Next page](https://discourse.processing.org/t/error-attempting-to-open-the-p5-js-downloaded-program/42486.md?page=2)
