Dtrace errors on import
See original GitHub issueSteps 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:
- Created 6 years ago
- Reactions:2
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also seen these errors using the latest version on macOS. Can confirm that updating the
dtrace-provider
dependency fixes it.I’ve published
ldapjs@1.0.2
with an updateddtrace-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.