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

fix(nuxt): do not read user's package.json when looking for nuxt deps #27864

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

danielroe
Copy link
Member

🔗 Linked issue

📚 Description

This is a follow-up on #27507. Noticed we were getting weird issues with @nuxt/schema kit versions - and this was because when @nuxt/schema was not installed explicitly in a pnpm project, Nuxt was silently reading package.json from user's project because the module was resolved as /user/path/@nuxt/schema and the closest package.json to this nonexistent path was in fact the user project.

cc: @huang-julien

Copy link

stackblitz bot commented Jun 27, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

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

Successfully merging this pull request may close these issues.

None yet

1 participant