Try install Atom on archlinux (script/build) err #8468
Comments
Huh, that's interesting. Is that the full output that you get? If you run Also cc @kevinsawicki |
Whoa, never seen this before. |
This might be a node issue, see: nodejs/node-v0.x-archive#25327 and nodejs/node-v0.x-archive#8698 |
FWIW, the aur package https://aur.archlinux.org/packages/atom-editor/ just finished building without errors for me without any modification to the pkgbuild. My configuration: 4.1.5-1-ARCH #1 SMP PREEMPT Tue Aug 11 15:41:14 CEST 2015 x86_64 GNU/Linux I did get a spawn-sync warning, but I don't think that its related to this. |
I get OP's bug with node 0.12.7, npm 2.14.0, and atom-editor 1.0.7-2 PKGBUILD. Uname: 4.2.0-rc8-mainline #1 SMP PREEMPT Mon Aug 24 12:13:13 CEST 2015 x86_64 GNU/Linux |
script/build --verbose
Node: v0.12.7
npm: v2.14.1
Installing build modules...
Installing apm...
Installing modules ✓
Installing atom-dark-syntax@0.27.0 ✓
Installing atom-dark-ui@0.51.0
dns.js:121
callback(null, addresses[0], addresses[0].indexOf(':') >= 0 ? 6 : 4);
^
TypeError: Cannot call method 'indexOf' of undefined
at Object.onanswer [as oncomplete] (dns.js:121:51) Otros datos
|
Your version of npm looks suspicious (2.14.1). I believe I had to uninstall the npm package and let atom use it's own version (2.13.3).
|
Well now I'm baffled. I do have 2.14.1 installed, but it appears the log output from the build script is saying 2.13.3.
As a side note, you should probably specify a build-dir. By default, atom installs in the /tmp directory and Arch cleans out the directory on restart by default. |
I'm not installing atom from aur. but try and produced the same error
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks! |
The text was updated successfully, but these errors were encountered: