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.

Dtrace errors on import

See original GitHub issue

Steps to reproduce:

mkdir ldapjstest
cd ldapjstest
yarn init
yarn add ldapjs
yarn install
node
> const ldap = require('ldapjs')
{ Error: Cannot find module './build/Release/DTraceProviderBindings'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/ldapjstest/node_modules/dtrace-provider/dtrace-provider.js:17:23)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/default/DTraceProviderBindings'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/ldapjstest/node_modules/dtrace-provider/dtrace-provider.js:17:23)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3) code: 'MODULE_NOT_FOUND' }
{ Error: Cannot find module './build/Debug/DTraceProviderBindings'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/ldapjstest/node_modules/dtrace-provider/dtrace-provider.js:17:23)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3) code: 'MODULE_NOT_FOUND' }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

3reactions
silverwindcommented, Sep 19, 2017

Also seen these errors using the latest version on macOS. Can confirm that updating the dtrace-provider dependency fixes it.

0reactions
melloccommented, Jan 11, 2018

I’ve published ldapjs@1.0.2 with an updated dtrace-provider dependency. Thanks to everyone who reported this!

Once chrisa/node-dtrace-provider#96 goes in and dtrace-provider@0.8.6 is published, the behaviour of printing the message will also change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dtrace errors on import · Issue #451 · ldapjs/node ... - GitHub
Steps to reproduce: mkdir ldapjstest cd ldapjstest yarn init yarn add ldapjs yarn install node > const ldap = require('ldapjs') { Error: ...
Read more >
How to do an Enterprise Vault DTRACE for Import related ...
Issues From time to time the Enterprise Vault Import module may log particular errors relating to the import of items.
Read more >
Server Settings Migration Wizard fails to import package and ...
Dtrace on ServerMigration process while reproducing the issue generates the following error: (ServerMigration) CtrlImportAccountCredentials.
Read more >
Getting dtrace: invalid probe specifier when importing volume
I upgraded from 9.3 to 9.10 and then moved the pool to new hardware. Everything went reasonably smooth. However, when the new server...
Read more >
ERROR Probe
The ERROR probe fires when a run-time error occurs in executing a clause for a DTrace probe. For example, if a clause attempts...
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