NPM Command Line – newman

I try to install newman, it turns out ENOENT: no such file or directory, mkdir 'C:\Users\Asus\'C:\Users\User\AppData\Roaming\npm''

and i try to ‘npm install’ this is what i got:
‘Log files:
C:\Users\Asus\AppData\Local\npm-cache_logs\2023-12-04T10_45_42_633Z-debug-0.log

# npm resolution error report

While resolving: [email protected]
Found: [email protected]
node_modules/newman
  newman@"^6.0.0" from the root project

Could not resolve dependency:
peer newman@"^5.1.2" from [email protected]
node_modules/newman-reporter-htmlextra
  newman-reporter-htmlextra@"^1.22.11" from the root project

Conflicting peer dependency: [email protected]
node_modules/newman
  peer newman@"^5.1.2" from [email protected]
  node_modules/newman-reporter-htmlextra
    newman-reporter-htmlextra@"^1.22.11" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Leave a Comment