New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to activate the minimap package #299
Comments
It's a known issue with the |
[Enter steps to reproduce below:]
Atom Version: 1.0.15 Stack TraceFailed to activate the minimap package
Commands
Config{
"core": {
"disabledPackages": [
"autocomplete-atom-api",
"autocomplete-snippets",
"simple-drag-drop-text"
],
"themes": [
"atom-dark-ui",
"one-dark-syntax"
]
}
} Installed Packages# User
autoclose-html, v0.19.0
color-picker, v2.0.11
minimap, v4.13.3
php-twig, v4.0.0
# Dev
No dev packages |
@maxbrunsfeld: I wonder if this could have anything to do with the recent changes to the module cache? |
@clemorphy can you report the output of this command? dir C:\Users\Clément\.atom\packages\minimap\node_modules Is there an |
Sure @maxbrunsfeld
|
So the install was properly done. FWIW there's a discussion on the forum about require issues: https://discuss.atom.io/t/atom-throwing-several-failed-to-load-the-xyz-package-errors/20969 @maxbrunsfeld Let me know if you want me to open an issue in atom/atom to references all the related issues in the various packages (I know that @olmokramer had one reported too on one of its packages). |
I have a similar issue with the simple-drag-drop-text package : geoffthibeau/simple-drag-drop-text#8 Though the "missing module" is a different one ( |
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64) atom 1.1.0-beta.0 ├── minimap@4.14.0 this.textEditorElement.onDidChangeScrollTop is not a function
Hide Stack Trace
TypeError: this.textEditorElement.onDidChangeScrollTop is not a function
at new Minimap (/home/mingjunyang/.atom/packages/minimap/lib/minimap.coffee:59:33)
at Main.minimapForEditor (/home/mingjunyang/.atom/packages/minimap/lib/main.coffee:253:21)
at /home/mingjunyang/.atom/packages/minimap/lib/main.coffee:297:18
at Workspace.module.exports.Workspace.observeTextEditors (/usr/share/atom/resources/app.asar/src/workspace.js:276:9)
at Main.initSubscriptions (/home/mingjunyang/.atom/packages/minimap/lib/main.coffee:296:39)
at Main.toggle (/home/mingjunyang/.atom/packages/minimap/lib/main.coffee:146:8)
at Main.activate (/home/mingjunyang/.atom/packages/minimap/lib/main.coffee:116:6)
at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:245:19)
at /usr/share/atom/resources/app.asar/src/package.js:226:30
at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:169:15) |
@mingjunyang This might seems a bit tricky, but the v4.14.0 is only compatible with latest beta (beta 1), which moved some API from the text editor to the text editor element (hence your error). I've made the changes to prepare for the release of v1.0.20, but as you use beta 0 you don't have the new APIs. I tried, but failed, to support both version at the same time, as there were many changes in other parts of the API that made it almost impossible to achieve. I would suggest you update to beta 1. |
@abe33 What are the APIs that are problematic? I'd like to make it easy to make minimap work across both the stable and beta versions of Atom. |
@nathansobo off the top of my head, there's the I also have many failures on Travis that I'm not sure about their cause (https://travis-ci.org/atom-minimap/minimap/builds/85386888). I should probably start again from the version compatible with 1.0.19 and make sure all the changes still pass with both. On another front, to keep up with the changes in master, I'll need to update the test environment (mainly the use of the |
@as-cii could you take a look at supporting these old methods in deprecated mode so minimap can be backwards-forwards-compatible? Also, do the flex issues he describes ring a bell? |
@nathansobo: as far as styling is concerned, there shouldn't have been changes so this looks a bit suspicious. I am a bit worried that we may have changed too many big things at once and finding a culprit couldn't be super easy.
Sure, I can start with re-introducing |
@as-cii @nathansobo thank you for the help, I will only be able to seriously look at that this evening. |
@as-cii @nathansobo I've just published a new version which should handle both version nicely. I reverted my changes and use an adapter layer to handle the differences in API. I'll leave the change in tests for later as I can't possibly maintains one set of test for each version. |
@abe33 Thanks as usual for your excellent work and maintenance of great packages like minimap. Appreciate you keeping it operational on stable. |
Hi ! Thanks for this package :) but I have the same problem : Cannot find module 'atom-utils' :(
Perhaps specials characters : Clément, François ? |
@fbardel Ah, right, sorry, the discussion quite moved to another topic in the meantime. You're right, it was identified that this issue is linked to the presence of accented chars in the path (as explained in atom/atom#8891). But, unfortunately, it's not something that can be fixed at the minimap level, and it seems there's currently no knows workaround. |
[Enter steps to reproduce below:]
Atom Version: 1.8.0 Stack TraceFailed to activate the minimap package
Commands
Config{
"core": {
"customFileTypes": {
"source.ini": [
".buckconfig",
".flowconfig"
],
"source.json": [
".arcconfig",
"BUCK.autodeps"
],
"source.python": [
"BUCK"
]
},
"disabledPackages": [
"hyperclick",
"nuclide-arcanist",
"nuclide-blame",
"nuclide-blame-provider-hg",
"nuclide-blame-ui",
"nuclide-buck-files",
"nuclide-clang-atom",
"nuclide-code-format",
"nuclide-debugger-atom",
"nuclide-debugger-hhvm",
"nuclide-debugger-lldb",
"nuclide-diagnostics-store",
"nuclide-diagnostics-ui",
"nuclide-diff-view",
"nuclide-file-tree",
"nuclide-file-watcher",
"nuclide-find-references",
"nuclide-flow",
"nuclide-format-js",
"nuclide-fuzzy-filename-provider",
"nuclide-hack",
"nuclide-hack-symbol-provider",
"nuclide-hg-repository",
"nuclide-installer",
"nuclide-language-hack",
"nuclide-move-pane",
"nuclide-objc",
"nuclide-ocaml",
"nuclide-open-filenames-provider",
"nuclide-quick-open",
"nuclide-remote-projects",
"nuclide-test-runner",
"nuclide-toolbar",
"nuclide-type-hint",
"tree-view",
"activate-power-mode"
],
"projectHome": "/Workbench"
},
"minimap": {
"plugins": {
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0,
"git-diff": true,
"git-diffDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"pigments": true,
"pigmentsDecorationsZIndex": 0
}
}
} Installed Packages# User
achievements, v0.9.0
achiever, v0.1.1
atom-ternjs, v0.14.2
auto-detect-indentation, v1.1.0
autoclose-html, v0.23.0
autocomplete-modules, v1.5.2
autocomplete-paths, v1.0.2
autocomplete-sass, v0.1.0
change-case, v0.6.3
color-picker, v2.2.2
compare-files, v0.6.2
css-snippets, v0.9.0
ctags-status, v1.3.5
editorconfig, v1.4.1
file-icons, v1.7.17
fonts, v1.6.0
git-diff-details, v1.3.0
git-tab-status, v1.9.2
goto-definition, v1.1.18
grunt-runner, v0.14.0
gulp-snippets, v0.6.2
hashrocket, v0.4.10
haskell-grammar, v0.4.0
highlight-selected, v0.11.2
javascript-snippets, v1.2.1
jquery-snippets, v11.0.0
js-refactor, v0.7.3
language-babel, vundefined
language-docker, v1.1.6
language-ini, v1.16.0
language-javascript-jsx, v0.3.7
language-ocaml, v1.1.2
language-thrift, v1.0.2
linter, v1.11.14
linter-eslint, v7.2.4
linter-ruby, v1.2.2
linter-scss-lint, v3.0.4
merge-conflicts, v1.4.4
minimap, v4.24.7
minimap-find-and-replace, v4.5.1
minimap-git-diff, v4.3.1
minimap-highlight-selected, v4.4.0
minimap-pigments, v0.2.1
node-debugger, vundefined
nuclide, v0.158.0
open-recent, v5.0.0
pigments, v0.31.2
project-manager, v2.9.7
react, v0.15.0
react-snippets, v0.4.2
refactor, v0.9.2
save-session, v0.16.0
set-syntax, v0.3.0
tabs-to-spaces, v1.0.2
terminal-plus, v0.14.5
terminal-status, v1.6.8
test-status, v1.0.0
tidy-tabs, v0.3.0
time-status, v1.1.2
tool-bar, v1.0.0
trailing-spaces, v0.3.2
tree-view-git-projects, v0.5.0
tree-view-git-status, v1.0.2
underscorejs-snippets, v0.2.2
webbox-color, v0.5.9
# Dev
No dev packages |
Oh look... everything is broken again :/ [Enter steps to reproduce below:]
Atom Version: 1.11.0 Stack TraceFailed to activate the minimap package
Commands
Config{
"core": {
"disabledPackages": [
"activate-power-mode"
],
"telemetryConsent": "limited",
"themes": [
"one-dark-ui",
"solarized-dark-syntax"
]
}
} Installed Packages# User
activate-power-mode, v1.0.2 (inactive)
atom-material-syntax, v0.4.6 (inactive)
atom-material-ui, v1.3.6 (inactive)
auto-detect-indentation, v1.2.0 (inactive)
genesis-ui, v0.5.0 (inactive)
katana-syntax, v0.1.0 (inactive)
language-babel, v2.44.1 (inactive)
language-diff, v0.6.0 (inactive)
language-pug, v0.0.19 (inactive)
linter, v1.11.18 (inactive)
linter-eslint, v8.0.0 (inactive)
minimap, v4.25.0 (inactive)
native-ui, v0.19.1 (inactive)
neptune-dark-syntax, v1.0.0 (inactive)
node-debugger, v1.8.2 (inactive)
pigments, v0.37.0 (inactive)
seti-ui, v1.3.2 (inactive)
slim-dark-ui, v0.12.0 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (inactive)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (inactive)
archive-view, v0.61.1 (inactive)
autocomplete-atom-api, v0.10.0 (inactive)
autocomplete-css, v0.11.2 (inactive)
autocomplete-html, v0.7.2 (inactive)
autocomplete-plus, v2.31.1 (inactive)
autocomplete-snippets, v1.11.0 (inactive)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (inactive)
background-tips, v0.26.1 (inactive)
bookmarks, v0.42.0 (inactive)
bracket-matcher, v0.82.1 (inactive)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (inactive)
dev-live-reload, v0.47.0 (inactive)
encoding-selector, v0.22.0 (inactive)
exception-reporting, v0.40.0 (inactive)
find-and-replace, v0.201.1 (inactive)
fuzzy-finder, v1.4.0 (inactive)
git-diff, v1.1.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (inactive)
image-view, v0.59.0 (inactive)
incompatible-packages, v0.26.1 (inactive)
keybinding-resolver, v0.35.0 (inactive)
line-ending-selector, v0.5.0 (inactive)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (inactive)
metrics, v1.0.0 (inactive)
notifications, v0.65.1 (inactive)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (inactive)
snippets, v1.0.2 (inactive)
spell-check, v0.68.2 (inactive)
status-bar, v1.4.1 (inactive)
styleguide, v0.47.0 (inactive)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (inactive)
timecop, v0.33.2 (inactive)
tree-view, v0.209.3 (inactive)
update-package-dependencies, v0.10.0 (inactive)
welcome, v0.35.1 (inactive)
whitespace, v0.33.0 (inactive)
wrap-guide, v0.38.2 (inactive)
language-c, v0.52.1 (inactive)
language-clojure, v0.21.0 (inactive)
language-coffee-script, v0.47.2 (inactive)
language-csharp, v0.12.1 (inactive)
language-css, v0.37.1 (inactive)
language-gfm, v0.88.0 (inactive)
language-git, v0.15.0 (inactive)
language-go, v0.42.1 (inactive)
language-html, v0.45.1 (inactive)
language-hyperlink, v0.16.0 (inactive)
language-java, v0.23.0 (inactive)
language-javascript, v0.119.0 (inactive)
language-json, v0.18.2 (inactive)
language-less, v0.29.5 (inactive)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (inactive)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.35.0 (inactive)
language-php, v0.37.2 (inactive)
language-property-list, v0.8.0 (inactive)
language-python, v0.45.0 (inactive)
language-ruby, v0.69.0 (inactive)
language-ruby-on-rails, v0.25.0 (inactive)
language-sass, v0.56.0 (inactive)
language-shellscript, v0.22.4 (inactive)
language-source, v0.9.0 (inactive)
language-sql, v0.23.0 (inactive)
language-text, v0.7.1 (inactive)
language-todo, v0.28.0 (inactive)
language-toml, v0.18.0 (inactive)
language-xml, v0.34.9 (inactive)
language-yaml, v0.26.0 (inactive)
# Dev
No dev packages |
@Swivelgames Can you share a file that makes this happen or provide any other reproduction steps? I can't reproduce the issue. |
@Swivelgames This is caused by |
[Enter steps to reproduce below:]
Atom Version: 0.187.0
System: Mac OS X 10.10.2
Thrown From: minimap package, v4.6.0
Stack Trace
Failed to activate the minimap package
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: