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.32k stars 1.27k forks source link

Unable to Setup the project locally. #2931

Open sujithreddyk opened 6 months ago

sujithreddyk commented 6 months ago

p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

Like when i ran docker compose -f docker-compose-development.yml up command, I'm getting error ate Run npm install command.

[app development 2/9] RUN npm install: 63.89 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
67.43 npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 87.91 npm WARN deprecated har-validator@5.1.3: this library is no longer supported 89.85 npm WARN deprecated flatten@1.0.2: flatten is deprecated in favor of utility frameworks such as lodash. 106.1 npm WARN deprecated bson@1.0.9: Fixed a critical issue with BSON serialization documented in CVE-2019-2391, see https://bit.ly/2KcpXdo for more details 136.9 npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated 149.7 npm notice 149.7 npm notice New major version of npm available! 8.5.0 -> 10.3.0 149.7 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.3.0 149.7 npm notice Run npm install -g npm@10.3.0 to update! 149.7 npm notice 149.7 npm ERR! code ERR_SOCKET_TIMEOUT 149.7 npm ERR! network Socket timeout 149.7 npm ERR! network This is a problem related to network connectivity. 149.7 npm ERR! network In most cases you are behind a proxy or have bad network settings. 149.7 npm ERR! network 149.7 npm ERR! network If you are behind a proxy, please make sure that the 149.7 npm ERR! network 'proxy' config is set properly. See: 'npm help config' 149.8 149.8 npm ERR! A complete log of this run can be found in: 149.8 npm ERR! /root/.npm/_logs/2024-01-20T16_07_24_309Z-debug-0.log

failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1

Expected Behavior

App should run and will give localhost link

Steps to reproduce

Not modified the code.

welcome[bot] commented 6 months 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.

AnshuPathak-88825 commented 6 months ago

@sujithreddyk try update npm 8.5.0 -> 10.3.0

PiyushThapaa commented 6 months ago

did you ran this command?

docker-compose -f docker-compose-development.yml build

AnshuPathak-88825 commented 6 months ago

nope npm version error is written their in error message that's why I'm suggesting you

lindapaiste commented 6 months ago

There's a bunch of warnings at the top, but the fatal errors are that your network timed out so that might be an issue that's on your end.

Try npm install --legacy-peer-deps. You will need to use that --legacy-peer-deps flag when installing, however it's not related to any of the actual error messages that you posted here so it may not help.

AnshuPathak-88825 commented 6 months ago

@lindapaiste is there's any community where I can connect with mentors

aditya123473892 commented 6 months ago

@sujithreddyk try installing node again it might work it worked for me and few other contributers