password-generator icon indicating copy to clipboard operation
password-generator copied to clipboard

Not working with bun runtime and bunx - Cannot find package "clipboardy"

Open lefuturiste opened this issue 2 years ago • 1 comments

Steps to reproduce with a docker container:

docker run -it --rm oven/bun bunx @sebastienrousseau/password-generator -t strong

We get

error: Cannot find package "clipboardy" from "/tmp/@sebastienrousseau/password-generator@latest--bunx/node_modules/@sebastienrousseau/password-generator/src/lib/strong-password.js"

lefuturiste avatar Oct 11 '23 07:10 lefuturiste

@lefuturiste Ensure that "clipboardy" is installed. Assuming that you have ran bun install already to install dependencies, and devDependencies. I have checked and clipboardy is added to the package.json

Let me know and I will try to provide support for bun in the next release

sebastienrousseau avatar Oct 11 '23 10:10 sebastienrousseau