最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin3浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论