Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Dtrace errors on import #451

Closed
SeanPlusPlus opened this issue Sep 18, 2017 · 6 comments
Closed

Dtrace errors on import #451

SeanPlusPlus opened this issue Sep 18, 2017 · 6 comments

Comments

@SeanPlusPlus
Copy link

SeanPlusPlus commented Sep 18, 2017

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' }
SeanPlusPlus added a commit to SeanPlusPlus/node-ldapjs that referenced this issue Sep 18, 2017
@silverwind
Copy link

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

@vinhboy
Copy link

vinhboy commented Oct 3, 2017

Confirm this fixes it for me on MacOS also. I hope the PR gets merged.

@SeanPlusPlus
Copy link
Author

yup, i can confirm that this works on MacOS

@tommiv
Copy link

tommiv commented Nov 1, 2017

Any chance to see this in next release (and to see the fact of the next release ever happen)?

@melloc
Copy link
Collaborator

melloc commented 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.

@melloc melloc closed this as completed Jan 11, 2018
code1492 added a commit to code1492/node-ldapauth-fork that referenced this issue May 10, 2018
Updated ldapjs to 1.0.2.
There was an error in the dtrace-provider of ldapjs 1.0.1, and it has been fixed in version 1.0.2.
links: ldapjs/node-ldapjs#451
@jsumners
Copy link
Member

⚠️ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.

Please include a minimal reproducible example
when opening a new issue.

@ldapjs ldapjs locked as resolved and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants