Skip to content

mac build: fsevents Unexpected character (1:0) #1333

@Venipa

Description

@Venipa

Describe the bug
If i want to build the mac dmg via github actions it runs until it wants to bundle the release:
Mac os build logs can be found here: https://github.com/Venipa/ytmdesktop2/runs/2395324300

-  Bundling main process...
 ERROR  Failed to compile with 1 errors10:35:03 PM

 error  in ./node_modules/fsevents/fsevents.node

Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

 @ ./node_modules/fsevents/fsevents.js 13:15-41
 @ ./node_modules/chokidar/lib/fsevents-handler.js
 @ ./node_modules/chokidar/index.js
 @ ./node_modules/sass/sass.dart.js
 @ ./src/app/utils/webContentUtils.ts
 @ ./src/app/main.ts
 @ ./src/background.ts
 @ multi ./src/background.ts

To Reproduce
Steps to reproduce the behavior:

  • get your mac instance/machine
  • git clone https://github.com/Venipa/ytmdesktop2
  • yarn release --mac or just yarn release

Expected behavior
No Error 👍

Screenshots
image

Environment (please complete the following information):

Additional context
Last run with failed mac-os build: https://github.com/Venipa/ytmdesktop2/runs/2395324300 (contains the error)

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