I am using loopback Nodejs framework in my project and Mocha and Chai for unit testing when I do npm run fulltest for run Ut it giving me error node-preload module not found. Node-preload is build in package inside node-module it's present in node-module still I am getting this error in my system only getting this error( don't know why) in my colleague system it's working fine. what can be the issue.
Method I tried to resolving the issue
- reinstall the node-modules
- degrade the node version using same version which my colleague using
- cleared cache, clone the application again
- get zip node-modules from my colleague
still getting same issue
How I can resolve this issue?
Image of error