neeraj naithani
neeraj naithani

Reputation: 1

when run UT on loopback application getting node-preload not found error

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

  1. reinstall the node-modules
  2. degrade the node version using same version which my colleague using
  3. cleared cache, clone the application again
  4. get zip node-modules from my colleague

still getting same issue

How I can resolve this issue?

Image of error

Upvotes: 0

Views: 18

Answers (0)

Related Questions