nuxt / nuxt/starter

Broken in CodeSandbox

Open
#769 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
580
Forks
199
Avg merge
1h 49m
Merged PRs (30d)
28

Description

Hey,

When trying to open the ui template using https://nuxt.new - it doesnt work, see log

[nuxt:tailwindcss 11:26:28 AM] ℹ Tailwind Viewer: http://localhost:3000/_tailwind/
ℹ Re-optimizing dependencies because lockfile has changed 11:26:29 AM
ℹ Vite server warmed up in 13061ms 11:26:42 AM
ℹ Vite client warmed up in 14096ms 11:26:43 AM
✔ Nuxt Nitro server built in 1435 ms nitro 11:26:44 AM

[11:26:44 AM] ERROR [worker reload] [worker init] The requested module 'file:///project/workspace/node_modules/ufo/dist/index.mjs' does not provide an export named 'joinRelativeURL'

import { parseURL, withoutBase, joinURL, getQuery, withQuery, withTrailingSlash, joinRelativeURL } from 'node_modules/ufo/dist/index.mjs';
^^^^^^^^^^^^^^^
SyntaxError: The requested module 'node_modules/ufo/dist/index.mjs' does not provide an export named 'joinRelativeURL'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:131:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:213:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the UI template through nuxt.new in CodeSandbox and inspect the dependency versions used by the starter. Investigate the reported ufo import failure, then verify that the template starts without the joinRelativeURL export error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nuxt, tailwindcss
Domain
build-system, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.