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
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
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.
It seems that linter-stylelint is the culprit here, but I'm not sure.
Steps to Reproduce
Have fuzzy-finder and linter-stylelint
Start Atom
Open fuzzy finder
Observe fuzzy finder window stuck at "Indexing project…" and error in console
Reproduces how often:
Whenever I start Atom and then sometimes when switching back from other application.
<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)
The text was updated successfully, but these errors were encountered:
Prerequisites
Description
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 enablelinter-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. Withlinter-stylelint
disabled this doesn't happen.It seems that
linter-stylelint
is the culprit here, but I'm not sure.Steps to Reproduce
fuzzy-finder
andlinter-stylelint
Reproduces how often:
Whenever I start Atom and then sometimes when switching back from other application.
Versions
atom --version
:apm --version
:packages.json
:Additional Information
Maybe connected to #410
linter-stylelint
issue: AtomLinter/linter-stylelint#586This is dev tools error:
The text was updated successfully, but these errors were encountered: