chrisa / node-dtrace-provider

Native DTrace probes for node.js apps
Other
319 stars 70 forks source link

Error: Cannot find module './build/Release/DTraceProviderBindings' #134

Open Vpvladimirov opened 2 years ago

Vpvladimirov commented 2 years ago

Versions I am using: MacOS v12.1 npm v8.3.0 node v14.18.2

Hello, I am working on a project and few days ago everything was working properly. I updated the MacOS version and restarted the laptop and then the following 3 errors appeared when trying to start the project: Error: Cannot find module './build/Release/DTraceProviderBindings' Error: Cannot find module './build/default/DTraceProviderBindings' Error: Cannot find module './build/Debug/DTraceProviderBindings'

That's the only thing I have done so I am guessing it would be something with the MacOS version but I still tried the following:

When I run the same project on Windows machine it is working fine but as far as I understand the code it doesn't care about that DTraceProviderBindings folder on win (the if statement is only about platforms darwin, sunos and freebsd)

Please let me know if I can help with some additional information and any ideas what else can I try. At this point I will appreciate even if you give me the needed file and I manually put it in place as this is blocking my work.

Thank you in advance :)