atom-community / atom-community/tool-bar

Failed to activate the tool-bar package

Open
#254 1 comment 0 reactions 0 assignees View on GitHub
bug needs more information
Dominant language
CSS
Stars
160
Forks
47
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.33.1 x64
**Electron**: 2.0.16
**OS**: Unknown Windows version
**Thrown From**: [tool-bar](https://github.com/suda/toolbar) package 1.1.11

### Stack Trace

Failed to activate the tool-bar package

```
At Invalid or unexpected token

SyntaxError: Invalid or unexpected token
at Module.get_Module._compile (:11:146461)
at Object.value [as .js] (:11:150231)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (/app.asar/static/index.js:47:45)
at require (:11:145974)
at /packages/tool-bar/lib/tool-bar-manager.js:2:27)
at /packages/tool-bar/lib/tool-bar-manager.js:38:3)
at Module.get_Module._compile (:11:146684)
at Object.value [as .js] (:11:150231)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (/app.asar/static/index.js:47:45)
at require (:11:145974)
at /packages/tool-bar/lib/tool-bar.js:1:179)
at /packages/tool-bar/lib/tool-bar.js:56:3)
at Module.get_Module._compile (:11:146684)
at Object.value [as .js] (:11:150231)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (/app.asar/static/index.js:47:45)
at require (internal/module.js:11:18)
at customRequire (:1:639369)
at Package.requireMainModule (:11:3041061)
at Package.activateNow (:11:3029195)
at measure (:11:3028973)
at Package.measure (:11:3026604)
at activationPromise.activationPromise.Promise (:11:3028833)
at new Promise (:null:null)
at Package.activate (:11:3028776)
at PackageManager.activatePackage (:11:382657)
at config.transactAsync (:11:382273)
at Config.transactAsync (:11:332460)
at PackageManager.activatePackages (:11:382223)
at PackageManager.activate (:11:381841)
at t.loadState.then (:1:660779)
at :null:null

```

### Commands

```
```

### Non-Core Packages

```
autocomplete-clang 0.11.5
build 0.70.0
busy-signal 1.4.3
file-icons 2.1.27
intentions 1.1.5
japanese-menu 1.14.0
language-ini 1.20.0
linter 2.2.0
linter-gcc 0.7.1
linter-ui-default 1.7.1
platformio-ide 2.3.1
platformio-ide-debugger 1.2.6
platformio-ide-terminal 2.8.4
tool-bar 1.1.11
```

Contributor guide

Open the contributing guide

Research direction

Start by inspecting lib/tool-bar-manager.js and lib/tool-bar.js, where the stack trace reports the package loading failure, then reproduce activation with Atom 1.33.1 on Windows if that environment is available. Done means the tool-bar package activates without the reported SyntaxError; the issue provides no reproduction steps or tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.