Can't run this nodejs code?

后端 未结 2 1168
感情败类
感情败类 2021-01-14 05:47

Im trying to run this simple code but I m getting error all the time...I really dont know what\'s the problem. It seems to me very Ok...? Thanks!

    var htt         


        
2条回答
  •  梦谈多话
    2021-01-14 05:58

    In your first line there are quotes missing around http:

    var http = require('http');
    

提交回复
热议问题