Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
64 views
in Technique[技术] by (71.8m points)

How to open a Node.JS terminal in VS Code

How can I open a Node.JS terminal in the Visual Studio Code integrated terminal? I'm doing a tutorial to learn Angular and in the video the guy types in the command ng serve, but for me it says command not recognized. I noticed that my terminal it says PowerShell but on his it says node, so I thought maybe that's why it's not recognizing the command for me. But upon clicking the dropdown box to select node the option is not there for me. I do have Node.JS running but the terminal option is not available in VS Code.

Node.JS terminal not available

question from:https://stackoverflow.com/questions/65835755/how-to-open-a-node-js-terminal-in-vs-code

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I think you're looking for Command Prompt. Click Select Default Shell and choose cmd prompt and it should work now


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...