sebastienrousseau / password-generator

A fast, simple, and powerful open-source utility tool for generating strong, unique, and random passwords. The Password Generator supports various types of passwords including base64-encoded, memorable, and complex strong passwords.
https://password-generator.pro
MIT License
20 stars 5 forks source link

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

Open lefuturiste opened 1 year ago

lefuturiste commented 1 year ago

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"
sebastienrousseau commented 1 year ago

@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