atom-community / atom-community/ide-python
Failed to activate the ide-python package
- 主要言語
- JavaScript
- スター
- 238
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
[Enter steps to reproduce:]
1. ...
2. ...
**Atom**: 1.58.0 x64
**Electron**: 9.4.4
**OS**: Microsoft Windows 10 Pro
**Thrown From**: [ide-python](https://github.com/lgeiger/ide-python) package 1.9.7
### Stack Trace
Failed to activate the ide-python package
```
At Cannot find module 'C:\Users\deakinj\.atom\packages\ide-python\node_modules\vscode-languageserver-protocol\lib\node\main.js'. Please verify that the package.json has a valid "main" entry
Error: Cannot find module 'C:\Users\deakinj\.atom\packages\ide-python\node_modules\vscode-languageserver-protocol\lib\node\main.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:301:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:532:18)
at Module._resolveFilename (internal/modules/cjs/loader.js:784:27)
at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
at Function.get_Module._resolveFilename (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:157920)
at Module.require (/app.asar/static/index.js:61:43)
at require (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/languageclient.js:23:13)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/languageclient.js:552:3)
at Module.get_Module._compile (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/convert.js:3:12)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/convert.js:209:3)
at Module.get_Module._compile (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:17:22)
at /packages/ide-python/node_modules/atom-languageclient/build/lib/auto-languageclient.js:952:3)
at Module.get_Module._compile (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (C:/ProgramData/deakinj/atom/app-1.58.0/resources/app/static/:11:153485)
at Module.load (internal/modules/cjs/loader.js:815:32)
```
### Commands
```
-2:20 core:save (input.hidden-input)
```
### Non-Core Packages
```
ide-python 1.9.7
```
コントリビューションガイド
調査の方向性
まず、Windows 10 上の Atom 1.58.0 x64 で ide-python 1.9.7 のアクティベーションを再現し、次に package.json のエントリと vscode-languageserver-protocol/lib/node/main.js の依存関係パスを調べます。stack trace に記載されている atom-languageclient ファイルを確認します。パッケージが missing-module エラーなしでアクティベートされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, python
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100