You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
complete error msg from atom console:
Failed to require the main module of 'atom-xterm' because it requires one or more incompatible native modules (node-pty-prebuilt). Run apm rebuild in the package directory and restart Atom to resolve. requireMainModule @ :11
Issue description
I install atom-xterm via atom package manager and it does not load. In the atom console is that error message (see above).
running apm rebuild completes silently and does not change the behavior.
I went to the the node-pty-prebuilt folder under the atom-xterm package and ran "node-gyp configure; node-gyp build" which was successful. I saw that the pty.node binary did change (using cmp command) but the atom error message stayed the same.
electron version 7.1.1
I did a simple test with electron fiddle that requires node-pty-prebuilt and is gets a similar but more descriptive message in its console: Uncaught Error: The module '/tmp/tmp-3288D7paNnpvRzuR/node_modules/node-pty-prebuilt/build/Release/pty.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 67. This version of Node.js requires NODE_MODULE_VERSION 75. Please try re-compiling or re-installing the module (for instance, using npm rebuildornpm install).
I get the same error when I require node-pty instead of prebuilt.
I tried various electron versions and could not find one that uses NODE_MODULE_VERSION 67. IT seems to be one in the 4.x line.
Thanks,
--BobG
The text was updated successfully, but these errors were encountered:
I tried many things. Uninstalled everything, cleaned everything, and the problem persisted. Then I installed the "local-storage" atom package to view items in atom's local storage cache. There did not seem to be any relevant keys but, inexplicably, the problem went away :(
Failed to require the main module of 'atom-xterm' because it requires one or more incompatible native modules (node-pty-prebuilt). Run apm rebuild in the package directory and restart Atom to resolve. requireMainModule @ :11
Issue description
I install atom-xterm via atom package manager and it does not load. In the atom console is that error message (see above).
running apm rebuild completes silently and does not change the behavior.
I went to the the node-pty-prebuilt folder under the atom-xterm package and ran "node-gyp configure; node-gyp build" which was successful. I saw that the pty.node binary did change (using cmp command) but the atom error message stayed the same.
I did a simple test with electron fiddle that requires node-pty-prebuilt and is gets a similar but more descriptive message in its console:
Uncaught Error: The module '/tmp/tmp-3288D7paNnpvRzuR/node_modules/node-pty-prebuilt/build/Release/pty.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 67. This version of Node.js requires NODE_MODULE_VERSION 75. Please try re-compiling or re-installing the module (for instance, using
npm rebuildor
npm install).
I get the same error when I require node-pty instead of prebuilt.
I tried various electron versions and could not find one that uses NODE_MODULE_VERSION 67. IT seems to be one in the 4.x line.
Thanks,
--BobG
The text was updated successfully, but these errors were encountered: