Skip to content

WASM/nodejs throws "Io Error: operation not supported on this platform" if HTML has link to google fonts api #264

@glove99

Description

@glove99

My HTML has links to google font apis:

<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans:100,200,300,400,500,600,700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono:100,200,300,400,500,600,700&display=swap" rel="stylesheet">

Running inline() will throw an UnhandledPromiseRejection and kill the nodejs app. The error message is "Io Error: operation not supported on this platform". I replicated on MacOS and a RHEL container.

If I set load_remote_stylesheets: false then the problem stops.

Not sure if there is something specific about the google font api or a larger problem with loading remote stylesheets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions