atom-community / atom-community/atom-ide-hyperclick
Failed to activate the atom-ide-hyperclick package
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 3
- 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**: [atom-ide-hyperclick](https://github.com/atom-ide-community/atom-ide-hyperclick) package 1.0.11
### Stack Trace
Failed to activate the atom-ide-hyperclick package
```
At Invalid or unexpected token
C:\Users\xeroxss\.atom\packages\atom-ide-hyperclick\node_modules\react\cjs\react.production.min.js:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) {
SyntaxError: Invalid or unexpected token
at new Script (vm.js:84:7)
at NativeCompileCache.runInThisContext (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:148814)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149668)
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/atom-ide-hyperclick/node_modules/react/index.js:4:20)
at /packages/atom-ide-hyperclick/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/atom-ide-hyperclick/lib/SuggestionListElement.js:14:15)
at /packages/atom-ide-hyperclick/lib/SuggestionListElement.js:287: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/atom-ide-hyperclick/lib/SuggestionList.js:12:31)
at /packages/atom-ide-hyperclick/lib/SuggestionList.js:72:3)
at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:149891)
```
### Commands
```
```
### Non-Core Packages
```
atom-dbex-mariadb 1.0.0
atom-dbex-mysql 1.0.4
atom-debug-ui 1.0.4
atom-ide-base 3.4.0
atom-ide-code-format 1.0.2
atom-ide-datatip 0.25.0
atom-ide-definitions 0.4.2
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.2.0
atom-ide-signature-help 0.16.0
atom-ide-ui 0.13.0
atom-mysql-snippets 0.3.1
autocomplete-clang 0.13.1
build 0.70.0
busy-signal 2.0.1
dbex 1.0.2
file-icons 2.1.47
ide-php 0.7.18
intentions 2.1.1
language-ini 1.25.0
linter 3.4.0
linter-gcc2 0.8.8
linter-ui-default 3.4.1
php-debug 0.3.5
platformio-ide 2.7.2
platformio-ide-debugger 1.2.6
platformio-ide-terminal 2.10.1
remote-ftp 2.2.4
tool-bar 1.4.4
```
Contributor guide
Research direction
Start with lib/SuggestionList.js and lib/SuggestionListElement.js, which load React before the failure in node_modules/react/cjs/react.production.min.js. Reproduce on Atom 1.58.0 x64 on Windows 10 and trace the activation path; done means atom-ide-hyperclick activates without the syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript, react
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100