I have installed Prerenderer IO on my Mac Machine (OS X Yosemite 10.10.3). Right out of the installation, I ran sudo npm install
and run sudo node server.js
to get the following errors:
phantom stdout: XMLHttpRequest cannot load http://::1:12302/dnode/info. Cross origin requests are only supported for HTTP.
phantom stdout: XMLHttpRequest cannot load http://::1:12301/dnode/info. Cross origin requests are only supported for HTTP.
phantom stdout: NETWORK_ERR: XMLHttpRequest Exception 101: A network error occured in synchronous requests.
.../node_modules/phantom/shim.js:1815
.../node_modules/phantom/shim.js:1842
phantom stdout: NETWORK_ERR: XMLHttpRequest Exception 101: A network error occured in synchronous requests.
.../node_modules/phantom/shim.js:1815
.../node_modules/phantom/shim.js:1842
2015-08-04T13:45:47.307Z getting https://google.com
phantom stdout: XMLHttpRequest cannot load http://::1:12303/dnode/info. Cross origin requests are only supported for HTTP.
NETWORK_ERR: XMLHttpRequest Exception 101: A network error occured in synchronous requests.
.../node_modules/phantom/shim.js:1815
.../node_modules/phantom/shim.js:1842
phantom stdout: XMLHttpRequest cannot load http://::1:12304/dnode/info. Cross origin requests are only supported for HTTP.
phantom stdout: NETWORK_ERR: XMLHttpRequest Exception 101: A network error occured in synchronous requests.
.../node_modules/phantom/shim.js:1815
.../node_modules/phantom/shim.js:1842
I try entering a url http://localhost:3000/https://google.com
and it hangs up after a few minutes.
I have changed the permissions and tried installing globally. Both does not work