我试了exit,quit()都不不行,网上也没搜到...
认证0级讲师
Ctrl+D or Ctrl+C twice
Nodejs commands need to be preceded by a dot. You can use .help to view all commands. The exit command is .exit
ctrl+cTwice.
ctrl+c
Exit the node command line: ctrl+C twice or ctrl+D once Exit the terminal: exit; (After testing, there is no problem)
Give you a command line and code that can be used: process.exit();
Ctrl+c try it?
I just encountered this problem
It’s no problem under win, but I just used mac, how do I operate it?
Ctrl+D or Ctrl+C twice
Nodejs commands need to be preceded by a dot. You can use .help to view all commands. The exit command is .exit
ctrl+c
Twice.Exit the node command line: ctrl+C twice or ctrl+D once
Exit the terminal: exit;
(After testing, there is no problem)
Give you a command line and code that can be used:
process.exit();
Ctrl+c try it?
I just encountered this problem
It’s no problem under win, but I just used mac, how do I operate it?