Unable to build SCWB on Windows 10
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- electron, node.js, python, typescript
- 領域
- build-system, desktop
調査の方向性
ドキュメントに記載された npm install、electron-rebuild、npm start、build.py の手順で Windows ビルドを再現し、その後、現在のツリーをタグ v3.1.1 と比較します。生成された dist フォルダーと Cannot find module '../dist/src/main' の失敗を調査し、npm test を実行します。パッケージ化された .exe が正常に起動し、テストコマンドが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I discovered in recent days that I am unable to build the current version of SCWB on my Windows 10 laptop using Git Bash.
This process still works when I check out the latest tag -- v3.1.1 from the latest release, in September 2019 -- and build with Python 2.7.15.
- run
npm install - run
./node_modules/.bin/electron-rebuild - run
npm start-- SCWB launched, looked good, displayed some data just fine - close the SCWB 3.1.1 instance
- run
/c/Python27/python.exe build.py - navigate to the
/dist/folder, double clickScanCode-Workbench.exeand no errors -- SCWB 3.1.1 opens, runs fine, looks great.
With the current code, the 1st 3 steps work with both Python 2.7.15 and Python3 (3.8.3). No error during the build process, but when I try to run the built .exe I get a JavaScript error: Cannot find module '../dist/src/main'.
Not sure what is meant by Cannot find module '../dist/src/main' but can confirm there is no such folder. Same result when extracting the .zip and running the .exe found there. I also get an error running npm test.
Perhaps I'm using the wrong version of npm, or node.js (but they look like they meet the RTD Windows requirements -- https://scancode-workbench.readthedocs.io/en/develop/contribute/building.html#windows)? (I have npm 5.2.0 and node 12.16.3.) Seems like some conflict was introduced after the 3.1.1 tag was created.
- 主要言語
- TypeScript
- スター
- 174
- フォーク
- 81
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aboutcode-org/scancode-workbench のほかの issue
-
reference scancode.io in README prominently再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1時間未満 初心者へのやさしさ 35/100
aboutcode-org/scancode-workbench#639 · コメント 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
aboutcode-org/scancode-workbench#635 · コメント 4 件 ·
-
good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
aboutcode-org/scancode-workbench#634 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
aboutcode-org/scancode-workbench#632 · コメント 5 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
aboutcode-org/scancode-workbench の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
marmelab/react-admin#11431 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
db-ux-design-system/core-web#8655 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stripe/react-stripe-js#728 ·
-
[Upload Grade C dataset] the pop-up changes it's size while uploading the document => Jumping effectオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
epam/statgpt-admin-frontend#305 ·
メンテナーはふだん 1 日以内に返信