Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Broccoli Builder ran into an error with `broccoli-persistent-filter:Babel > [Babel: ember-cli-fastboot]` plugin. 💥

オープン
#253 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
babel, javascript, node.js

調査の方向性

node --inspect ./node_modules/.bin/ember s で失敗を再現し、その後 ember-cli-fastboot/instance-initializers/clear-double-boot.js と報告された worker の終了を調査します。通常のビルドと inspector を有効にしたビルドを比較します。node --inspect で FastBoot が 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

emberjs/ember-cli-babel のほかの issue

emberjs/ember-cli-babel の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。