Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to execute examples #293

Closed
victorferraz opened this issue Feb 8, 2017 · 2 comments
Closed

Problem to execute examples #293

victorferraz opened this issue Feb 8, 2017 · 2 comments

Comments

@victorferraz
Copy link
Contributor

victorferraz commented Feb 8, 2017

When I try to execute this example

const pageres = new Pageres({delay: 15})
   .src('yeoman.io', ['480x320', '1024x768', 'iphone 5s'], {crop: true})
    .src('todomvc.com', ['1280x1024', '1920x1080'])
    .src('data:text/html;base64,PGgxPkZPTzwvaDE+', ['1024x768'])
    .dest(__dirname)
    .on('warning', err => console.log(err))
    .run()
    .then(() => `console.log('done'));

Console shows for me these errors:

Unable to load resource #4 (Operation canceled) → http://todomvc.com/site-assets/main.min.js
Unable to load resource #66 (Operation canceled) → https://apis.google.com/js/plusone.js
Unable to load resource #34 (Operation canceled) → https://gravatar.com/avatar/2ad7eb39d40ec50b8a16f0924a664ad2?s=144
Unable to load resource #34 (Operation canceled) → https://gravatar.com/avatar/2ad7eb39d40ec50b8a16f0924a664ad2?s=144
Unable to load resource #30 (Operation canceled) → https://gravatar.com/avatar/6d95827ad2de5f374947b02983d4c85b?s=144

My node version is: 6.0.0
Thanks

@SamVerschueren
Copy link
Contributor

Not sure why this happens. It works perfectly fine here. Are you using the latest version in a fresh project?

@victorferraz
Copy link
Contributor Author

Hmm, I tried again using network cable and it worked, but the problem is related with my network, but anyway I found a thread about that:
ariya/phantomjs#12750
I will close this issue, thanks @SamVerschueren :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants