datavis-tech / graph-data-structure

A graph data structure with topological sort and shortest path algorithms.
MIT License
249 stars 46 forks source link

Installation fails because binary dist/cli.module.js is missing #59

Closed uwej711 closed 1 year ago

uwej711 commented 1 year ago

Hi, when running a package (renovate) that requires this module (maybe through other dependencies) with npx we receive the error: enoent ENOENT: no such file or directory, chmod '/home/vagrant/.npm/_npx/1665/lib/node_modules/renovate/node_modules/graph-data-structure/dist/cli.module.js' Your package.json contains an entry for a binary "dist/cli.module.js" that is not part of the npm package. I'm no export here, but either that file should be there or the bin entry removed from your package.json?

curran commented 1 year ago

Oh interesting... Yeah sorry about that!

curran commented 1 year ago

Published fix in https://github.com/datavis-tech/graph-data-structure/releases/tag/v3.1.1

Hope it makes it work for you!