atom-community / atom-community/ide-python

Failed to activate the ide-python package

Open
#502 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
238
Forks
40
PR merge metrics
No merged PRs in 30d

Description

[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 './cjs/react.production.min.js'
Require stack:
- C:\Users\knvsi\.atom\packages\ide-python\node_modules\react\index.js
- C:\Users\knvsi\.atom\packages\ide-python\dist\debugger\main.js
- C:\Users\knvsi\.atom\packages\ide-python\dist\main.js
- C:\Users\knvsi\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\knvsi\.atom\packages\ide-python\node_modules\react\index.js
- C:\Users\knvsi\.atom\packages\ide-python\dist\debugger\main.js
- C:\Users\knvsi\.atom\packages\ide-python\dist\main.js
- C:\Users\knvsi\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-clock 0.1.18
atom-material-syntax 1.0.8
atom-material-ui 2.1.3
hey-pane 1.2.0
Hydrogen 2.16.3
ide-python 1.9.7
scroll-through-time 0.3.1
teletype 0.13.4
zentabs 0.8.9
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the activation failure with Atom 1.58.0 on Windows 10, then start at node_modules/react/index.js and dist/debugger/main.js named in the stack trace. Done means the ide-python package activates without the missing react.production.min.js error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.