Skip to content

[pnpm linux] Cli: wrong/no binary ("lightningcss: 1: This: not found") #1193

@a-kla

Description

@a-kla
$ pnpm add -D lightningcss-cli

…
devDependencies:
+ lightningcss-cli 1.32.0

$ node_modules/.bin/lightningcss 
node_modules/.bin/../.pnpm/lightningcss-cli@1.32.0/node_modules/lightningcss-cli/lightningcss: 1: This: not found

Same on v1.31.0:

$ pnpm lightningcss 
./node_modules/.bin/../lightningcss-cli/lightningcss: 1: This: not found

The content of the "binary" is This file is required so that npm creates the lightningcss binary on Windows.

See #282

Should be fixed in v1.15.0.

Originally posted by @devongovett in #282

Locks like it's not. At last for pnpn on Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions