question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module './build/Debug/DTraceProviderBindings'

See original GitHub issue

When running any wt-cli commands, I get the following error.

{ Error: Cannot find module './build/Debug/DTraceProviderBindings'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/wt-cli/node_modules/dtrace-provider/dtrace-provider.js:17:23)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/wt-cli/node_modules/bunyan/lib/bunyan.js:79:18)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/wt-cli/lib/logs.js:1:76)
    at Module._compile (module.js:541:32) code: 'MODULE_NOT_FOUND' }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
darkyencommented, Dec 27, 2016

This might also occur if you recently changed the version of Node.JS

1reaction
jasonbaronecommented, Sep 20, 2016

I had a very similar error after a version update. Make sure to try uninstalling the package completely, then reinstalling. That fixed mine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module dtrace-provider - node.js
I have a simple nodejs application that is throwing "Cannot find module './build/Release/DTraceProviderBindings ...
Read more >
Issues
I just installed the latest version and now I'm getting this error: { Error: Cannot find module './build/Release/DTraceProviderBindings' at ...
Read more >
DynamoDB error cannot find module build/Release ...
This is a common error in DynamoDB -- get the solution for DynamoDB error cannot find module build/Release/DTraceProviderBindings.
Read more >
node-dtrace-provider
I've tried deleting node_modules and re-installing; builds fine. Most frustrating, I can't seem to exclude it with npm i --no-optional . I can...
Read more >
Solved: Cannot find module react : npm install - YouTube
Build a COMPLETE React Admin Dashboard App | React, Material UI, Data Grid, Light & Dark Mode. EdRoh. EdRoh. •. •. 322K views...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found