p5.js-web-editor
p5.js-web-editor copied to clipboard
Getting npm err by docker compose on npm install
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
After that i tried to run manually npm install
It also showing me errors
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:
- 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.
@Rudra-Sankha-Sinhamahapatra Upgrade you npm version.
I have the latest npm version
@JoshiUtsav
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
@JoshiUtsav do you have the latest node js,npm version?
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/
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.
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.
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!
okay