1.终端窗口输入:npm init

2.终端输入:npm install

3.修改代码后重启服务:ctrl+c

启动服务:node 文件名.js

 

posted on 2019-03-29 16:22  哎呀墨儿  阅读(641)  评论(0编辑  收藏  举报