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 loading next.js statically exported site #154

Open
ericbets opened this issue May 29, 2019 · 0 comments
Open

Problem loading next.js statically exported site #154

ericbets opened this issue May 29, 2019 · 0 comments

Comments

@ericbets
Copy link

Carlo won't load a next.js site. This is error message in the console:

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
/_next/static/4sXxrLKhlqKMGukbOt5t1/pages/_app.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
/_next/static/runtime/webpack-a79426b5e11f0ba5879d.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
/_next/static/runtime/main-541f01c65744a5c2c60b.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
/_next/static/chunks/commons.5ab99a3358d0747ad597.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

This is the code that invoked carlo:

const carlo = require('carlo');

carlo.launch().then(async app => {
  app.on('exit', () => process.exit());

  app.serveOrigin('http://localhost:8080'); 
  await app.load('/');
 //index.html doesn't work either
});
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

1 participant