Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to build #22

@xobs

Description

@xobs

The README.md file says to run npm install, however that doesn't resolve:

[12:45:06 pm] E:/Code/FFXIV/wtfdig/wtfdig> npm i
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/tailwindcss
npm error   dev tailwindcss@"^4.1.4" from the root project
npm error   peer tailwindcss@"^4.0.0" from @skeletonlabs/[email protected]
npm error   node_modules/@skeletonlabs/skeleton
npm error     dev @skeletonlabs/skeleton@"^3.1.0" from the root project
npm error   2 more (@tailwindcss/forms, @tailwindcss/typography)
npm error
npm error Could not resolve dependency:
npm error peer tailwindcss@"^3.3.0" from [email protected]
npm error node_modules/vite-plugin-tailwind-purgecss
npm error   dev vite-plugin-tailwind-purgecss@"0.3.5" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/tailwindcss
npm error   peer tailwindcss@"^3.3.0" from [email protected]
npm error   node_modules/vite-plugin-tailwind-purgecss
npm error     dev vite-plugin-tailwind-purgecss@"0.3.5" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\Sean\AppData\Local\npm-cache\_logs\2025-04-19T04_45_08_796Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\Sean\AppData\Local\npm-cache\_logs\2025-04-19T04_45_08_796Z-debug-0.log
[12:45:09 pm] E:/Code/FFXIV/wtfdig/wtfdig> 

Running npm install --legacy-peer-deps results in it installing, however the resulting site only provides 404 errors.

Additionally, running npm run build results in errors about ToastProvider not being exported:

x Build failed in 6.84s
error during build:
src/routes/+layout.svelte (3:0): "ToastProvider" is not exported by "node_modules/@skeletonlabs/skeleton-svelte/dist/index.js", imported by "src/routes/+layout.svelte".
file: E:/Code/FFXIV/wtfdig/wtfdig/src/routes/+layout.svelte:3:0

1: <script lang="ts">
2:   import '../app.css';
3:     import { Modal, Popover, ToastProvider } from '@skeletonlabs/skeleton-svelte';
   ^
4:     import ChevronDown from '@lucide/svelte/icons/chevron-down';
5:     import { base } from '$app/paths';

    at getRollupError (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/parseAst.js:396:41)
    at error (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/parseAst.js:392:42)
    at Module.error (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:15655:16)
    at Module.traceVariable (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:16104:29)
    at ModuleScope.findVariable (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:13887:39)
    at FunctionScope.findVariable (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:5306:38)
    at FunctionBodyScope.findVariable (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:5306:38)
    at Identifier.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:5089:40)
    at CallExpression.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:2676:23)
    at CallExpression.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:11313:15)
    at ExpressionStatement.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:2676:23)
    at BlockStatement.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:2672:28)
    at FunctionDeclaration.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:2676:23)
    at ExportDefaultDeclaration.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:2676:23)
    at Program.bind (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:2672:28)
    at Module.bindReferences (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:15634:18)
    at Graph.sortModules (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:21163:20)
    at Graph.build (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:21066:14)
    at async file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:21754:13
    at async catchUnfinishedHookActions (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:21220:16)
    at async rollupInternal (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/rollup/dist/es/shared/node-entry.js:21749:5)
    at async build (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:65443:14)
    at async CAC.<anonymous> (file:///E:/Code/FFXIV/wtfdig/wtfdig/node_modules/vite/dist/node/cli.js:828:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions