Broken in CodeSandbox
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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