Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when open terminal-plus: was compiled against a different Node.js version using NODE_MODULE_VERSION 46 #575

Open
xdnroot opened this issue Dec 20, 2019 · 0 comments

Comments

@xdnroot
Copy link

xdnroot commented Dec 20, 2019

I've install terminal-plus on atom 1.42.0, but when I tried to open the terminal, diplay this error on console log:

Cannot find module '../build/Release/pty.node'

The module '/home/xdnroot/.atom/packages/terminal-plus/node_modules/pty.js/bin/linux/x64.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 46. This version of Node.js requires NODE_MODULE_VERSION 69. Please try re-compiling or re-installing the module (for instance, using npm rebuildornpm install). Error: The module '/home/xdnroot/.atom/packages/terminal-plus/node_modules/pty.js/bin/linux/x64.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 46. This version of Node.js requires NODE_MODULE_VERSION 69. Please try re-compiling or re-installing the module (for instance, using npm rebuildornpm install). at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31) at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18) at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Module.require (internal/modules/cjs/loader.js:640:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/home/xdnroot/.atom/packages/terminal-plus/node_modules/pty.js/lib/pty.js:17:9) at Object.<anonymous> (/home/xdnroot/.atom/packages/terminal-plus/node_modules/pty.js/lib/pty.js:477:3) at Module._compile (internal/modules/cjs/loader.js:693:30) at Object.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:255:23) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Module.require (internal/modules/cjs/loader.js:640:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/home/xdnroot/.atom/packages/terminal-plus/node_modules/pty.js/index.js:2:18) at Object.<anonymous> (/home/xdnroot/.atom/packages/terminal-plus/node_modules/pty.js/index.js:4:3) at Module._compile (internal/modules/cjs/loader.js:693:30) at Object.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:255:23) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Module.require (internal/modules/cjs/loader.js:640:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/home/xdnroot/.atom/packages/terminal-plus/lib/process.coffee:1:7) at Object.<anonymous> (/home/xdnroot/.atom/packages/terminal-plus/lib/process.coffee:1:1) at Object.<anonymous> (/home/xdnroot/.atom/packages/terminal-plus/lib/process.coffee:1:1) at Module._compile (internal/modules/cjs/loader.js:693:30) (anonymous) @ <embedded>:14 (anonymous) @ <embedded>:14 simpleDispatch @ <embedded>:11 emit @ <embedded>:11 (anonymous) @ <embedded>:14 emit @ events.js:182 emit @ internal/child_process.js:812 _tickCallback @ internal/process/next_tick.js:63 <embedded>:14 handler is not defined ReferenceError: handler is not defined at process.<anonymous> (/usr/share/atom/resources/app.asar/src/task-bootstrap.js:69:20) at process.emit (events.js:182:13) at emit (internal/child_process.js:812:12) at process._tickCallback (internal/process/next_tick.js:63:19)

I use nodejs v12.13.1 where the NODE_MODULE_VERSION is 72 and npm 6.12.1

@xdnroot xdnroot changed the title Error when open terminal-plus Error when open terminal-plus: was compiled against a different Node.js version using NODE_MODULE_VERSION 46 Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant