Open madhusudan12 opened 4 years ago
I also have the same issue.
/usr/lib ├── newman@4.6.0 ├── newman-reporter-html@1.0.5 ├── newman-reporter-htmlextra@1.12.1 └── npm@6.13.4
I had to install the html-reporter, hermione, etc. along with all dependencies that show WARN to resolve that error. So look for the WARN message '… required a peer of xxx but none is installed. You must install peer dependencies your self.' and install what is missing. Postman Echo runs fine with all those installed:
newman run https://www.getpostman.com/collections/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65-JsLv 21 -r html
/usr/lib ├── font-awesome@4.7.0 ├── hermione@3.1.0 ├── html-reporter@5.15.2 ├── mkdirp@1.0.4 ├── newman@4.6.1 ├── newman-reporter-html@1.0.5 ├── newman-reporter-htmlextra@1.13.2 ├── newman-reporter-teamcity@0.1.12 ├── npm@6.14.4 ├── npmlog@4.1.2 ├── postman-collection@3.6.0 ├── pug@2.0.4 ├── react@16.13.1 ├── react-dom@16.13.1 ├── react-html-parser@2.0.2 ├── react-markdown@4.3.1 ├── react-redux@7.2.0 ├── react-transition-group@4.3.0 ├── reapop@2.1.0 ├── redux@4.0.5 ├── redux-thunk@2.3.0 ├── resolve-url@0.2.1 ├── tslint@5.20.1 ├── tsutils@3.17.1 └── typescript@3.8.3
+1 the same issue reproduced with any other custom reporter too
tries to install locally and globally, does not help
same problem -
I have installed
newman
and tried to run tests which is working fine and for report creation I installednewman-reporter-html
.The above packages are installed globally But while running the newman
it says
newman-reporter-html
is already installed . But it is still warning me installThe following are the list of the packages installed