Want to run frontend tests in /edx-platform but npm install doesn't work

Hi everyone! I forked the edx-platform repository and wanted to install the package.json dependencies first to run the testing files but I got this npm error.

I tried using npm install-force but got some other errors.

How can I install the package.json dependencies and then run a test for a particular file?