Broccoli Builder ran into an error with `broccoli-persistent-filter:Babel > [Babel: ember-cli-fastboot]` plugin. 💥
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- babel, javascript, node.js
- 领域
- build-system, devtools
调研方向
使用 node --inspect ./node_modules/.bin/ember s 重现故障,然后检查 ember-cli-fastboot/instance-initializers/clear-double-boot.js 以及报告的 worker 终止情况。比较正常 build 与启用 inspector 的 build;当 FastBoot 在 node --inspect 下成功完成 build 并启动,且没有 worker 或 inspector 错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Using ember-cli-babel 6.12.0 / 6.14.1 / 6.17.0 to build an Ember 3.5 app with FastBoot, everything works fine. However, when I try to debug the FastBoot requests by starting the app with node --inspect as documented here, the build fails.
Tested using node 8.11.3 and 8.12.0:
$ node --inspect ./node_modules/.bin/ember s
Debugger listening on ws://127.0.0.1:9229/67d1641a-fd42-4b42-8eff-1128e75cfb9c
For help see https://nodejs.org/en/docs/inspector
Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
Warning: failed to stat /var/www/app/tmp/broccoli_merge_trees-input_base_path-0386spy4.tmp/0
Debugger listening on ws://127.0.0.1:43210/59e7e16d-9937-4614-b44d-e797b4e01834
For help see https://nodejs.org/en/docs/inspector
Debugger listening on ws://127.0.0.1:43211/3d1c5f27-8e23-4dfb-8d98-56b83c710794
For help see https://nodejs.org/en/docs/inspector
Debugger listening on ws://127.0.0.1:43212/ee86c720-a1af-4500-9c49-fe026a0f855f
For help see https://nodejs.org/en/docs/inspector
Starting inspector on 127.0.0.1:43210 failed: address already in use
Starting inspector on 127.0.0.1:43211 failed: address already in use
Starting inspector on 127.0.0.1:43212 failed: address already in use
Build Error (broccoli-persistent-filter:Babel > [Babel: ember-cli-fastboot]) in ember-cli-fastboot/instance-initializers/clear-double-boot.js
Worker terminated unexpectedly
Stack Trace and Error Report: /tmp/error.dump.d0a52049fa710c3edc78a1199ac0e92d.log
error.dump.log:
ENV Summary:
TIME: Thu Nov 15 2018 10:32:51 GMT+0100 (CET)
TITLE: ember
ARGV:
- /home/redsandro/.nvm/versions/node/v8.11.3/bin/node
- /var/www/app/node_modules/.bin/ember
- s
EXEC_PATH: /home/redsandro/.nvm/versions/node/v8.11.3/bin/node
TMPDIR: /tmp
SHELL: /bin/bash
PATH:
- /home/redsandro/.nvm/versions/node/v8.11.3/bin
- /home/redsandro/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
PLATFORM: linux x64
FREEMEM: 9321517056
TOTALMEM: 16784859136
UPTIME: 685
LOADAVG: 1.05810546875,0.8154296875,0.55859375
CPUS:
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1908
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1891
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1977
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1729
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1825
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1831
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1708
- Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz - 1721
ENDIANNESS: LE
VERSIONS:
- ares: 1.10.1-DEV
- cldr: 32.0
- http_parser: 2.8.0
- icu: 60.1
- modules: 57
- napi: 3
- nghttp2: 1.32.0
- node: 8.11.3
- openssl: 1.0.2o
- tz: 2017c
- unicode: 10.0
- uv: 1.19.1
- v8: 6.2.414.54
- zlib: 1.2.11
ERROR Summary:
- broccoliBuilderErrorStack: Error: Worker terminated unexpectedly
at ChildProcess.<anonymous> (/var/www/app/node_modules/ember-cli-fastboot/node_modules/workerpool/lib/WorkerHandler.js:181:17)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
- codeFrame: Worker terminated unexpectedly
- errorMessage: Build Canceled: Broccoli Builder ran into an error with `broccoli-persistent-filter:Babel > [Babel: ember-cli-fastboot]` plugin. 💥
Worker terminated unexpectedly
- errorType: Build Error
- location:
- column: [undefined]
- file: ember-cli-fastboot/instance-initializers/clear-double-boot.js
- line: [undefined]
- treeDir: /var/www/app/tmp/broccoli_persistent_filterbabel__babel_ember_cli_fastboot-input_base_path-pjCTzMzJ.tmp
- message: Build Canceled: Broccoli Builder ran into an error with `broccoli-persistent-filter:Babel > [Babel: ember-cli-fastboot]` plugin. 💥
Worker terminated unexpectedly
- name: Error
- nodeAnnotation: Babel: ember-cli-fastboot
- nodeName: broccoli-persistent-filter:Babel > [Babel: ember-cli-fastboot]
- originalErrorMessage: Worker terminated unexpectedly
- stack: Error: Worker terminated unexpectedly
at ChildProcess.<anonymous> (/var/www/app/node_modules/ember-cli-fastboot/node_modules/workerpool/lib/WorkerHandler.js:181:17)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
I can't seen to comprehend what the problem could be.
Originally reported at https://github.com/ember-fastboot/ember-cli-fastboot/issues/645
- 主要语言
- JavaScript
- 星标
- 151
- 派生
- 115
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
emberjs/ember-cli-babel 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
emberjs/ember-cli-babel#508 ·
-
Add support for Babel v8可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 38/100
emberjs/ember-cli-babel#535 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
emberjs/ember-cli-babel#533 ·
-
难度 4/5 3-5 天 新手友好度 35/100
emberjs/ember-cli-babel#519 · 6 条评论 · 8 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
emberjs/ember-cli-babel#517 ·
查看 emberjs/ember-cli-babel 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
维护者通常 1 天内回复
-
Cloudredirect未关闭
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
0.2.1-rc.3 compatibility: 21 peer ranges enumerate exact versions, so rc.3 is rejected可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
NanmiCoder/dsh-agent-teams#277 ·
维护者通常 1 天内回复
-
[ordering-review] workshop order graph: 1 confirmed ordering problem, 3 cycles are false positives未关闭
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-aw-workshop#4943 · 1 条评论 ·
维护者通常 1 天内回复