An error occurred when I tried to package my vue project
the error code is ”
PS E:Important(E)zhiranbangbang-frontzhiranbangbang> cnpm run build
[email protected] build
vite build
vite v5.2.8 building for production…
✓ 516 modules transformed.
x Build failed in 1.56s
error during build:
Error: [vite:css] [postcss] EISDIR: illegal operation on a directory, read
file: E:/Important(E)/zhiranbangbang-front/zhiranbangbang/src/views/Login.vue?vue&type=style&index=0&scoped=09bcde41&lang.scss:undefined:NaN
PS E:Important(E)zhiranbangbang-frontzhiranbangbang>
“
I checked to see if main.scss was introduced in main.js and it was exist “import ‘./assets/main.scss'”
user25104440 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.