Skip to content

Problem loading next.js statically exported site #154

@ericbets

Description

@ericbets

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
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions