Closed julian-carpenter closed 2 years ago
Same here, plugin stopped working:
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:49: Warnung: »v8::MicrotasksCompletedCallback« ist veraltet: Use *WithData version. [-Wdeprecated-declarations]
326 | declarator __attribute__((deprecated(message)))
| ^
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:8205:3: Anmerkung: bei Substitution des Makros »V8_DEPRECATE_SOON«
8205 | V8_DEPRECATE_SOON("Use *WithData version.",
| ^~~~~~~~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:6668:34: Anmerkung: hier deklariert
6668 | typedef void (*MicrotasksCompletedCallback)(Isolate*));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:3: Anmerkung: in Definition des Makros »V8_DEPRECATE_SOON«
326 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:49: Warnung: »v8::MicrotasksCompletedCallback« ist veraltet: Use *WithData version. [-Wdeprecated-declarations]
326 | declarator __attribute__((deprecated(message)))
| ^
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:8214:3: Anmerkung: bei Substitution des Makros »V8_DEPRECATE_SOON«
8214 | V8_DEPRECATE_SOON("Use *WithData version.",
| ^~~~~~~~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:6668:34: Anmerkung: hier deklariert
6668 | typedef void (*MicrotasksCompletedCallback)(Isolate*));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:326:3: Anmerkung: in Definition des Makros »V8_DEPRECATE_SOON«
326 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In Datei, eingebunden von ../src/abstract_socket.cc:9:
../../nan/nan.h: In Funktion »void Nan::AsyncQueueWorker(Nan::AsyncWorker*)«:
../../nan/nan.h:2232:7: Warnung: Umwandlung zwischen inkompatiblen Funktionstypen von »void (*)(uv_work_t*)« {aka »void (*)(uv_work_s*)«} nach »uv_after_work_cb« {aka »void (*)(uv_work_s*, int)«} [-Wcast-function-type]
2232 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/abstract_socket.cc: In Funktion »Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)«:
../src/abstract_socket.cc:98:30: Warnung: »int32_t v8::Value::Int32Value() const« ist veraltet: Use maybe version [-Wdeprecated-declarations]
98 | fd = info[0]->Int32Value();
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2545:46: Anmerkung: hier deklariert
2545 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: Anmerkung: in Definition des Makros »V8_DEPRECATED«
311 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/abstract_socket.cc:99:35: Warnung: »v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)« ist veraltet: Use Isolate version [-Wdeprecated-declarations]
99 | String::Utf8Value path(info[1]);
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: Anmerkung: hier deklariert
2965 | explicit Utf8Value(Local<v8::Value> obj));
| ^~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: Anmerkung: in Definition des Makros »V8_DEPRECATED«
311 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/abstract_socket.cc: In Funktion »Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)«:
../src/abstract_socket.cc:136:30: Warnung: »int32_t v8::Value::Int32Value() const« ist veraltet: Use maybe version [-Wdeprecated-declarations]
136 | fd = info[0]->Int32Value();
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2545:46: Anmerkung: hier deklariert
2545 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: Anmerkung: in Definition des Makros »V8_DEPRECATED«
311 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/abstract_socket.cc:137:35: Warnung: »v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)« ist veraltet: Use Isolate version [-Wdeprecated-declarations]
137 | String::Utf8Value path(info[1]);
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2965:28: Anmerkung: hier deklariert
2965 | explicit Utf8Value(Local<v8::Value> obj));
| ^~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: Anmerkung: in Definition des Makros »V8_DEPRECATED«
311 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/abstract_socket.cc: In Funktion »Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)«:
../src/abstract_socket.cc:170:30: Warnung: »int32_t v8::Value::Int32Value() const« ist veraltet: Use maybe version [-Wdeprecated-declarations]
170 | fd = info[0]->Int32Value();
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8-internal.h:14,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:25,
von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:2545:46: Anmerkung: hier deklariert
2545 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8config.h:311:3: Anmerkung: in Definition des Makros »V8_DEPRECATED«
311 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/abstract_socket.cc: In Funktion »void {anonymous}::Initialize(v8::Local<v8::Object>)«:
../src/abstract_socket.cc:203:65: Fehler: keine passende Funktion für Aufruf von »v8::FunctionTemplate::GetFunction()«
203 | Nan::New<FunctionTemplate>(Socket)->GetFunction());
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat: »v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)«
5891 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
../src/abstract_socket.cc:205:63: Fehler: keine passende Funktion für Aufruf von »v8::FunctionTemplate::GetFunction()«
205 | Nan::New<FunctionTemplate>(Bind)->GetFunction());
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat: »v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)«
5891 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
../src/abstract_socket.cc:207:66: Fehler: keine passende Funktion für Aufruf von »v8::FunctionTemplate::GetFunction()«
207 | Nan::New<FunctionTemplate>(Connect)->GetFunction());
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat: »v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)«
5891 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
../src/abstract_socket.cc:209:64: Fehler: keine passende Funktion für Aufruf von »v8::FunctionTemplate::GetFunction()«
209 | Nan::New<FunctionTemplate>(Close)->GetFunction());
| ^
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat: »v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)«
5891 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
| ^~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:5891:46: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
In Datei, eingebunden von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
../src/abstract_socket.cc: Im globalen Gültigkeitsbereich:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:572:7: Warnung: Umwandlung zwischen inkompatiblen Funktionstypen von »void (*)(v8::Local<v8::Object>)« nach »node::addon_register_func« {aka »void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)«} [-Wcast-function-type]
572 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:606:3: Anmerkung: bei Substitution des Makros »NODE_MODULE_X«
606 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/abstract_socket.cc:215:1: Anmerkung: bei Substitution des Makros »NODE_MODULE«
215 | NODE_MODULE(abstract_socket, Initialize)
| ^~~~~~~~~~~
In Datei, eingebunden von /home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node.h:63,
von ../../nan/nan.h:53,
von ../src/abstract_socket.cc:9:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h: In Instanziierung von »void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]«:
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/node_object_wrap.h:84:78: von hier erfordert
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:9810:16: Warnung: Umwandlung zwischen inkompatiblen Funktionstypen von »v8::WeakCallbackInfo<node::ObjectWrap>::Callback« {aka »void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)«} nach »Callback« {aka »void (*)(const v8::WeakCallbackInfo<void>&)«} [-Wcast-function-type]
9810 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h: In Instanziierung von »void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]«:
../../nan/nan_object_wrap.h:65:61: von hier erfordert
/home/vivien/.atom/.node-gyp/.cache/node-gyp/6.1.12/include/node/v8.h:9810:16: Warnung: Umwandlung zwischen inkompatiblen Funktionstypen von »v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback« {aka »void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)«} nach »Callback« {aka »void (*)(const v8::WeakCallbackInfo<void>&)«} [-Wcast-function-type]
make: *** [abstract_socket.target.mk:105: Release/obj.target/abstract_socket/src/abstract_socket.o] Fehler 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:327:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:277:12)
gyp ERR! System Linux 5.9.3-1-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/vivien/.atom/packages/latex/node_modules/abstract-socket
gyp ERR! node -v v15.0.1
gyp ERR! node-gyp -v v7.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! abstract-socket@2.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the abstract-socket@2.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vivien/.atom/.apm/_logs/2020-11-11T00_23_18_562Z-debug.log
Atom: 1.52.0
Electron: 6.1.12
Chrome: 76.0.3809.146
Node: 12.4.0
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 20.2
Codename: Nibia
Linux Kernel: 5.9.3-1-MANJARO #1 SMP PREEMPT Sun Nov 1 14:25:36 UTC 2020 x86_64
arduino-upload@1.8.0
ascii-hex@0.2.0
atom-alignment@0.13.0
atom-ide-ui@0.13.0
atom-music@2.0.3
atom-ternjs@0.20.0
atom-typing-speedometer@0.3.1
audio@1.5.7
autocomplete-java@1.2.7
autocomplete-javascript@0.0.2
autocomplete-python@1.16.0
autocomplete-sql@0.5.0
busy-signal@2.0.1
character-table@0.4.3
code-stats-atom@2.0.6
color-picker@2.3.0
cson@2.0.1
dec-hex-oct-bin@1.0.0
editor-background@1.2.42
file-icons@2.1.44
highlight-selected@0.17.0
hyperclick@0.1.5
ide-cpp@0.1.0
ide-java@0.9.1
ide-php@0.7.18
intentions@1.1.5
java-generator@2.2.3
kite@0.196.0
language-assembly@0.7.2
language-haskell@1.20.0
language-latex@1.2.0
language-lsl@2.2.0
language-vhdl@0.7.2
latex@0.50.2
latexer@0.3.0
linter-javac@1.10.0
minimap@4.29.9
minimap-bookmarks@0.4.2
minimap-cursorline@0.2.0
minimap-find-and-replace@4.5.2
minimap-lens@0.8.1
minimap-pigments@0.2.2
pandoc-convert@1.1.1
pdf-view@0.72.0
php-ide-serenata@5.4.0
pigments@0.40.6
plantuml-toolkit@0.2.0
project-manager@3.3.8
quick-query@1.1.1
quick-query-sqlite@0.3.2
rcrsv-dark-ui@0.5.0
sync-settings@5.0.7
teletype@0.13.4
testpackage@0.0.0
tree-view-filter@0.5.5
videoplayer@1.5.1
x-terminal@11.0.4
xilinx-unisims@0.1.0
zip-folder@3.3.0
Does anyone know an alternative plugin for this job?
Thanks for the detailed reports. I haven't looked into this in any great detail yet, but it looks like you're both on arch-based distros. In the past, Atom via AUR has been patched to use the system version of Node, instead of the bundled (and often outdated) version of Node that comes with the official distribution of Atom. The error you're both getting looks to be caused by a breaking change in Node which breaks the abstrack-socket
package (which we need for dbus functionality.)
Have you both installed Atom via AUR, and can either of you verify if it still patches in an unsupported version of Node? Thanks!
@thomasjo Yes, i use an arch-based linux distribution. No, i have not installed it from AUR. Instead it's installed from the official Manjaro community repository:
[vivien@vivien-nb ~]$ export LANG=en; sudo pacman -Q -iv atom
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : atom
Name : atom
Version : 1.52.0-1
Description : A hackable text editor for the 21st Century
Architecture : x86_64
URL : https://github.com/atom/atom
Licenses : MIT custom
Groups : None
Provides : None
Depends On : apm electron6 libxkbfile ripgrep
Optional Deps : ctags: symbol indexing support [installed]
git: Git and GitHub integration [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : atom-editor
Installed Size : 204.70 MiB
Packager : Nicola Squartini <tensor5@gmail.com>
Build Date : Thu Oct 15 11:06:14 2020
Install Date : Thu Nov 5 05:38:22 2020
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
@thomasjo same here. Official Atom package from the Arch repo. I use official Arch, not Manjaro. Thanks for looking into this
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : atom
Name : atom
Version : 1.53.0-1
Description : A hackable text editor for the 21st Century
Architecture : x86_64
URL : https://github.com/atom/atom
Licenses : MIT custom
Groups : None
Provides : None
Depends On : apm electron6 libxkbfile ripgrep
Optional Deps : ctags: symbol indexing support
git: Git and GitHub integration [installed]
Required By : None
Optional For : None
Conflicts With : None
Replaces : atom-editor
Installed Size : 256.75 MiB
Packager : Nicola Squartini <tensor5@gmail.com>
Build Date : Wed Nov 11 01:41:28 2020
Install Date : Wed Nov 11 11:31:58 2020
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
There is no official Atom package for Arch/Manjaro. For pure Arch there is only a community maintained package, which is the one that @vivi90 is using. Official Atom packages only exists for Debian (.deb) and Fedora (.rpm). By official I mean available from the Atom community (e.g. https://atom.io).
I had a look at the AUR package for both Atom and apm, and they are indeed using unsupported combinations of Node and npm. Using an official version of Atom (Fedora/.rpm), I get the following version information:
$ atom -v
Atom : 1.53.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
$ apm -v
apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.53.0
python 3.9.0
git 2.28.0
The most important difference between my version output and both of your output is the Node version discrepancy. I'm quite confident this is the sole cause of your problem. As of right now this only affects those who use a packaged version of Atom that uses the "wrong" version of Node. In the future, once Atom updates to newer versions of Node, this will affect all users of this package.
Unfortunately, abstract-socket is used by a dbus package dependency, which means that fixing your problem either means finding another dbus package that does not depend on abstract-socket, or remove dbus support entirely. The abstract-socket package hasn't been updated in a while (hence this build problem), and I'm not going to maintain a fork of the package. I'm tempted to remove dbus support entirely but that would mean removing support for many/most PDF viewers.
TL; DR The problem is caused by atom package in AUR using a patched version of Electron, which in turn uses an unsupported version of Node. The abstract-socket dependency does not support this newer version of Node. Fixing the problem is non-trivial, and there is no clear path for how to proceed.
Finally, I no longer use Atom, so investing a lot of my spare time towards fixing this problem, which only affects a minority of users is unlikely to happen anytime soon. I'm really sorry about that, but I've got other commitments and priorities.
If either of you (or someone else) wants to submit a PR to fix this without breaking dbus support, I'm more than happy to merge the PR and publish a new version. Said fix would most likely involve finding a replacement for the dbus-native package that works with newer versions of Node (as well as 12.x).
@thomasjo Okay so much input. What would be the easiest work around for now so i am able to compile latex inside atom again (without PDF viewer support is okay for me)?
This issue has been marked as stale because due to inactivity. It will be closed in 14 days if no further activity occurs.
I'm being unable to compile the Latex module. The problem is related to the npm abstract-socket package. Rebuilding that manually, however, didn't solve the problem
Error Code
Versions