FS#55539 - [atom] Not compiled against the right nodejs version

Attached to Project: Community Packages
Opened by Giovanni (ksniffer) - Wednesday, 06 September 2017, 14:54 GMT
Last edited by Nicola Squartini (tensor5) - Sunday, 10 September 2017, 17:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Nicola Squartini (tensor5)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

App threw an error during load
Error: The module '/usr/lib/atom/node_modules/nslog/build/Release/nslog.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 50. This version of Node.js requires
NODE_MODULE_VERSION 53. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/atom/node_modules/nslog/lib/nslog.js:5:11)
at Object.<anonymous> (/usr/lib/atom/node_modules/nslog/lib/nslog.js:15:4)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: The module '/usr/lib/atom/node_modules/nslog/build/Release/nslog.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 50. This version of Node.js requires
NODE_MODULE_VERSION 53. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/atom/node_modules/nslog/lib/nslog.js:5:11)
at Object.<anonymous> (/usr/lib/atom/node_modules/nslog/lib/nslog.js:15:4)

This task depends upon

Closed by  Nicola Squartini (tensor5)
Sunday, 10 September 2017, 17:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  atom 1.19.7-1
Comment by Nicola Squartini (tensor5) - Saturday, 09 September 2017, 18:16 GMT
You updated electron without updating atom. Do pacman -Suy and try again.
Comment by Eli Schwartz (eschwartz) - Sunday, 10 September 2017, 03:27 GMT
Certainly. As I discovered when I tried installing atom to test the validity of this bug, you updated atom several times but only pushed the updates for x86_64.

If it won't build for i686 you should db-remove the i686 version until you get it working again, not leave it mysteriously out of date and liable to break when it doesn't get rebuilt against its updated dependencies...
Comment by Nicola Squartini (tensor5) - Sunday, 10 September 2017, 17:43 GMT
Sorry, my bad. Initially when I upgraded electron, there was a problem with the i686 build so I left the old i686 versions of both atom and electron, and there was no compatibility issue. Then I successfully built i686 electron and released it in 1.6.11-2, but I forgot to upgrade atom.

Loading...