-
Notifications
You must be signed in to change notification settings - Fork 37
Cannot find module 'atom' (crashes fuzzy-finder) #586
Description
Description
I wasn't sure whether to post it here or at atom/fuzzy-finder#431 but fuzzy-finder
works fine with all the other packages I have (I also tried running Atom in safe mode and is fine). As soon as I enable linter-stylelint
opening fuzzy finder makes it stuck at "Indexing project…".
The fuzzy finder ultimately starts working (or after I use ctrl
+ alt
+ cmd
+ l
combo), probably indexing happens some other way (guess). But after leaving Atom window, using some other application (e.g. browser) for some time and then switching back the error happens again. Or sometimes opening fuzzy finder freezes Atom for few seconds and then opens extremely delayed. Each time the same "Cannot find module 'atom'" error appears. With linter-stylelint
disabled this doesn't happen.
Additional details
This is dev tools error:
<embedded>:14 Cannot find module 'atom'
Require stack:
- /Applications/Atom.app/Contents/Resources/app.asar/node_modules/fuzzy-finder/lib/load-paths-handler.js
- /Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js Error: Cannot find module 'atom'
Require stack:
- /Applications/Atom.app/Contents/Resources/app.asar/node_modules/fuzzy-finder/lib/load-paths-handler.js
- /Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
at Function.Module._load (internal/modules/cjs/loader.js:531:27)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/fuzzy-finder/lib/load-paths-handler.js:7:25)
at Module._compile (internal/modules/cjs/loader.js:786:30)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:255:23)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:90:17)
at Module._compile (internal/modules/cjs/loader.js:786:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:850:10)
at internal/main/run_main_module.js:17:11
(anonymous) @ <embedded>:14
15:42:10.704 <embedded>:14 Cannot access 'handler' before initialization ReferenceError: Cannot access 'handler' before initialization
at process.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:69:20)
at process.emit (events.js:200:13)
at emit (internal/child_process.js:876:12)
at processTicksAndRejections (internal/process/task_queues.js:84:9)
atom --version
:
Atom : 1.55.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
apm --version
:
apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.55.0
python 2.7.16
git 2.24.3
packages.json
:
{
"about": {
"version": "1.9.1"
},
"archive-view": {
"version": "0.65.2"
},
"atom-beautify": {
"version": "0.33.4"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"atom-typescript": {
"version": "14.2.1"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-jsdoc": {
"version": "0.0.2"
},
"autocomplete-plus": {
"version": "2.42.3"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"background-tips": {
"version": "0.28.0"
},
"base16-syntax": {
"version": "1.8.1",
"theme": "syntax"
},
"base16-tomorrow-dark-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"base16-tomorrow-light-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"bookmarks": {
"version": "0.46.0"
},
"bracket-matcher": {
"version": "0.91.2"
},
"busy-signal": {
"version": "2.0.1"
},
"command-palette": {
"version": "0.43.5"
},
"css-color-name": {
"version": "0.4.0"
},
"dalek": {
"version": "0.2.2"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"docblockr": {
"version": "0.13.7"
},
"duotone-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"duotone-light-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"editorconfig": {
"version": "2.6.1"
},
"encoding-selector": {
"version": "0.23.9"
},
"exception-reporting": {
"version": "0.43.1"
},
"file-type-icons": {
"version": "1.3.4"
},
"find-and-replace": {
"version": "0.219.7"
},
"fuzzy-finder": {
"version": "1.14.3"
},
"git-diff": {
"version": "1.3.9"
},
"github": {
"version": "0.36.7"
},
"go-to-line": {
"version": "0.33.0"
},
"grammar-selector": {
"version": "0.50.1"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"intentions": {
"version": "1.1.5"
},
"keybinding-resolver": {
"version": "0.39.0"
},
"language-babel": {
"version": "2.85.0"
},
"language-c": {
"version": "0.60.19"
},
"language-clojure": {
"version": "0.22.8"
},
"language-coffee-script": {
"version": "0.50.0"
},
"language-csharp": {
"version": "1.1.0"
},
"language-css": {
"version": "0.44.4"
},
"language-csv": {
"version": "1.1.2"
},
"language-docker": {
"version": "1.1.8"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-gitignore": {
"version": "0.3.0"
},
"language-go": {
"version": "0.47.2"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-ini": {
"version": "1.23.0"
},
"language-java": {
"version": "0.32.0"
},
"language-javascript": {
"version": "0.134.1"
},
"language-json": {
"version": "1.0.5"
},
"language-less": {
"version": "0.34.3"
},
"language-liquid": {
"version": "0.7.0"
},
"language-make": {
"version": "0.23.0"
},
"language-mustache": {
"version": "0.14.5"
},
"language-objective-c": {
"version": "0.16.0"
},
"language-perl": {
"version": "0.38.1"
},
"language-php": {
"version": "0.44.7"
},
"language-property-list": {
"version": "0.9.1"
},
"language-python": {
"version": "0.53.5"
},
"language-ruby": {
"version": "0.72.23"
},
"language-ruby-on-rails": {
"version": "0.25.3"
},
"language-rust-bundled": {
"version": "0.1.0"
},
"language-sass": {
"version": "0.62.1"
},
"language-shellscript": {
"version": "0.28.2"
},
"language-source": {
"version": "0.9.0"
},
"language-sphinx": {
"version": "0.1.9"
},
"language-sql": {
"version": "0.25.10"
},
"language-text": {
"version": "0.7.4"
},
"language-todo": {
"version": "0.29.4"
},
"language-toml": {
"version": "0.20.0"
},
"language-typescript": {
"version": "0.6.3"
},
"language-vue": {
"version": "0.26.0"
},
"language-xml": {
"version": "0.35.3"
},
"language-yaml": {
"version": "0.32.0"
},
"line-ending-selector": {
"version": "0.7.7"
},
"link": {
"version": "0.31.6"
},
"linter": {
"version": "3.3.1"
},
"linter-coffeelint": {
"version": "2.0.72"
},
"linter-eslint": {
"version": "8.6.5"
},
"linter-htmlhint": {
"version": "1.6.3"
},
"linter-stylelint": {
"version": "4.5.1"
},
"linter-tslint": {
"version": "1.11.1"
},
"linter-ui-default": {
"version": "3.3.1"
},
"markdown-pdf": {
"version": "2.3.3"
},
"markdown-preview": {
"version": "0.160.2"
},
"metrics": {
"version": "1.8.1"
},
"monokai": {
"version": "0.27.0",
"theme": "syntax"
},
"night-day-theming": {
"version": "0.0.7"
},
"notifications": {
"version": "0.71.0"
},
"one-dark-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-dark-ui": {
"version": "1.12.5",
"theme": "ui"
},
"one-light-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-light-ui": {
"version": "1.12.5",
"theme": "ui"
},
"open-on-github": {
"version": "1.3.2"
},
"package-generator": {
"version": "1.3.0"
},
"php-twig": {
"version": "4.0.0"
},
"prettier-atom": {
"version": "0.60.1"
},
"project-manager": {
"version": "3.3.8"
},
"quit-control": {
"version": "2.0.0"
},
"settings-view": {
"version": "0.261.6"
},
"snippets": {
"version": "1.5.1"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"sort-lines": {
"version": "0.19.0"
},
"spell-check": {
"version": "0.76.2"
},
"status-bar": {
"version": "1.8.17"
},
"styleguide": {
"version": "0.49.12"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.9"
},
"tabs": {
"version": "0.110.0"
},
"tabs-to-spaces": {
"version": "1.0.5"
},
"timecop": {
"version": "0.36.2"
},
"tree-view": {
"version": "0.228.2"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.7"
},
"wrap-guide": {
"version": "0.41.0"
}
}