I've been attempting to run an older project on my new system, but when running npm install
, I keep encountering the following issue:
https://i.sstatic.net/3AgSX.png
Despite trying to use the same versions of Node
and NPM
as my previous system, nothing seems to be resolving the issue for me.
Here is a snippet from my package.json
:
[List of dependencies from package.json]
In an attempt to fix the dependency issues, I've tried running the following commands:
npm install --legacy-peer-deps
And also:
npm install --save --legacy-peer-deps
However, these attempts only led to more dependency errors. I've even tried clearing the cache and performing a fresh install:
npm cache clean --force
npm install
Unfortunately, none of these solutions have worked for me. I've been stuck on this error since yesterday, and it's starting to get frustrating. Any assistance would be greatly appreciated.
PS: I am aware similar questions have been asked before, but none of the solutions have worked for me so far. I've tried everything that has worked for others, but I seem to be out of luck at the moment.