Skip to content

[BUG] Unexpected identifier 'assert' #8

@sam-laister

Description

@sam-laister

Describe the bug
Seems to be:

This is due to support for ["import assertions"](https://nodejs.org/docs/latest-v17.x/api/esm.html#import-assertions) being removed from Node in favour of ["import attributes"](https://nodejs.org/docs/latest-v22.x/api/esm.html#import-attributes)

https://stackoverflow.com/a/78876692

To Reproduce
Steps to reproduce the behavior:

  1. Node v22.15.0
  2. npm i -g make-icns
  3. Run make-icns

Expected behavior
It should run without error

Screenshots

Image

Desktop (please complete the following information):

  • OS: macOS 15.2 - fresh install

Additional context
bug seems to occur in updates.js line 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions