atom-community / atom-community/atom-ide-console

Failed to activate the atom-ide-console package

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.57.0 x64
**Electron**: 9.4.4
**OS**: Ubuntu 20.04.2
**Thrown From**: [atom-ide-console](https://github.com/atom-ide-community/atom-ide-console) package 0.0.2

### Stack Trace

Failed to activate the atom-ide-console package

```
At call.getFileName is not a function

TypeError: call.getFileName is not a function
at getErrMessage (assert.js:270:25)
at innerOk (assert.js:361:17)
at ok (assert.js:381:3)
at /packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/ReactMountRootElement.js:88:23)
at /packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/ReactMountRootElement.js:95:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/static/:11:149837)
at Object.value [as .js] (/usr/share/atom/resources/app/static/:11:153385)
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 (/usr/share/atom/resources/app/static/:11:149153)
at /packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/renderReactRoot.js:10:53)
at /packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/renderReactRoot.js:40:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/static/:11:149837)
at Object.value [as .js] (/usr/share/atom/resources/app/static/:11:153385)
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 (/usr/share/atom/resources/app/static/:11:149153)
at /packages/atom-ide-console/dist/ui/Console.js:18:24)
at /packages/atom-ide-console/dist/ui/Console.js:514:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/static/:11:149837)
at Object.value [as .js] (/usr/share/atom/resources/app/static/:11:153385)
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 (/usr/share/atom/resources/app/static/:11:149153)
at /packages/atom-ide-console/dist/main.js:29:16)
at /packages/atom-ide-console/dist/main.js:428:3)
at Module.get_Module._compile (/usr/share/atom/resources/app/static/:11:149837)
at Object.value [as .js] (/usr/share/atom/resources/app/static/:11:153385)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
```

### Commands

```
```

### Non-Core Packages

```
atom-beautify 0.33.4
atom-css-clean 2.24.1
atom-ide-base 3.1.0
atom-ide-console 0.0.2
atom-ide-datatip 0.25.0
atom-ide-debugger 0.0.0
atom-ide-definitions 0.4.1
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.1.0
atom-ide-signature-help 0.16.0
atom-ide-ui 0.13.0
busy-signal 2.0.1
Delete-Whitelines 0.6.4
formatter-json 1.0.1
ide-json 0.2.1
ide-php 0.7.18
ide-python 1.9.3
intentions 2.1.1
linter 3.4.0
linter-ui-default 3.4.1
local-history 4.3.1
markdown-pdf 2.3.3
php-cs-fixer 4.2.0
php-twig 4.0.0
save-workspace 0.5.0
sync-settings 5.0.1
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing activation on Atom 1.57.0 under Ubuntu 20.04.2, then inspect ReactMountRootElement.js at the failing assertion and the callers in renderReactRoot.js, dist/ui/Console.js, and dist/main.js. Done means atom-ide-console activates without the call.getFileName TypeError and its console UI loads.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.