thinreports-basic-editor icon indicating copy to clipboard operation
thinreports-basic-editor copied to clipboard

Windows 環境でのパッケージビルドエラーを解決する

Open hidakatsuya opened this issue 4 years ago • 4 comments

原因ははっきりしないが npm ERR! code ELIFECYCLE が発生する。最終的なゴールは下記の通り。 まずは、ローカルで electron:build が成功するようにする。

  • basic editor の Windows パッケージのビルドが GitHub Action で成功するようにする

hidakatsuya avatar Oct 18 '21 15:10 hidakatsuya

@maeda-m windows のビルドエラーの件、なかなかやっかいそうなので、話す場として issue を作りました(プロジェクトのカードから convert to issue した)。アサインしておくのでよろしく。私もなにかわかったらこちらで共有します。

hidakatsuya avatar Oct 18 '21 15:10 hidakatsuya

  • section editor の Windows パッケージのビルドが GitHub Action で成功するようにする

section editor のビルドエラーは https://github.com/thinreports/thinreports-editor/pull/129 のhttps://github.com/thinreports/thinreports-editor/pull/129/commits/c82de35c3edc9cdd2edcb9c88be179fe2a54c9bc で修正されます。description から削除しておきます。

hidakatsuya avatar Dec 12 '21 10:12 hidakatsuya

同じ closure library を使ってる google のプロジェクトでも全く同じエラーについての issue があった。 https://github.com/google/shaka-player/issues/3369

Python on Window で、パスやファイル名の長さの制約があるのかも?

hidakatsuya avatar Jan 16 '22 12:01 hidakatsuya

basic-editor だけのリポジトリに戻したので、これは解決するかなと密かに期待してビルドを走らせてみましたがダメでした... https://github.com/thinreports/thinreports-basic-editor/runs/5159248648?check_suite_focus=true

hidakatsuya avatar Feb 11 '22 16:02 hidakatsuya