krishnaacharyaa / wanderlust

WanderLust is a MERN travel blog website 🚀 This project is aimed to help people to contribute in open source, upskill in react and master git.
https://wanderlust-beta.vercel.app/
MIT License
221 stars 1.25k forks source link

[ENHANCEMENT] While performing npm install on frontend getting multiple errors #470

Open Abhi96chawla opened 2 months ago

Abhi96chawla commented 2 months ago

Description

Getting below error` => => writing image sha256:446c92ecc77ad147005cbe4fe1411f61816e4457848490fb1f13e3b110b5a25d 0.0s => => naming to docker.io/library/wanderlust-backend 0.0s => ERROR [frontend frontend-builder 6/7] RUN npm install 485.6s

[frontend frontend-builder 6/7] RUN npm install: 462.1 npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead 462.1 npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead 465.8 npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. 466.1 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported 466.6 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported 467.3 npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead 467.6 npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead 484.1 484.1 > frontend@0.0.0 prepare 484.1 > cd .. && npm install 484.1 484.6 npm error Tracker "idealTree" already exists 484.6 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-11T23_02_17_905Z-debug-0.log 484.6 npm error code 1 484.6 npm error path /app 484.6 npm error command failed 484.6 npm error command sh -c cd .. && npm install 484.6 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-11T22_54_14_517Z-debug-0.log

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

C:\Users\chawl\OneDrive\Documents\practice\MERN\project-3\wanderlust>`

Current Behavior

not working, application crashed

Proposed Enhancement

it should able to build npm install on frontend

Use Case

n/a

Blockers

No response

Additional Information/ Attachments

No response