elunez / eladmin

eladmin jpa 版本:项目基于 Spring Boot 2.6.4、 Jpa、 Spring Security、Redis、Vue的前后端分离的后台管理系统,项目采用分模块开发方式, 权限控制采用 RBAC,支持数据字典与数据权限管理,支持一键生成前后端代码,支持动态路由
https://eladmin.vip/demo
Apache License 2.0
21.36k stars 7.36k forks source link

启动服务失败 #628

Closed InVinCiblezz closed 3 years ago

InVinCiblezz commented 3 years ago

今天刚装的最新版(应该是2.6), node 的版本是13.6, 自己本地开发环境,后端已经启动, 在webstorm中安装好依赖后启动dev, `Failed to compile.

./node_modules/nprogress/nprogress.css (./node_modules/css-loader??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??ref--6-oneOf-3-2!./node_modules/nprogress/nprogress.css) Module build failed (from ./node_modules/postcss-loader/src/index.js): Error: Loading PostCSS Plugin failed: No valid exports main found for '/Users/xx/workspace/eladmin/eladmin-web/node_modules/colorette'

(@/Users/xx/workspace/eladmin/eladmin-web/postcss.config.js) at load (/Users/xx/workspace/eladmin/eladmin-web/node_modules/postcss-load-config/src/plugins.js:28:11) at /Users/xx/workspace/eladmin/eladmin-web/node_modules/postcss-load-config/src/plugins.js:53:16 at Array.map () at plugins (/Users/xx/workspace/eladmin/eladmin-web/node_modules/postcss-load-config/src/plugins.js:52:8) at processResult (/Users/xx/workspace/eladmin/eladmin-web/node_modules/postcss-load-config/src/index.js:33:14) at /Users/xx/workspace/eladmin/eladmin-web/node_modules/postcss-load-config/src/index.js:94:14`

请问怎么解决呢?谢谢

InVinCiblezz commented 3 years ago

我发现我在命令行直接用npm run dev就没有这个错误,请问这是什么原因,权限吗?