Your output is too large to display in the browser. Only the last 400000 characters are displayed

i have got the below error while running the workflow, please suggest anyone

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/webpack-dev-server/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/karma/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
npm WARN angular2-jwt@0.1.28 requires a peer of @angular/core@^2.0.0 but none was installed.
npm WARN angular2-jwt@0.1.28 requires a peer of @angular/http@^2.0.0 but none was installed.
npm WARN @angular/flex-layout@2.0.0-rc.1 requires a peer of @angular/common@^2.2.3 but none was installed.
npm WARN @angular/flex-layout@2.0.0-rc.1 requires a peer of @angular/core@^2.2.3 but none was installed.
npm WARN @angular/flex-layout@2.0.0-rc.1 requires a peer of zone.js@^0.7.2 but none was installed.
npm WARN angular2-notifications@0.4.53 requires a peer of @angular/core@^2.1.2 but none was installed.
npm WARN angular2-notifications@0.4.53 requires a peer of @angular/common@^2.1.2 but none was installed.
npm WARN angular2-notifications@0.4.53 requires a peer of @angular/platform-browser@^2.1.1 but none was installed.
npm ERR! Linux 5.13.0-1023-aws
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install”
npm ERR! node v7.10.1
npm ERR! npm v4.2.0
npm ERR! path /home/circleci/repo/node_modules/.staging/@types/lodash-6ebca805/package.json
npm ERR! code ENOTDIR
npm ERR! errno -20
npm ERR! syscall open

npm ERR! ENOTDIR: not a directory, open ‘/home/circleci/repo/node_modules/.staging/@types/lodash-6ebca805/package.json’
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/circleci/.npm/_logs/2022-08-24T07_08_14_449Z-debug.log

Exited with code exit status 236

CircleCI received exit code 236

Hello

The first part of the issue is that in your package-lock.json under node_modules/fsevents there is a section called os which will currently only be set as darwin so as you are using Linux it is throwing an error due to a mismatch. Please find the linked StackOverflow here.

In regards to the next section with the error in regards to peers as per the StackOverflow link here you should run npm install --save-dev xxxxx where xxxxx is each dependency you need to install.

Finally the npm ERR! I believe the main issue is NOTDIR: not a directory I would recommend either rerunning with SSH using the guide here or adding a step to run an ls on the directory to check the file does exist.

Kind Regards
Owen Oliver