-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module './build/Debug/DTraceProviderBindings' #1915
Comments
I have exactly the same issue |
Same behaviour here.
Full error message
|
Looks like the issue hasn't been resolved yet? |
I believe this happens when there are two different versions of dtrace-provider as dependencies. Use
|
Same behavior here E/configParser - Error code: 105 |
For anyone who's interested, I managed to resolve this issue by downgrading my node version from node@7.4 to node@6 and it started working for me... |
Interesting. I am running on node@6.9.4 currently and I am seeing this issue. I added the package passport and passport-facebook. I removed both dependencies and added them back. Now the dtrace-provider error has mysteriously disappeared. |
same issue appears me yarn: 0.17.9 |
For those who are still having this issue, I was able to resolve it by switching to the native version of Yarn (@0.19.1 as of posting, installed via homebrew) instead of the global npm module. I was also using nvm at the time to install/manage my node versions, so I decided to wipe node/nvm from my system and install node with homebrew instead. That seemed to do the trick. Here is my current system: |
I just had similar errors when running jest tests for a new yarn install.
node@6.10.0 |
@lecstor Just followed your steps
I will try to change this and comment the results here. node@v7.7.1 |
I did some sleuthing to get to the bottom of this, and I'm happy to report it's not really yarn's fault. There are a handful of issues with The first issue is with the If it fails to find Then, the runtime js module actually catches the Things get hairier with node >= 6 and So, yarn seems to be doing the right thing. The biggest problem is that Where yarn could have been more helpful is with build logging (#2204). I had to run a hacked version of yarn just to get the build output to understand what was going on. |
I find
And there are like hundreds (or thousands) modules depending on "initial development" |
Maybe you can do this~ @chenyaoli19 |
I resolve this issue by run following command, remove dtrace-provider and re-install hexo-cli with sudo
|
It happened to me right now and I believe it happens when you do this: ˜/clean-project
yarn
node index.js # no problem
yarn cache clean
node index.js # shows errors from this issue Maybe because those dtrace provider modules where cached and shared somehow. |
This seems related to another issue with tap-consumer #886 , because when I manually run yarn install from dtrace-provider it fails with error
|
@xibuka thanks. it work for me |
For anyone got this error, I fixed it by install
The error 's gone. I guess it's the easiest way. P.s: if you're installed |
I was using |
Removing /node_modules (installed with npm) and installing via yarn solved this for me. Node v7.10.0 (v8.1.4 still threw errors even with yarn). |
No matter which workaround in this issue I tried, it still failed so now I resort to a manual |
this time I'm rid of the errors after
|
Hey all, I really need two things so we can address this issue:
|
It seems to be fixed with the last version of dtrace-provider. I updated my dtrace-provider from 0.8 to 0.8.5 and the error is gone. |
Yay, thanks @davidfirst |
@davidfirst i haven't had to manually do anything with are you saying you just did something like below?:
|
@tony-kerz nope. It wasn't installed globally for me. It was a dependency of another package I'm using. |
I fixed this by removing my yarn.lock file and having yarn reinstall all my modules from package.json. |
same issue with { Error: Cannot find module './build/Release/DTraceProviderBindings' |
I suspect many people may have slightly different issues which all surface as the same thing. In my case, the solution was to make sure I was using Python 2.7 (and not Python 3). Hope that helps someone! |
@xdissent Thanks for your thorough breakdown of the problem. In order to get the errors resolved, I had to ensure that
Ideally, this "failure" to build would be more obvious and yarn would report this. I see that other issues related to this problem mention yarn's |
I have a not very good idea.
|
It's work for me.
|
I had this same issue and just ran |
Still seeing the error, got rid of it by:
|
andrea-f your solution worked for me. Thanks |
For me working fine in app root:
reference in and of page in : @baseprime baseprime/dynamodb#50 (comment) |
I'm using version 0.17.3. If I run
npm install
everything works fine. The problem only shows up when I doyarn install
.Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
After doing yarn install and start a development server with webpack and react-hot-loader, I get a bunch of module not found issues like this:
What is the expected behavior?
Module is found and no error is printed
Please mention your node.js, yarn and operating system version.
Node 6.9.1
NPM 3.10.9
The text was updated successfully, but these errors were encountered: