I have tried executing a sample case of transfer of money between two accounts while referring to this: https://medium.freecodecamp.org/ultimate-end-to-end-tutorial-to-create-an
I also faced the similar problem, after looking into it and spending lot of time. I found this is not the problem of npm and node.js, if we are installing them as non root. This is the problem of Loopback so you have to make an API JSON request without "transactionId" and "timestamp" means remove both of them. It will work fine as loopback swagger will update it automatically. I hope it will work for all, who are facing the same kind of problem.