Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

How can I change the node version? #1620

Open
dotku opened this issue Sep 24, 2018 · 0 comments
Open

How can I change the node version? #1620

dotku opened this issue Sep 24, 2018 · 0 comments

Comments

@dotku
Copy link

dotku commented Sep 24, 2018

Issue and Steps to Reproduce

Install nuclide using node v10, because I realized v10 is not LTS version, so I want to switch to v8. After install Node V8, start the terminal, return error with v10 settings:

For more info check out the docs: https://nuclide.io/docs/features/terminal
Error starting process:
Error: Remote Error: Usage: pty.fork(file, args, env, cwd, cols, rows, uid, gid, utf8, onexit) processing message {"protocol":"service_framework3_rpc","type":"call","method":"PtyService/spawn","id":15,"args":{"info":{"terminalType":"xterm-256color","environment":[],"cwd":"/usr/share/nginx/"},"client":-2}}
"Error: Usage: pty.fork(file, args, env, cwd, cols, rows, uid, gid, utf8, onexit)\n    at new UnixTerminal (/home/ec2-user/.nvm/versions/node/v10.11.0/lib/node_modules/nuclide/node_modules/nuclide-prebuilt-libs/pty/lib/unixTerminal.js:53:24)\n    at Object.spawn (/home/ec2-user/.nvm/versions/node/v10.11.0/lib/node_modules/nuclide/node_modules/nuclide-prebuilt-libs/pty/lib/index.js:12:12)\n    at new PtyImplementation (/home/ec2-user/.nvm/versions/node/v10.11.0/lib/node_modules/nuclide/modules/atom-ide-ui/pkg/atom-ide-terminal/lib/pty-service/PtyService.js:247:42)\n    at RpcConnection.spawn (/home/ec2-user/.nvm/versions/node/v10.11.0/lib/node_modules/nuclide/modules/atom-ide-ui/pkg/atom-ide-terminal/lib/pty-service/PtyService.js:120:10)"

My top goal is actually try to run terminal on atom, it gave me error, and reported over here: #1431

That's why I downgrade Node v10 to Node v8

Expected Behavior

It should open the terminal window

Actual Behavior

Reported error with old node configuration.

Versions

  • Atom: 1.29.0
  • Nuclide: 0.349.0
  • Client OS: Mac 10.13.2
  • Server OS (optional): Amazon Linux 2

Additional Details

  • Installed packages (apm ls --installed):

├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant