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

Can't install nuxt/ionic@0.14.0 #565

Closed
Andr9651 opened this issue May 23, 2024 · 2 comments
Closed

Can't install nuxt/ionic@0.14.0 #565

Andr9651 opened this issue May 23, 2024 · 2 comments
Labels
bug Something isn't working needs reproduction

Comments

@Andr9651
Copy link

Andr9651 commented May 23, 2024

🐛 The bug

Trying to install nuxt/ionic@0.14.0 in a new nuxt project results in the following error: 'husky' is not recognized as an internal or external command,

Reproduction Steps:

  1. npx nuxi@latest init <project name>
  2. select npm
  3. npx nuxi@latest module add ionic or npm i @nuxtjs/ionic

Things I've tried:

  • npm i @nuxtjs/ionic@0.13.1 works without issue.
  • Installing Husky first seems fix the issue.
  • Running the commands on 3 different windows machines and a mac all with the same result.
  • Running the commands in CodeSandbox which gives the same result.
  • Running the commands in Stackblitz which oddly enough succeeds. Can't figure out why though...

Windows:

image

Mac:

image

Codesandbox:

image

🛠️ To reproduce

Unsure what to put here?

🌈 Expected behaviour

Installing succeeds with requiring Husky.

ℹ️ Additional context

No response

@Andr9651 Andr9651 added the bug Something isn't working label May 23, 2024
@Andr9651 Andr9651 changed the title Can't install nuxt/ionic@0.14.0 package Can't install nuxt/ionic@0.14.0 May 23, 2024
@jsayer101
Copy link

Got the same problem while trying to install the package using npx nuxi@latest module add ionic and yarn.
Also seems to be a husky issue (command not found: husky).

@keduardo2117
Copy link

I tried updating from 0.13 and I'm getting a similar error, the post-install script fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs reproduction
Projects
None yet
Development

No branches or pull requests

3 participants