You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ Local: http://localhost:5173/
➜ press h to show help
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'indexOf')
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop')
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop') (x2)
09:36:03 [vitepress] Internal server error: Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop')
Plugin: vite:css
File: F:/github/blog/src/style/index.scss
at Object. (F:\github\blog\node_modules.pnpm\sass@1.69.3\node_modules\sass\sass.node.js:2:43)
at Module.compile (node:internal/modules/cjs/loader:1369:14)
at Module.extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1201:32)
at Module.load (node:internal/modules/cjs/loader:1017:12)
at Module.require (node:internal/modules/cjs/loader:1229:19)
at require (node:internal/modules/helpers:177:18)
at loadPreprocessor (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39294:45)
at scss (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39340:20)
at compileCSSPreprocessors (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38765:36)
at loadPreprocessor (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39302:29)
at scss (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39340:20)
at compileCSSPreprocessors (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38765:36)
at compileCSS (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38815:42)
at async TransformContext.transform (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38295:56)
at async Object.transform (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:44345:30)
at async loadAndTransform (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:55015:29)
at async viteTransformMiddleware (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:64417:32)
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop')
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop') (x2)
Describe the bug
vitepress v1.0.0-rc.22
➜ Local: http://localhost:5173/
➜ press h to show help
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'indexOf')
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop')
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop') (x2)
09:36:03 [vitepress] Internal server error: Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop')
Plugin: vite:css
File: F:/github/blog/src/style/index.scss
at Object. (F:\github\blog\node_modules.pnpm\sass@1.69.3\node_modules\sass\sass.node.js:2:43)
at Module.compile (node:internal/modules/cjs/loader:1369:14)
at Module.extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1201:32)
at Module.load (node:internal/modules/cjs/loader:1017:12)
at Module.require (node:internal/modules/cjs/loader:1229:19)
at require (node:internal/modules/helpers:177:18)
at loadPreprocessor (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39294:45)
at scss (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39340:20)
at compileCSSPreprocessors (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38765:36)
at loadPreprocessor (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39302:29)
at scss (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:39340:20)
at compileCSSPreprocessors (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38765:36)
at compileCSS (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38815:42)
at async TransformContext.transform (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:38295:56)
at async Object.transform (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:44345:30)
at async loadAndTransform (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:55015:29)
at async viteTransformMiddleware (file:///F:/github/blog/node_modules/.pnpm/vite@4.4.11_@types+node@18.18.5_sass@1.69.3/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:64417:32)
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop')
Preprocessor dependency "sass" failed to load:
Cannot read properties of undefined (reading 'pop') (x2)
Reproduction
https://github.com/tomiaa12/blog
Expected behavior
正常打开页面
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: