-
Notifications
You must be signed in to change notification settings - Fork 79
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 after installing @electron/build-tools on Arch #162
Comments
A solution I came up with:
|
I think the package should at least come with a bundled version of the build tools or install them. |
@RossComputerGuy Can you post the output of |
|
If you run |
|
Oh right, you've manually fixed this already. Can you |
|
Interesting, that looks like it worked. Can you try |
Seems to work |
I'll test again outside the environment I had set up for cross compiling electron |
Without sudo, as my user:
With sudo:
OS: Arch Linux |
On a fresh install, just after installing VS, git, node, and python I get this.
from
|
I seem to be having the same issue on a clean install of Ubuntu 18.04.5 and 20.04. Able to install @electron/build-tools without any issue but attempting to run 'e' fails with Error: Cannot find module '/home/vm/.electron_build_tools/src/e' vm@vm:~$ npm config ls --global ; userconfig /home/vm/.npmrc ; node bin location = /usr/bin/node |
Any update on this? I'm also into this issue. |
Got this issue too.Turns out that I did not add Git to PATH.Better to have some log about this... |
I also have this issue. I've tried npm i -g, but when I try to run e, it looks in my home directory instead of in /usr/lib:
Installing a copy in my user's home directory seems to have resolved the issue. |
This happens in windows as well C:\workspace\watched>e Error: Cannot find module 'C:\Users\Vivek.electron_build_tools\src\e'
|
I also suffered this issue. And I found out that
resolved my issue. |
This worked for me. Just did a |
didn't worked for me, (I am on Ubuntu 22.04) |
Found how to install so here's a little tutorial: |
I just ran
npm install -g @electron/build-tools
on Arch LInux and got this error after rehashing in zsh and runninge init --root=~/electron --bootstrap testing
.The text was updated successfully, but these errors were encountered: