node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);[Error: EPERM: operation not permitted, mkdir 'C:\'] {
errno: -4048,
code: 'EPERM',
syscall: 'mkdir',
path: 'C:\\'
}
AutoImport({
// Auto import functions from Vue, e.g. ref, reactive, toRef...
// 自动导入 Vue 相关函数,如:ref, reactive, toRef 等
imports: ["vue"],
dts: "/auto-import.d.ts",
resolvers: [

博客主要讲述了在使用Element Plus和Vue开发时遇到的问题。出现了EPERM操作权限错误,在vite.config.js中找不到auto - import.d.ts导致读取路径错误,且从错误信息难以判断问题,需不断调试才能解决。
最低0.47元/天 解锁文章
6739





