This happened while launching Atom immediately after upgrading Mac OS from 10.14.5 to 10.14.6.
Atom: 1.40.0 x64
Electron: 3.1.10
OS: Mac OS X 10.14.6
Thrown From: language-agda package 1.0.9
Stack Trace
Failed to load a language-agda package grammar
At The module '/Users/marnen/.atom/packages/language-agda/node_modules/tree-sitter-agda/build/Release/tree_sitter_agda_binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`). in /Users/marnen/.atom/packages/language-agda/grammars/tree-sitter-agda.cson
Error: The module '/Users/marnen/.atom/packages/language-agda/node_modules/tree-sitter-agda/build/Release/tree_sitter_agda_binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. 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:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
at /packages/language-agda/node_modules/tree-sitter-agda/index.js:2:20)
at /packages/language-agda/node_modules/tree-sitter-agda/index.js:11:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:20:18)
at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:688158)
at new TreeSitterGrammar (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3217918)
at GrammarRegistry.createGrammar (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:359778)
at l.readFile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:359619)
at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:581565
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:440:3)
at /packages/language-agda/grammars/tree-sitter-agda.cson:1:1
[Enter steps to reproduce:]
This happened while launching Atom immediately after upgrading Mac OS from 10.14.5 to 10.14.6.
Atom: 1.40.0 x64 Electron: 3.1.10 OS: Mac OS X 10.14.6 Thrown From: language-agda package 1.0.9
Stack Trace
Failed to load a language-agda package grammar
Commands
Non-Core Packages