Basic error when using jquery with nodejs

后端 未结 4 1520
情话喂你
情话喂你 2021-01-14 07:01

I\'m trying to use some jquery in my project and as soon as I tried using it I came across an error in copied code and can\'t get any google help on it

 var          


        
4条回答
  •  迷失自我
    2021-01-14 07:10

    You can't use jquery on server as it explicitly requires window and window.document. Try cheerio

提交回复
热议问题