Closed barisyesilcimen closed 4 years ago
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
I tested the codes below on Centos 7, Ubuntu and Windows 10. I got the following error every time. I've also tried plugins like babel-polyfill. But there is always a mistake. The codes in places such as Instagram and Facebook work without any problems. What should I do?
` var webPage = require('webpage'); var page = webPage.create(); page.settings.loadImages = true; page.settings.userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"; page.customHeaders = { "Connection": "keep-alive" };
page.viewportSize = { width: 2560, height: 1440 };
page.open('https://www.pinterest.com/', function(status) {
var interval = setInterval(function () {
}, 5000); });`
` TypeError: undefined is not a constructor (evaluating 'Object.entries')
https://s.pinimg.com/webapp/js/bugsnag-7f81b4fffe3d2ba91458.js:1 TypeError: undefined is not a constructor (evaluating 'Object.entries')
https://s.pinimg.com/webapp/js/bugsnag-7f81b4fffe3d2ba91458.js:1 ReferenceError: Can't find variable: Map
https://s.pinimg.com/webapp/js/vendor-react-1b06d0a8393a465f33a6.js:1 in yl30 https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in n https://s.pinimg.com/webapp/js/vendor-react-1b06d0a8393a465f33a6.js:1 in i8i4 https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in n https://s.pinimg.com/webapp/js/vendor-react-1b06d0a8393a465f33a6.js:1 in /MKj https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in n https://s.pinimg.com/webapp/js/entryChunk-www-unauth-e79eb14095d515cee228.js:1 in XyaC https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in n https://s.pinimg.com/webapp/js/entryChunk-www-unauth-e79eb14095d515cee228.js:1 in TLuc https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in n https://s.pinimg.com/webapp/js/entryChunk-www-unauth-e79eb14095d515cee228.js:1 https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in n https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in o https://s.pinimg.com/webapp/js/runtime-49702767d1d6841f486c.js:1 in a`