Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing will fail on projects not using husky #1

Closed
Blackskyliner opened this issue Jul 17, 2024 · 1 comment
Closed

Installing will fail on projects not using husky #1

Blackskyliner opened this issue Jul 17, 2024 · 1 comment

Comments

@Blackskyliner
Copy link

The postinstall ist defined as 'husky' at https://github.com/boenrobot/nuxt-mikro-orm-module/blob/main/package.json#L30

Installing the project as given in the readme will lead to:

pnpx nuxi module add nuxt-mikro-orm-module
Packages: +1
+
Progress: resolved 2, reused 1, downloaded 0, added 1, done
ℹ Installing nuxt-mikro-orm-module@latest development dependency                                                                6:51:31 AM
 Packages: +3 -2
+++--
Progress: resolved 1754, reused 1589, downloaded 1, added 3, done
node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_be_huj7vmotemqow2q643suahd5xy/node_modules/nuxt-mikro-orm-module: Running postinstall script...
 ELIFECYCLE  Command failed.

 ERROR  Command failed with exit code 1: corepack pnpm add -D nuxt-mikro-orm-module@latest    
@boenrobot
Copy link
Owner

boenrobot commented Jul 17, 2024

Thank you for the report. I have now fixed this, and published a new version that should now be installable.

I didn't originally detect this, because the one project where I use this package does have husky installed prior, so it didn't trigger an error 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants