Tuesday 30 May 2017

ReferenceError by script nodejs

I'm receiving the following error:

"Uncaught ReferenceError: Invalid left-hand side in assignment"

From this code:

`const cheerioReq = require("cheerio-req");

//noinspection JSAnnotator
cheerioReq("https://my.alpinegqs.com/", (err, $) = {
  console:log($(".header h1").text()),

});`



via T.Nader

No comments:

Post a Comment