Skip to content

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Node-Introduction-Demo

this is a demo base on http://www.nodebeginner.org/index-zh-cn.html#how-function-passing-makes-our-http-server-work

这是我跟着Node入门完成的小demo, 还是挺有收获的。在最后的图片重命名时遇到了点小bug,但是通过强大的谷歌找到了解决方案。

bug参见这个链接解决Node.js调用fs.renameSync报错的问题(Error: EXDEV, cross-device link not permitted)

使用方法:

git clone https://github.com/ZZR-china/Node-Introduction-Demo

cd Node-Introduction-Demo

npm install

node index.js

然后访问localhost:3000就会看到效果

Releases

Packages

Contributors

Languages