Skip to content

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Errors thrown while loading were hard to debug as they only were present in the title of the page

Now they look like this:

CleanShot 2025-03-17 at 12 49 32@2x

(reproduction from nuxt/nuxt#31222)

@danielroe danielroe requested a review from pi0 March 17, 2025 12:50
Copy link
Contributor

Bundle Stats β€” create-nuxt size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
49 5.72 MB β†’ 5.72 MB (-155 B) -0.00%
Changeset
File Ξ” Size
home/runner/work/cli/cli/packages/nuxi/src/utils/dev.ts πŸ“‰ -155 B (-1.85%) 8.17 kB β†’ 8.02 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
chunks/dev2.mjs 70 kB β†’ 69.84 kB (-155 B) -0.22%

Unchanged

Asset File Size % Changed
index.mjs 1.07 kB 0%
chunks/multipart-parser.mjs 5.11 kB 0%
chunks/multipart-parser2.mjs 4.58 kB 0%
chunks/add.mjs 6.83 kB 0%
chunks/analyze.mjs 3.18 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 1.96 kB 0%
chunks/dev.mjs 7.48 kB 0%
chunks/devtools.mjs 764 B 0%
chunks/generate.mjs 388 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.22 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.74 kB 0%
chunks/upgrade.mjs 6.25 kB 0%
chunks/prompt.mjs 42.92 kB 0%
chunks/satisfies.mjs 116 B 0%
chunks/kit.mjs 1.34 kB 0%
chunks/index2.mjs 1.17 MB 0%
chunks/index3.mjs 17.14 kB 0%
chunks/index4.mjs 71.98 kB 0%
chunks/add2.mjs 12.25 kB 0%
chunks/search.mjs 45.83 kB 0%
chunks/xdg-open.mjs 25.32 kB 0%
chunks/node.mjs 140.67 kB 0%
chunks/index5.mjs 1.23 kB 0%
chunks/index6.mjs 6.25 kB 0%
chunks/index7.mjs 50.51 kB 0%
chunks/index8.mjs 5.85 kB 0%
chunks/index9.mjs 885.9 kB 0%
shared/create-nuxt.BkCGUob5.mjs 945.45 kB 0%
shared/create-nuxt.CFtKA_gB.mjs 18.95 kB 0%
shared/create-nuxt.D0i_t0-S.mjs 804 B 0%
shared/create-nuxt.aQX1DinD.mjs 294 B 0%
shared/create-nuxt.D_0Et_R6.mjs 3.9 kB 0%
shared/create-nuxt.3vYeDZWa.mjs 4.07 kB 0%
shared/create-nuxt.BSm0_9Hr.mjs 107 B 0%
shared/create-nuxt.BjSPJ-88.mjs 836 B 0%
shared/create-nuxt.BrXvrpwQ.mjs 108.13 kB 0%
shared/create-nuxt.jjur9XJH.mjs 43.55 kB 0%
shared/create-nuxt.Cf2XTCnt.mjs 2.02 MB 0%
shared/create-nuxt.BjhZEm2-.mjs 1.75 kB 0%
shared/create-nuxt.DnK9Crop.mjs 26.94 kB 0%
shared/create-nuxt.Cf36BT-s.mjs 14.64 kB 0%
shared/create-nuxt.Bck-Dkan.mjs 715 B 0%

Copy link
Contributor

Bundle Stats β€” nuxt-cli size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
30 82.4 kB β†’ 82.25 kB (-155 B) -0.18%
Changeset
File Ξ” Size
home/runner/work/cli/cli/packages/nuxi/src/utils/dev.ts πŸ“‰ -155 B (-1.85%) 8.16 kB β†’ 8.01 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
chunks/dev2.mjs 8.16 kB β†’ 8.01 kB (-155 B) -1.85%

Unchanged

Asset File Size % Changed
index.mjs 224 B 0%
chunks/add.mjs 6.83 kB 0%
chunks/analyze.mjs 3.18 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 1.97 kB 0%
chunks/dev.mjs 7.43 kB 0%
chunks/devtools.mjs 763 B 0%
chunks/generate.mjs 388 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/init.mjs 7.54 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.22 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.74 kB 0%
chunks/upgrade.mjs 6.25 kB 0%
chunks/add2.mjs 10.35 kB 0%
chunks/search.mjs 2.94 kB 0%
shared/cli.DR-xE65U.mjs 5.5 kB 0%
shared/cli.CKXES1-I.mjs 804 B 0%
shared/cli.BJT_5aWI.mjs 294 B 0%
shared/cli.DO1pK9Z1.mjs 1.23 kB 0%
shared/cli.BSm0_9Hr.mjs 107 B 0%
shared/cli.DH1g6pXq.mjs 836 B 0%
shared/cli.DlcAx0De.mjs 1.04 kB 0%
shared/cli.BbbtvDaB.mjs 1.72 kB 0%
shared/cli.NmaPoZ9j.mjs 78 B 0%
shared/cli.C935N1ss.mjs 687 B 0%

Copy link
Contributor

Bundle Stats β€” nuxi size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
55 5.3 MB β†’ 5.3 MB (-155 B) -0.00%
Changeset
File Ξ” Size
src/utils/dev.ts πŸ“‰ -155 B (-1.85%) 8.17 kB β†’ 8.02 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
chunks/dev2.mjs 70 kB β†’ 69.85 kB (-155 B) -0.22%

Unchanged

Asset File Size % Changed
index.mjs 210 B 0%
chunks/prompt.mjs 42.92 kB 0%
chunks/add.mjs 6.83 kB 0%
chunks/analyze.mjs 3.18 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 1.96 kB 0%
chunks/dev.mjs 7.48 kB 0%
chunks/devtools.mjs 764 B 0%
chunks/generate.mjs 388 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/init.mjs 663.66 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.22 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.74 kB 0%
chunks/upgrade.mjs 6.25 kB 0%
chunks/satisfies.mjs 116 B 0%
chunks/main.mjs 15.3 kB 0%
chunks/index2.mjs 915.2 kB 0%
chunks/index3.mjs 17.14 kB 0%
chunks/index4.mjs 71.98 kB 0%
chunks/multipart-parser.mjs 5.11 kB 0%
chunks/add2.mjs 12.25 kB 0%
chunks/search.mjs 45.83 kB 0%
chunks/xdg-open.mjs 25.32 kB 0%
chunks/node.mjs 140.67 kB 0%
chunks/index5.mjs 1.23 kB 0%
chunks/index6.mjs 5.85 kB 0%
chunks/multipart-parser2.mjs 4.58 kB 0%
chunks/index7.mjs 885.9 kB 0%
shared/nuxi.BHoWEGga.mjs 76.15 kB 0%
shared/nuxi.DqkIr2yV.mjs 18.95 kB 0%
shared/nuxi.BQvMd_8w.mjs 804 B 0%
shared/nuxi.vAYtkvh5.mjs 294 B 0%
shared/nuxi.DajsIHV3.mjs 2.57 kB 0%
shared/nuxi.D2_bzAv0.mjs 1.54 kB 0%
shared/nuxi.CD1ILG57.mjs 4.07 kB 0%
shared/nuxi.BSm0_9Hr.mjs 107 B 0%
shared/nuxi.fzDPf3oh.mjs 836 B 0%
shared/nuxi.BxIDvNqq.mjs 1.34 kB 0%
shared/nuxi.TVP5AJsM.mjs 14.64 kB 0%
shared/nuxi.CakqCDsl.mjs 10.03 kB 0%
shared/nuxi.C4l48OVX.mjs 2.02 MB 0%
shared/nuxi.D5KtpA0t.mjs 984 B 0%
shared/nuxi.BjhZEm2-.mjs 1.75 kB 0%
shared/nuxi.DwEL8L-T.mjs 715 B 0%
shared/nuxi.Kph9bHCN.mjs 26.94 kB 0%
shared/nuxi.BPxiWRC2.mjs 123.73 kB 0%
shared/nuxi.D4vggcPe.mjs 5.7 kB 0%
shared/nuxi.wIrae1ai.mjs 54.97 kB 0%
shared/nuxi.Do0aYBCO.mjs 5.46 kB 0%
shared/nuxi.jjur9XJH.mjs 43.55 kB 0%

Copy link

pkg-pr-new bot commented Mar 17, 2025

Open in Stackblitz

npm i https://pkg.pr.new/create-nuxt@794
npm i https://pkg.pr.new/nuxi@794
npm i https://pkg.pr.new/@nuxt/cli@794

commit: 519f959

@danielroe danielroe merged commit aa02649 into main Mar 17, 2025
11 checks passed
@danielroe danielroe deleted the fix/load-error branch March 17, 2025 14:58
@github-actions github-actions bot mentioned this pull request Mar 17, 2025
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

Successfully merging this pull request may close these issues.

1 participant