原文:npm run dev时 一堆报错 (node:37693) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency

node: Warning: Accessing non existent property cat of module exports inside circular dependency Use node trace warnings ... to show where the warning was created node: Warning: Accessing non existent ...

2021-11-29 18:12 0 4389 推荐指数:

查看详情

终端警告Warning: Accessing non-existent property '...' of module exports inside circular dependency

在使用commander和shelljs开发终端命令行的过程中,发现只要一运行所开发的命令,就会出现大段警告,类似这样: 在百度上搜了下,说是node版本14导致的问题,要将node降版本到12,可是公司前端统一都用14,降版本肯定是不行的。。。。 所以我又去github上看了一圈,发现也有 ...

Fri Mar 25 00:31:00 CST 2022 0 3394
npm run build 遇到报错 [BABEL] No "exports" main defined in

根据猜测,应该是低版本 nodejs 下创建的项目,在高版本 nodejs 中,因版本差异导致的编译问题 解决方法 修改node_modules\@babel\helper-compilation-targets\package.json中exports的配置,具体如下: 转 ...

Wed Oct 13 01:58:00 CST 2021 0 850
npm run dev 报错

1.install警告: 可忽略 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN ...

Tue Oct 17 22:42:00 CST 2017 0 6237
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM