I am trying to execute the sample and I get the following error: /home/ubuntu/workspace/Image_Search_AL/node_modules/openscraping/node_modules/jsdom/lib/api.js:10 const { URL } = require("whatwg-url"); ^ SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) In the case I edit the file, error continues with a lot of lines in the same file.
I am trying to execute the sample and I get the following error:
/home/ubuntu/workspace/Image_Search_AL/node_modules/openscraping/node_modules/jsdom/lib/api.js:10
const { URL } = require("whatwg-url");
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
In the case I edit the file, error continues with a lot of lines in the same file.