atom-community / atom-community/ide-python
Failed to activate the ide-python package
- Vorherrschende Sprache
- JavaScript
- Sterne
- 238
- Forks
- 40
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
[Enter steps to reproduce:]
1. ...
2. ...
**Atom**: 1.58.0 x64
**Electron**: 9.4.4
**OS**: Unknown Windows version
**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 './cjs/react.production.min.js'
Require stack:
- C:\Users\Matti\.atom\packages\ide-python\node_modules\react\index.js
- C:\Users\Matti\.atom\packages\ide-python\dist\debugger\main.js
- C:\Users\Matti\.atom\packages\ide-python\dist\main.js
- C:\Users\Matti\AppData\Local\atom\app-1.58.0\resources\app.asar\static\index.html
Error: Cannot find module './cjs/react.production.min.js'
Require stack:
- C:\Users\Matti\.atom\packages\ide-python\node_modules\react\index.js
- C:\Users\Matti\.atom\packages\ide-python\dist\debugger\main.js
- C:\Users\Matti\.atom\packages\ide-python\dist\main.js
- C:\Users\Matti\AppData\Local\atom\app-1.58.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.58.0/resources/app/static/:11:157920)
at Module.require (/app.asar/static/index.js:61:43)
at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/ide-python/node_modules/react/index.js:4:20)
at /packages/ide-python/node_modules/react/index.js:9:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (~/AppData/Local/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 (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149207)
at /packages/ide-python/dist/debugger/main.js:14:37)
at /packages/ide-python/dist/debugger/main.js:161:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (~/AppData/Local/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 (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149207)
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.58.0/resources/app/static/:11:149891)
at Object.value [as .js] (~/AppData/Local/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)
```
### Commands
```
```
### Non-Core Packages
```
atom-discord 2.0.2
atom-python-run 0.9.7
busy 0.7.0
discord-send-code-to-webhook 1.2.1
formatter 2.12.4
ide-java 0.9.1
ide-python 1.9.7
python-black 0.7.0
python-tools 0.6.9
```
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Aktivierung von ide-python 1.9.7 auf der gemeldeten Atom- und Windows-Konfiguration zu reproduzieren, untersuche anschließend node_modules/react/index.js und die require-Kette über dist/debugger/main.js und dist/main.js. Bestätige, warum ./cjs/react.production.min.js nicht verfügbar ist, und überprüfe, dass das Paket ohne den gemeldeten Modulfehler aktiviert wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, react
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100