Skip to content

Node modules, that must be unpacked, are not detected automatically #6792

@PF4Public

Description

@PF4Public
  • Electron-Builder Version: 22.11.4
  • Node Version: 14.17.6
  • Electron Version: 18.0.3
  • Electron Type (current, beta, nightly):
  • Target: any

electron-builder does not unpack node modules in vector-im/element-desktop. "asarUnpack": "**/*.node", helps as a workaround. As far as I understand they "yarn link" those two node_modules from build directory to the project directory, which makes them symlinks instead of normal directories. Could this be preventing electron-builder from unpacking them?

For your reference: element-hq/element-desktop#337

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions