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

Warning "The engine "pnpm" appears to be invalid" #118

Closed
silveltman opened this issue Mar 1, 2024 · 2 comments
Closed

Warning "The engine "pnpm" appears to be invalid" #118

silveltman opened this issue Mar 1, 2024 · 2 comments
Assignees

Comments

@silveltman
Copy link

I get the warning warning prettier-plugin-astro-organize-imports@0.4.3: The engine "pnpm" appears to be invalid. in my console when installing.

Is this intended?

@neoki07 neoki07 self-assigned this Mar 1, 2024
@neoki07
Copy link
Owner

neoki07 commented Mar 1, 2024

No, this was not intended. It seems that the engines field in the package.json is causing this issue.

Are you using yarn v1 as your package manager? This warning might be displayed when using yarn v1 (yarnpkg/yarn#7560). I have observed that the warning does not seem to occur with npm, bun, or yarn v2 and above.

@neoki07
Copy link
Owner

neoki07 commented Mar 4, 2024

This problem occurs in yarn v1, but does not seem to occur in v2 or later, so it is closed. If the problem persists, feel free to reopen it. Thank you!

@neoki07 neoki07 closed this as completed Mar 4, 2024
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