# I cant open P5.Js

**URL:** <https://discourse.processing.org/t/i-cant-open-p5-js/8194>\
**Category:** p5.js\
**Created:** [February 7, 2019, 8:22pm UTC](https://discourse.processing.org/t/i-cant-open-p5-js/8194 "2019-02-07T20:22:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voltflo](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@Voltflo](https://discourse.processing.org/u/Voltflo)\
**Post date:** [February 7, 2019, 8:22pm UTC](https://discourse.processing.org/t/i-cant-open-p5-js/8194/1 "2019-02-07T20:22:49Z")

</div>

So I want to dowload P5.js but everytime I try to open it, it just gives me an error.  
(I have Windows 10)

> Blockquote  
> Windows Script Host

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [February 8, 2019, 12:54am UTC](https://discourse.processing.org/t/i-cant-open-p5-js/8194/2 "2019-02-08T00:54:59Z")

</div>

that question i not understand.

what file you want to download and open?  
pls. give exact link and description what you try to do.

while with processing IDE you can use p5.js by installing the p5.js MODE  
via the  
/Tools/ Add Tool …/  
[Contribution Manager][Modes]  
p5.js mode 1.1.1 [install]

* * *

you can also download p5.js files see its reference

> **[download | p5.js](https://p5js.org/download/)**
>
> p5.js a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing.

* * *

or you have a project at

> **[home | p5.js](https://p5js.org)**
>
> p5.js a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing.

and download it to browser download folder

 ![2019-02-08_11-27-59_snap](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/05591c63de447d9a0d4b219ad9c2fc7c995ac4e2.png)

on your computer you unzip it to any directory and double click on the

> index.html

then your default browser will open and show the canvas

 ![2019-02-08_11-35-20_snap](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/40a929ef332ab5b0e738c1c024dc76643a0f09b7.png)

---

<div class="post-metadata">

**Author:** ![Voltflo](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@Voltflo](https://discourse.processing.org/u/Voltflo)\
**Post date:** [February 8, 2019, 11:45am UTC](https://discourse.processing.org/t/i-cant-open-p5-js/8194/3 "2019-02-08T11:45:07Z")

</div>

I want to download the P5.js Complete version. So not the Browser version.

[http://p5js.org/download/](http://p5js.org/download/)  
This is it.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [February 8, 2019, 12:19pm UTC](https://discourse.processing.org/t/i-cant-open-p5-js/8194/4 "2019-02-08T12:19:56Z")

</div>

hm, i see not much difference,  
anyhow is it now working?  
and how you want to code your  
sketch.js ( after copy /empty-example/ to /my-project/ )  
windows 10 comes with a good code editor?  
( sorry i only have win 7 where i would use np++ [https://notepad-plus-plus.org/](https://notepad-plus-plus.org/) )

---

<div class="post-metadata">

**Author:** ![Voltflo](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@Voltflo](https://discourse.processing.org/u/Voltflo)\
**Post date:** [February 8, 2019, 12:49pm UTC](https://discourse.processing.org/t/i-cant-open-p5-js/8194/5 "2019-02-08T12:49:40Z")

</div>

My problem is that I want to see my Project. Not only on the right side of my scrreen. I want to see what it would look like if i upload it ( But at the moment my project is not ready ).  
And when I Download the Sektch and try to open it, it opens the browser but it wont show me anything.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [February 8, 2019, 2:48pm UTC](https://discourse.processing.org/t/i-cant-open-p5-js/8194/6 "2019-02-08T14:48:19Z")

</div>

> [@Voltflo](#):
>
> Not only on the right side of my scrreen.

if you work with ONLINE EDITOR on [p5js.org](http://p5js.org)  
the link is like  
[p5.js Web Editor](https://editor.p5js.org/kll/sketches/87OpPvDWe)  
you can switch to ( nearly full screen ) no code view  
[p5.js Web Editor](https://editor.p5js.org/kll/full/87OpPvDWe)  
or fullscreen  
[p5.js Web Editor](https://editor.p5js.org/kll/present/87OpPvDWe)  
( what you also find in the / File / share / " Share This Sketch" / list )

but if you want work offline is OK,  
and upload when ready .

* * *

> [@Voltflo](#):
>
> ( But at the moment my project is not ready ).  
> And when I Download the Sektch and try to open it, it opens the browser but it wont show me anything.

-a- if you work online and your sketch run ( show something on canvas )  
and download it you should see same as in “present” mode

-b- if your sketch code can not run it will not run in both environments.  
while local i think you have even less error feedback?  
anyhow what helps is in your browser context menu ( mouse right click )

> inspect

in the inspect header tab select

> console

for that it also makes no difference if the code is online or local

* * *

if think you can write (longer) code (in any editor) without running it  
and later test in browser and try repair…  
i would say it is wrong working style.

- go from a running sketch
- add a line and test and repair until it works
- add the next line.

so why you not give us the link to your sketch  
to get a idea what you are talking about.
