相对路径,绝对路径问题:
.. / 表示上层目录
. / 表示当前目录


在webstorm运行js文件时,node执行的位置为当前目录:

(1)


(2)


相对路径,绝对路径问题:
.. / 表示上层目录
. / 表示当前目录
在webstorm运行js文件时,node执行的位置为当前目录:
(1)
(2)
本文标题:第二章 building a multi-rooms chat
本文链接:https://www.haomeiwen.com/subject/vrrxyttx.html
网友评论