Skip to content

Examples don't work as presented from node #13

@pg1671

Description

@pg1671

The 2 examples on the main page did not work as presented for me running under node.js.

  1. I had to upgrade to node13, can you make a note of this or the experimental modules command line option.
  2. I had to make the calling code a module by renaming to mjs.
  3. When importing renderSocialImage it is not a function you can call directly and you need to call the default function.

I don't use node.js often so I may have missed something.

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