p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Getting npm err by docker compose on npm install

Open Rudra-Sankha-Sinhamahapatra opened this issue 1 year ago • 1 comments

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! 👋 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.

welcome[bot] avatar Jul 03 '24 02:07 welcome[bot]

@Rudra-Sankha-Sinhamahapatra Upgrade you npm version.

utsavjosh1 avatar Jul 09 '24 07:07 utsavjosh1

I have the latest npm version

@JoshiUtsav

image

utsavjosh1 avatar Jul 09 '24 07:07 utsavjosh1

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

@JoshiUtsav

Yes, it is working on my machine

utsavjosh1 avatar Jul 09 '24 07:07 utsavjosh1

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

image using latest versions

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/

zoroh-codes avatar Jul 09 '24 11:07 zoroh-codes

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.

raclim avatar Jul 09 '24 15:07 raclim

Just wanted to update that we just made some adjustments to the Docker configuration, which hopefully also addresses a few other issues with installing it. I'm going to close this issue for now, but please feel free to reopen this or create a new one if this still persists, thanks!

raclim avatar Jul 16 '24 20:07 raclim

okay