Newman not recognised in jenkins server while npm installed


I am trying to run node.js file ( Newman runner where I have mentioned all options like collection , environment ) through jenkins but it’s giving error as Newman not recognised while npm and node is installed on jenkins machine.newman is not installed globally or locally but I am mentioning Newman dependencies in package.json file . Could you please suggest how did you resolve your issue.