-
Notifications
You must be signed in to change notification settings - Fork 9
Description
[plugin:vite:css] [postcss] ENOENT: no such file or directory, open '@fontsource/spline-sans-mono/400.css'
/Users/admin/Documents/tc/tcnb/docs/test.html:undefined:null
at async open (node:internal/fs/promises:638:25)
at async Object.readFile (node:internal/fs/promises:1242:14)
at async Object.load (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BHkUv4Z8.js:32342:19)
at async loadImportContent (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:403:19)
at async Promise.all (index 0)
at async resolveImportId (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:388:27)
at async parseStyles$1 (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:341:4)
at async Object.Once (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:469:20)
at async LazyResult.runAsync (/Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/postcss/lib/lazy-result.js:293:11)
at async runPostCSS (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BHkUv4Z8.js:32399:19)
Click outside, press Esc key, or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.js.
vite v7.0.6 building for production...
Unable to resolve `@import "@fontsource/spline-sans-mono/400.css"` from /Users/admin/Documents/tc/tcnb/docs
✓ 94 modules transformed.
✗ Build failed in 126ms
node:internal/modules/run_main:122
triggerUncaughtException(
^
[vite:css] [postcss] ENOENT: no such file or directory, open '@fontsource/spline-sans-mono/400.css'
file: /xxxx/docs/test.html?html-proxy&inline-css&index=0.css:undefined:NaN
at async open (node:internal/fs/promises:638:25)
at async Object.readFile (node:internal/fs/promises:1242:14)
at async Object.load (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BHkUv4Z8.js:32342:19)
at async loadImportContent (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:403:19)
at async Promise.all (index 0)
at async resolveImportId (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:388:27)
at async parseStyles$1 (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:341:4)
at async Object.Once (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DcjhO6Jt.js:469:20)
at async LazyResult.runAsync (/Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/postcss/lib/lazy-result.js:293:11)
at async runPostCSS (file:///Users/admin/Documents/tc/tcnb/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-BHkUv4Z8.js:32399:19) {
errno: -2,
code: 'PLUGIN_ERROR',
syscall: 'open',
path: '@fontsource/spline-sans-mono/400.css',
loc: { file: undefined, line: undefined, column: NaN },
pluginCode: '\n' +