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 fastify-zod #126

Closed
max-programming opened this issue Oct 23, 2022 · 8 comments · Fixed by #127
Closed

Can't install fastify-zod #126

max-programming opened this issue Oct 23, 2022 · 8 comments · Fixed by #127
Assignees
Labels
bug Something isn't working Windows Issues related with Windows support.

Comments

@max-programming
Copy link
Contributor

max-programming commented Oct 23, 2022

Provide installed version

[Ultra] v0.7.3 (47.05ms)

Current platform

Windows

Describe the Bug

I tried running the following command

ultra install fastify-zod

And it did not install the fastify-zod package. Whereas npm successfully did it.

This is the error ultra gave to me (after 26 seconds)
image

This is what NPM shows after installation (after 5 seconds)
image

Expected Behavior

Expected that fastify-zod gets installed automatically

Template command (if applicable)

ultra install fastify-zod

To Reproduce

Run ultra install fastify-zod in a blank project

@max-programming
Copy link
Contributor Author

max-programming commented Oct 23, 2022

Just tried installing fastify-jwt and again got same error

But with an extra line
image

@nachoaldamav nachoaldamav self-assigned this Oct 23, 2022
@nachoaldamav nachoaldamav added the bug Something isn't working label Oct 23, 2022
@nachoaldamav
Copy link
Owner

Looks like it's a problem with Windows, it works on WSL2 (Ubuntu)

@nachoaldamav
Copy link
Owner

nachoaldamav commented Oct 23, 2022

Just tried installing fastify-jwt and again got same error

But with an extra line image

This one may be a problem with a dependency that starts with npm: those are not supported yet.
image

@nachoaldamav nachoaldamav added the Windows Issues related with Windows support. label Oct 23, 2022
@max-programming
Copy link
Contributor Author

@nachoaldamav I just found out that fastify-jwt is deprecated and @fastify/jwt is recommended instead

@max-programming
Copy link
Contributor Author

Looks like it's a problem with Windows, it works on WSL2 (Ubuntu)

Does fastify-zod work on WSL2?

@nachoaldamav
Copy link
Owner

nachoaldamav commented Oct 23, 2022

Looks like it's a problem with Windows, it works on WSL2 (Ubuntu)

Does fastify-zod work on WSL2?

My installation didn't fail, can you test it in a project that uses it?

EDIT:
Running npm ls --depth 10 doesn't retrieve any error, so the installation should be fine.

@nachoaldamav
Copy link
Owner

nachoaldamav commented Oct 23, 2022

Should be fixed in v0.7.4
npm i ultra-pkg@latest -g

@max-programming
Copy link
Contributor Author

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows Issues related with Windows support.
Projects
None yet
2 participants