I am trying to run npm install command and getting the below error; The same package.JSON works fine in local, but when I try to run the command through jenkins job getting the error.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed. npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed. npm WARN @angular/[email protected] requires a peer of @angular/core@^4.0.0 but none was installed. npm WARN @angular/[email protected] requires a peer of @angular/common@^4.0.0 but none was installed. npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed. npm WARN @swimlane/[email protected] requires a peer of @angular/common@^4.0.0 but none was installed.
Please help me to fix this issue.