Skip to content

Postinstall script fails with custom build in pnpm workspace #474

Open
@CurrrBell

Description

@CurrrBell

I am seeing the same error raised in this closed issue. It seems like the npm ls webpack call is failing because npm can't parse the pnpm-specific workspace:* syntax in my package.json:
+-- [email protected] invalid: "workspace:*" from the root project -> ...

Is there another way to accomplish the npm ls webpack that doesn't break in this scenario? It's blocking us from migrating to pnpm.

Additional details

ExifReader version: 4.15.0
Web browser and version: -
Node version: v20.16.0

How to reproduce

pnpm install exifreader

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