atom-community / atom-community/ide-python

Failed to activate the ide-python package

Offen
#504 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
238
Forks
40
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.60.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 './debugger/main'
Require stack:
- C:\Users\dell\.atom\packages\ide-python\dist\main.js
- C:\Users\dell\AppData\Local\atom\app-1.60.0\resources\app.asar\static\index.html

Error: Cannot find module './debugger/main'
Require stack:
- C:\Users\dell\.atom\packages\ide-python\dist\main.js
- C:\Users\dell\AppData\Local\atom\app-1.60.0\resources\app.asar\static\index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:157942)
at Module.require (/app.asar/static/index.js:61:43)
at require (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:149229)
at /packages/ide-python/dist/main.js:3:13)
at /packages/ide-python/dist/main.js:174:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:149913)
at Object.value [as .js] (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:153507)
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 (internal/modules/cjs/helpers.js:74:18)
at customRequire (~/AppData/Local/atom/app-1.60.0/resources/app/static/:1:802772)
at requireModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/:14:1175135)
at Package.requireMainModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:3543231)
at Package.activateNow (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:3531230)
at ~/AppData/Local/atom/app-1.60.0/resources/app/static/:14:2607
at Function.simpleDispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:1187666)
at Emitter.emit (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:1189107)
at PackageManager.triggerDeferredActivationHooks (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:386501)
at ~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:385252
at TextEditorRegistry.updateAndMonitorEditorSettings (~/AppData/Local/atom/app-1.60.0/resources/app/static/:11:516355)
```

### Commands

```
```

### Non-Core Packages

```
ide-python 1.9.7
```

### Additional Information

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den Einstiegspunkt dist/main.js des Pakets und das fehlende Modul ./debugger/main zu untersuchen, auf das der Aktivierungs-Stacktrace verweist. Reproduziere die Aktivierung mit ide-python 1.9.7 unter Atom 1.60.0 und Windows 10 und bestätige anschließend, dass das Paket ohne den Fehler „Cannot find module“ aktiviert wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, python
Bereich
developer-experience, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.