processing / p5.js-web-editor

The p5.js Editor is a website for creating p5.js sketches, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! You can create, share, or remix p5.js sketches without needing to download or configure anything.
https://editor.p5js.org
GNU Lesser General Public License v2.1
1.31k stars 1.26k forks source link

Getting npm err by docker compose on npm install #3180

Open Rudra-Sankha-Sinhamahapatra opened 1 week ago

Rudra-Sankha-Sinhamahapatra commented 1 week ago

p5.js version

web

What is your operating system?

Windows

Web browser and version

chrome://latest

Actual Behavior

Whenever i am trying to set up the project using docker compose it shows me npm err during npm install image After that i tried to run manually npm install It also showing me errors image

Expected Behavior

Whenever we try to set up the project then it should be set up without any npm errors Its should'nt show any conflict between the versions or any other kind of error

Steps to reproduce

Steps:

  1. Try to fix the npm error so that user dosent get erros during npm install

Snippet:


// Paste your code here :)
welcome[bot] commented 1 week ago

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.

JoshiUtsav commented 5 days ago

@Rudra-Sankha-Sinhamahapatra Upgrade you npm version.

Rudra-Sankha-Sinhamahapatra commented 5 days ago

I have the latest npm version

Rudra-Sankha-Sinhamahapatra commented 5 days ago

@JoshiUtsav

JoshiUtsav commented 5 days ago

image

Rudra-Sankha-Sinhamahapatra commented 5 days ago

is it working for you? how can i run it ?? Because i think the project is running on older versions...so if i get back to older npm,node versions it will not be a good idea

Rudra-Sankha-Sinhamahapatra commented 5 days ago

@JoshiUtsav

JoshiUtsav commented 5 days ago

Yes, it is working on my machine

Rudra-Sankha-Sinhamahapatra commented 5 days ago

@JoshiUtsav do you have the latest node js,npm version?

Rudra-Sankha-Sinhamahapatra commented 5 days ago

image using latest versions

Hkumar2401 commented 5 days ago

is it working for you? how can i run it ?? Because i think the project is running on older versions...so if i get back to older npm,node versions it will not be a good idea

You can use nvm to use a specific node version for a particular project by using nvm install vX.Y.Z and you can refer to https://www.freecodecamp.org/news/node-version-manager-nvm-install-guide/

raclim commented 5 days ago

Hi @Rudra-Sankha-Sinhamahapatra, although you have the latest node and npm versions on your machine, they aren't the ones that are compatible with this repository, which runs on node v16.14.2 and npm v8.5.0.

Screenshot 2024-07-09 at 11 27 38 AM

You can refer to the installation docs for more context on this as well. We do receive some npm warnings for some incompatible dependencies at the moment, but plan to update our node version soon.