Open QiHuang02 opened 3 hours ago
然后我去pnpm-lock发现有sass-embedded:
这里的截图只是描述了 主题包需要依赖 sass-embedded
然后是node_modules中没有sass:
sass 和 sass-embedded 都是可选依赖,但是需要二选一,至少有一个。
pnpm 包管理器有时候在处理一些 依赖的变更时,会出现一些问题,特别是在对 二进制依赖包的处理上。
但这类问题都比较好解决,你可以尝试按以下步骤解决:
好的,已经解决了,感谢你的帮助
检查清单
包名
vuepress-theme-plume
你正在使用哪个操作系统?
描述该错误
网页上的提示 at loadPreprocessorPath (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:37291:13) at loadSassPackage (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:37306:19) at process (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:37552:27) at compileCSSPreprocessors (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:36741:34) at compileCSS (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:36795:38) at async TransformPluginContext.transform (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:36170:11) at async PluginContainer.transform (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:49096:18) at async loadAndTransform (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:51929:27) at async viteTransformMiddleware (file:///D:/.QiHuang02/locale/nodemodules/.pnpm/vite@5.4.10@types+node@22.8.1/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:61881:24 然后我去pnpm-lock发现有sass-embedded: 然后是node_modules中没有sass:
附加上下文
No response