Skip to content

Installing @hpcc-js/wasm attempts to copy dot-wasm bin from wasm-graphviz-cli that does not exist #308

@SirzBenjie

Description

@SirzBenjie

Attempting to install this with pnpm causes the following warning to be emitted:

 WARN  Failed to create bin at node_modules/.bin/dot-wasm. ENOENT: no such file or directory, open 'node_modules/.pnpm/@hpcc-js+wasm@2.23.0/node_modules/@hpcc-js/wasm/node ./node_modules/@hpcc-js/wasm-graphviz-cli/bin/index.js'

I believe the crux of the issue is due to the presence of this line in the package.json:

  "bin": {
    "dot-wasm": "node ./node_modules/@hpcc-js/wasm-graphviz-cli/bin/index.js"
  },

Presumably, this shouldn't be here.

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