You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
When both gitlab-manager and gitlab-integration are installed, there is an error activating gitlab-manager, as it tries to create elements which already exist (because gitlab-integration created them).
gitlab integration loads, creates elements on the status bar, etc - gitlab-manager tries to load and create the same elements, which fails and causes the error I'm reporting
At A status-bar-gitlab type is already registered
Error: A status-bar-gitlab type is already registered
at throwTypeError (/app.asar/node_modules/document-register-element/build/document-register-element.node.js:1264:11)
at registerElement (/app.asar/node_modules/document-register-element/build/document-register-element.node.js:1022:9)
at HTMLDocument.document.registerElement (/app.asar/static/index.js:103:14)
at /packages/gitlab-manager/lib/status-bar-view.coffee:201:27)
at /packages/gitlab-manager/lib/status-bar-view.coffee:1:1)
at /packages/gitlab-manager/lib/status-bar-view.coffee:1:1)
at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
at /app.asar/src/compile-cache.js:252:23)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.o._load (electron/js2c/renderer_init.js:33:379)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (/app.asar/src/native-compile-cache.js:67:27)
at /packages/gitlab-manager/lib/gitlab-manager.coffee:4:17)
at /packages/gitlab-manager/lib/gitlab-manager.coffee:1:1)
at /packages/gitlab-manager/lib/gitlab-manager.coffee:1:1)
at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
at /app.asar/src/compile-cache.js:252:23)
at Module.load (internal/modules/cjs/loader.js:935:32)
at Module._load (internal/modules/cjs/loader.js:776:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.o._load (electron/js2c/renderer_init.js:33:379)
at Module.require (internal/modules/cjs/loader.js:959:19)
at require (/app.asar/src/native-compile-cache.js:67:27)
at requireModule (/app.asar/src/module-utils.js:3:17)
at Package.requireMainModule (/app.asar/src/package.js:909:27)
at Package.activateNow (/app.asar/src/package.js:232:34)
at /app.asar/src/package.js:211:27
at Package.measure (/app.asar/src/package.js:82:19)
Prerequisites
Description
When both gitlab-manager and gitlab-integration are installed, there is an error activating gitlab-manager, as it tries to create elements which already exist (because gitlab-integration created them).
Steps to Reproduce
ppm install gitlab-manager
ppm install gitlab-integration
Expected behavior:
Both packages should load without error
Actual behavior:
gitlab integration loads, creates elements on the status bar, etc - gitlab-manager tries to load and create the same elements, which fails and causes the error I'm reporting
Versions
Atom: 1.103.0 arm64
Electron: 12.2.3
OS: macOS 13.2.1
Thrown From: gitlab-manager package 0.2.2
Stack Trace
Failed to activate the gitlab-manager package
Commands
Non-Core Packages
Additional Information
I think it would be sufficient to simply use the name
status-bar-gitlab-manager
, rather thanstatus-bar-gitlab
.The text was updated successfully, but these errors were encountered: