Skip to content
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

Uncaught SyntaxError: Unexpected token { #229

Open
AlexWayfer opened this issue Dec 29, 2020 · 0 comments
Open

Uncaught SyntaxError: Unexpected token { #229

AlexWayfer opened this issue Dec 29, 2020 · 0 comments

Comments

@AlexWayfer
Copy link

AlexWayfer commented Dec 29, 2020

[Enter steps to reproduce:]

  1. Open Dockerfile.

Atom: 1.53.0 x64
Electron: 6.1.12
OS: "Arch Linux"
Thrown From: highlight-selected package 0.17.0

Stack Trace

Uncaught SyntaxError: Unexpected token {

At /home/alex/.atom/packages/highlight-selected/lib/search-model.js:230

/home/alex/.atom/packages/minimap/lib/decoration.js:3
import { Emitter } from 'atom'
       ^

SyntaxError: Unexpected token {
    at new Script (vm.js:83:7)
    at NativeCompileCache.runInThisContext (/usr/lib/atom/src/native-compile-cache.js:43:20)
    at Module._compile (/usr/lib/atom/src/native-compile-cache.js:100:36)
    at Object.value [as .js] (/usr/lib/atom/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 (/usr/lib/atom/src/native-compile-cache.js:68:27)
    at Minimap.decorateMarker (/packages/minimap/lib/mixins/decoration-management.js:326:37)
    at Object.markerCreated (/packages/minimap-highlight-selected/lib/minimap-highlight-selected.js:71:12)
    at /packages/minimap-highlight-selected/lib/minimap-highlight-selected.js:47:66
    at Function.simpleDispatch (/usr/lib/atom/node_modules/event-kit/dist/emitter.js:64:14)
    at Emitter.emit (/usr/lib/atom/node_modules/event-kit/dist/emitter.js:257:28)
    at /packages/highlight-selected/lib/search-model.js:215:41
    at TextBuffer.scanInRange (/usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:1563:7)
    at TextBuffer.scan (/usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:1483:17)
    at TextEditor.scan (/usr/lib/atom/src/text-editor.js:4008:24)
    at SearchModel.highlightSelectionInEditor (/packages/highlight-selected/lib/search-model.js:176:14)
    at /packages/highlight-selected/lib/search-model.js:129:21
    at Array.forEach (<anonymous>)
    at SearchModel.handleSelection (/packages/highlight-selected/lib/search-model.js:128:26)
    at /packages/highlight-selected/lib/selection-manager.js:96:26)
    at later (/packages/highlight-selected/node_modules/debounce/index.js:27:23)

Commands

     -9:02.2.0 core:close (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -3:21.7.0 tree-view:add-file (span.name.icon.icon-repo)
     -0:23.8.0 core:confirm (input.hidden-input)
     -0:23.1.0 intentions:highlight (input.hidden-input)
     -0:23 core:paste (input.hidden-input)
     -0:22 intentions:highlight (input.hidden-input)
     -0:22 core:undo (input.hidden-input)
     -0:13.8.0 intentions:highlight (input.hidden-input)
     -0:13.7.0 core:paste (input.hidden-input)
     -0:13.3.0 core:save (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.8 
atom-beautify 0.33.4 
atom-ide-ui 0.13.0 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-smart-tabs 0.1.0 
atom-typescript 14.1.2 
auto-detect-indentation 1.3.0 
auto-update-plus 0.5.8 
autoclose-html 0.23.0 
autocomplete-html-entities 0.2.0 
autocomplete-paths 2.12.15 
autocomplete-ruby 0.2.8 
autocomplete-ruby-rct 0.1.0 
autoupdate-packages 1.3.1 
ax-monokai-syntax 0.3.0 
better-git-blame 0.5.0 
blocky 0.13.0 
busy-signal 2.0.1 
change-line-length 0.1.1 
chmod 0.1.1 
color-picker 2.3.0 
editorconfig 2.6.1 
file-icons 2.1.46 
file-watcher 2.0.0 
genesis-ui 0.5.0 
git-time-machine 2.1.0 
go-plus 6.1.0 
goto-definition 1.3.4 
highlight-selected 0.17.0 
hyperclick 0.1.5 
ide-crystal 0.3.3 
ide-ruby 0.5.0 
ide-yaml 0.7.1 
indent-guide-improved 1.4.13 
intentions 1.1.5 
language-crystal-actual 0.37.2 
language-docker 1.1.8 
language-fish-shell 1.1.0 
language-haml 0.32.1 
language-markdown 0.37.0 
language-nginx 0.8.0 
language-postcss 1.3.1 
language-systemd 0.1.1 
language-typescript-react 0.1.1 
language-vue 0.26.0 
linter 3.1.1 
linter-erb 1.1.5 
linter-eslint 8.5.5 
linter-htmlhint 1.6.3 
linter-jshint 3.1.19 
linter-markdown 5.2.11 
linter-reek 2.4.2 
linter-remark 9.0.0 
linter-rubocop 2.5.7 
linter-ruby 1.3.1 
linter-slim 2.0.0 
linter-spell 0.15.0 
linter-spell-ruby 0.4.0 
linter-stylelint 4.5.1 
linter-ui-default 2.3.4 
linter-ui-plus 0.3.2 
merge-conflicts 1.4.5 
minimap 4.35.7 
minimap-highlight-selected 4.6.4 
monocolor-blue-syntax 2.0.0 
monokai 0.27.0 
monokai-flat 1.0.1 
monokai-plus 0.1.3 
monokai-pro 0.1.0 
monokai-slate 0.6.0 
monokai-sublime 1.0.0 
nord-atom-syntax 0.10.0 
northem-atom-syntax 2.1.0 
northem-dark-atom-syntax 2.1.0 
nucleus-dark-ui 0.12.3 
one-monokai 0.3.0 
pascal 1.2.1 
platformio-ide-terminal 2.10.1 
precss 0.3.0 
remember-file-positions 0.2.3 
revert-buffer 0.6.0 
robe 0.4.3 
ruby-block 0.3.6 
ruby-block-converter 4.1.1 
ruby-define-method 0.2.2 
ruby-navigator 0.5.0 
ruby-slim 0.2.0 
ruby-test 1.0.2 
scroll-editor-on-middle-click 0.7.0 
seeing-is-believing 15.0.0 
seti-icons 1.5.4 
seti-ui 1.11.0 
single-click-open 0.2.2 
slim-language 2.2.0 
space-tab 0.4.2 
space-underscore 0.1.1 
split-diff 1.6.1 
stacked-tabs 0.1.3 
symbols-tree-view 0.14.0 
sync-settings 5.1.0 
tab-control 0.6.11 
tabs-to-spaces 1.0.5 
tasks 2.10.1 
teletype 0.13.4 
term3 0.22.1 
toggle-quotes 1.1.4 
tree-view-open-files 0.3.0 
wrap-with-anything 0.1.1 
yaml-path 0.1.1 
yard 0.5.1 
zentabs 0.8.9 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant