关闭 13 个任务中的第 4 个 jaredwolff 打开了这个问题 2020 年 3 月 24 日 · 2 条评论 关闭 13 个任务中的第 4 个 Mac OSX 构建上的 eslint-loader 多个导出错误#582 jaredwolff 打开了这个问题 2020 年 3 月 24 日 · 2 条评论 评论 杰瑞德沃尔夫 评论了 2020 年 3 月 24 日 描述 尝试nom install在 Mac OSX 10.14.6 上执行操作时,它一直到模块cross-env NODE_ENV=development webpack-cli --progress --config webpack.config.server.development.js && npm run build-i18n-server然后失败。eslint-loader 这是来自的错误输出npm install: > cncjs@1.9.21 build-dev-server /Users/jaredwolff/CNC/cncjs > cross-env NODE_ENV=development webpack-cli --progress --config webpack.config.server.development.js && npm run build-i18n-server Hash: be26aabb4374491e884a Version: webpack 4.30.0 Time: 14404ms Built at: 03/23/2020 4:12:27 PM Asset Size Chunks Chunk Names index.js 1.61 MiB index [emitted] index Entrypoint index = index.js [0] multi ./index.js 28 bytes {index} [built] [./app.js] 17 KiB {index} [built] [./config/settings.js] 459 bytes {index} [built] [./index.js] 11.6 KiB {index} [built] [./lib/ensure-type.js] 903 bytes {index} [built] [./lib/logger.js] 3.26 KiB {index} [built] [./lib/urljoin.js] 420 bytes {index} [built] [./services/cncengine/index.js] 264 bytes {index} [built] [./services/configstore/index.js] 8.32 KiB {index} [built] [./services/monitor/index.js] 1.58 KiB {index} [built] [bcrypt-nodejs] external "bcrypt-nodejs" 42 bytes {index} [built] [chalk] external "chalk" 42 bytes {index} [built] [dns] external "dns" 42 bytes {index} [built] [ensure-array] external "ensure-array" 42 bytes {index} [built] [expand-tilde] external "expand-tilde" 42 bytes {index} [built] + 180 hidden modules ERROR in ./api/index.js Module Error (from /Users/jaredwolff/CNC/cncjs/node_modules/eslint-loader/index.js): /Users/jaredwolff/CNC/cncjs/src/server/api/index.js 2:1 error Multiple exports of name 'get' import/export 3:1 error Multiple exports of name 'fetch' import/export 4:1 error Multiple exports of name 'get' import/export 6:1 error Multiple exports of name 'fetch' import/export 6:1 error Multiple exports of name '__delete' import/export 6:1 error Multiple exports of name 'update' import/export 6:1 error Multiple exports of name 'create' import/export 6:1 error Multiple exports of name 'read' import/export 7:1 error Multiple exports of name 'fetch' import/export 7:1 error Multiple exports of name '__delete' import/export 7:1 error Multiple exports of name 'create' import/export 7:1 error Multiple exports of name 'read' import/export 7:1 error Multiple exports of name 'update' import/export 8:1 error Multiple exports of name 'update' import/export 8:1 error Multiple exports of name 'create' import/export 8:1 error Multiple exports of name 'read' import/export 8:1 error Multiple exports of name '__delete' import/export 8:1 error Multiple exports of name 'fetch' import/export 9:1 error Multiple exports of name 'create' import/export 9:1 error Multiple exports of name 'read' import/export 9:1 error Multiple exports of name '__delete' import/export 9:1 error Multiple exports of name 'update' import/export 9:1 error Multiple exports of name 'fetch' import/export 10:1 error Multiple exports of name 'read' import/export 10:1 error Multiple exports of name '__delete' import/export 10:1 error Multiple exports of name 'update' import/export 10:1 error Multiple exports of name 'create' import/export 10:1 error Multiple exports of name 'fetch' import/export 11:1 error Multiple exports of name 'update' import/export 11:1 error Multiple exports of name 'create' import/export 11:1 error Multiple exports of name 'fetch' import/export 11:1 error Multiple exports of name 'read' import/export 11:1 error Multiple exports of name '__delete' import/export ✖ 33 problems (33 errors, 0 warnings) @ ./app.js 41:0-29 308:52-61 313:59-70 315:50-59 316:51-60 317:56-65 319:50-59 320:51-60 321:59-68 322:60-69 325:56-71 327:53-65 328:54-66 329:57-69 330:57-69 331:63-75 332:62-74 334:51-61 335:53-63 336:55-65 337:55-65 338:61-71 340:53-65 341:54-66 342:57-69 343:57-69 344:63-75 346:51-61 347:52-62 348:55-65 349:55-65 350:61-71 352:48-55 353:49-56 354:48-55 355:52-59 356:52-59 357:58-65 359:50-59 360:52-61 361:54-63 362:54-63 363:60-69 365:56-65 366:57-66 367:55-64 368:56-65 @ ./index.js @ multi ./index.js npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! cncjs@1.9.21 build-dev-server: `cross-env NODE_ENV=development webpack-cli --progress --config webpack.config.server.development.js && npm run build-i18n-server` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the cncjs@1.9.21 build-dev-server script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/jaredwolff/.npm/_logs/2020-03-23T20_12_27_511Z-debug.log 附上 npm 日志。 2020-03-23T20_12_27_511Z-debug.log 注意:我npm install在存储库的根目录中运行。 版本 CNCjs:1.9.21 Node.js:v10.19.0 NPM:6.14.3 你如何安装CNCjs? NPM 下载 CNCjs 桌面应用程序 数控系统 Grbl 冰沙 TinyG/g2核心 马林鱼 硬件 树莓派 台式机或笔记本电脑 移动设备 操作系统 不适用 视窗 苹果 Linux 贡献者 米奇布拉德利 评论了 2020 年 3 月 24 日 @cheton需要查看这个,但在短期内,您可以通过进入 package.json 并从“准备:”行中删除子句“&& npm run eslint”来取得进展。如果“stylint”和“test”也引起问题,则同上。我没有测试过这个… ?1个jaredwolff 用竖起大拇指表情符号回应 合作者 奇顿 评论了 2020 年 3 月 29 日 • 编辑 @jaredwolff该问题已在 master 分支 ( 5137a18 ) 中修复。 cheton已完成 关闭 2020 年 3 月 29 日 喜欢 (0) 如何检查我使用的是最新的 1.9.21 版本? #580 [GRBL] 每次完成运动后暂停到怠速 #584 v1.3.8-EDGE 重启后键盘快捷键消失 #427 关闭 无法在 gsender 1.2.0 中打开 .gcode 文件 #367 RaspberryPi 运行 gsender 时出现问题 #89 向 fluidnc 发送 $$ 会导致 gsender 崩溃 #473 v1.3.8-EDGE 重启后键盘快捷键消失 #427 关闭无法在 gsender 1.2.0 中打开 .gcode 文件 #367RaspberryPi 运行 gsender 时出现问题 #89向 fluidnc 发送 $$ 会导致 gsender 崩溃 #473功能请求:抑制发送到机器的 gcode 中的 gcode 注释。 #444 关闭通过网络连接进行连接 #171操纵杆运动的剩余问题 #204 关闭新版本认为我的机器一直处于锁定状态 #474 关闭
描述
尝试
nom install
在 Mac OSX 10.14.6 上执行操作时,它一直到模块cross-env NODE_ENV=development webpack-cli --progress --config webpack.config.server.development.js && npm run build-i18n-server
然后失败。eslint-loader
这是来自的错误输出
npm install
:附上 npm 日志。
2020-03-23T20_12_27_511Z-debug.log
注意:我
npm install
在存储库的根目录中运行。版本
你如何安装CNCjs?
数控系统
硬件
操作系统