Skip to content

fix: declare @nuxtjs/color-mode in the nuxt apps that load it - #542

Merged
HugoRCD merged 1 commit into
mainfrom
fix/nuxt-color-mode-resolution
Aug 9, 2026
Merged

fix: declare @nuxtjs/color-mode in the nuxt apps that load it#542
HugoRCD merged 1 commit into
mainfrom
fix/nuxt-color-mode-resolution

Conversation

@HugoRCD

@HugoRCD HugoRCD commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Every Vercel build of the Nuxt apps (docs — production included, just-use, render-lab) has been failing at dev:prepare with:

Could not resolve `@nuxtjs/color-mode` (specified as a dependency of `@nuxt/ui`)

Local installs pass, Vercel fails: Vercel installs the lockfile with pnpm 10 while the workspace pins pnpm 11, and with 17 peer variants of @nuxt/ui@4.10 in the lockfile the transitive @nuxtjs/color-mode is no longer resolvable from the apps' own module context there. Nuxt resolves modules from the app root, so the dependable fix is the standard one: declare @nuxtjs/color-mode directly in every app that uses @nuxt/ui (docs, just-use, lab, playground, telemetry), matching @nuxt/ui's own ^4.0.1 range.

Verified: cold dev:prepare passes on docs, just-use, and telemetry; typecheck clean. No changeset: confined to apps/*.

Note: #539's remaining red check (Build examples/Vercel) is this same failure, not that PR's content — it needs main merged once this lands.

@changeset-bot

changeset-bot Bot commented Aug 9, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a8aa70f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
evi Ready Ready Preview Aug 9, 2026 5:38pm
evlog-docs Ready Ready Preview, v0 Aug 9, 2026 5:38pm
evlog-render-lab Ready Ready Preview Aug 9, 2026 5:38pm
evlog-telemetry Ready Ready Preview Aug 9, 2026 5:38pm
just-use-evlog Ready Ready Preview Aug 9, 2026 5:38pm

Request Review

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@HugoRCD, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 10 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: c8cb1f07-8752-484d-88d1-8b96d1ed507e

📥 Commits

Reviewing files that changed from the base of the PR and between b5bca36 and a8aa70f.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • apps/docs/package.json
  • apps/just-use-evlog/package.json
  • apps/lab/package.json
  • apps/playground/package.json
  • apps/telemetry/package.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@pkg-pr-new

pkg-pr-new Bot commented Aug 9, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@evlog/cli@542
npm i https://pkg.pr.new/evlog@542
npm i https://pkg.pr.new/@evlog/nuxthub@542
npm i https://pkg.pr.new/@evlog/telemetry@542

commit: a8aa70f

@HugoRCD
HugoRCD merged commit 787b2a6 into main Aug 9, 2026
19 of 20 checks passed
@HugoRCD
HugoRCD deleted the fix/nuxt-color-mode-resolution branch August 9, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant