atom-community / atom-community/atom-ide-javascript

Failed to load the atom-ide-javascript package

オープン
#51 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
17
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

説明

### Prerequisites

* [ ] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode:
* Followed all applicable steps in the debugging guide:
* Checked the FAQs on the message board for common solutions:
* Checked that your issue isn't already filed:
* Checked that there is not already an Atom package that provides the described functionality:

### Description

### Steps to Reproduce

1.
2.
3.

**Expected behavior:**

**Actual behavior:**

### Versions

**Atom**: 1.63.1 x64
**Electron**: 11.5.0
**OS**: macOS 12.6.1
**Thrown From**: [atom-ide-javascript](https://github.com/atom-ide-community/atom-ide-javascript) package 1.5.0

### Stack Trace

Failed to load the atom-ide-javascript package

```
At call.getFileName is not a function

TypeError: call.getFileName is not a function
at getErrMessage (assert.js:278:25)
at innerOk (assert.js:372:17)
at ok (assert.js:392:3)
at /packages/atom-ide-javascript/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:45:21)
at /packages/atom-ide-javascript/node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js:305:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/:11:149913)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/:11:149229)
at /packages/atom-ide-javascript/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:16:17)
at /packages/atom-ide-javascript/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachUiComponent.js:519:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/:11:149913)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/:11:149229)
at /packages/atom-ide-javascript/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:14:62)
at /packages/atom-ide-javascript/node_modules/@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider.js:109:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/:11:149913)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/:11:153507)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/:11:149229)
```

### Commands

```
-3:58.6.0 core:backspace (input.hidden-input)
-2:39.9.0 core:confirm (input.hidden-input)
```

### Non-Core Packages

```
atom-ide-javascript 1.5.0
```

### Additional Information

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず Atom 1.63.1 でパッケージの読み込みに失敗する問題を再現し、スタックトレースで assertion error が報告されている node_modules/@atom-ide-community/nuclide-commons-ui/Dropdown.js の 45 行目付近を読みます。AutoGenLaunchAttachUiComponent.js と AutoGenLaunchAttachProvider.js を通る読み込み経路を追跡します。報告された TypeError なしで atom-ide-javascript が読み込まれれば完了です。

索引モデルが issue の本文から書いたものです。

評価

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

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

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