running npm in jenkins gives different output
I made a pipeline where the script would clone a git repo and build the application in server where jenkins was hosted . I verified the node and npm versions with respect to server and jenkins environment both are same but the command output that run as ubuntu user and jenkins user is bit different and why this happens since both npm versions are the same . Is running npm commands under different user have any influence ?