Uncaught TypeError: ref4.getBaseName is not a function
Closed this issue · 2 comments
Deadpoolddt commented
[Enter steps to reproduce:]
- Join someone's portal in Teletype
- Follow portal's host to current tab
Atom: 1.26.1 x64
Electron: 1.7.11
OS: Windows 10
Thrown From: language-dotenv package 1.1.1
Stack Trace
Uncaught TypeError: ref4.getBaseName is not a function
At C:\Users\user\AppData\Local\atom\app-1.26.1\resources\app\node_modules\text-buffer\lib\text-buffer.js:528
TypeError: ref4.getBaseName is not a function
at TextBuffer.module.exports.TextBuffer.getBaseName (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/text-buffer/lib/text-buffer.js:528:54)
at Object.loadGrammar (/packages/language-dotenv/lib/main.js:33:39)
at /packages/language-dotenv/lib/main.js:20:12
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.26.1/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at stoppedChangingActivePaneItemTimeout.setTimeout (~/AppData/Local/atom/app-1.26.1/resources/app/src/workspace.js:491:26)
Commands
-4:52.6.0 core:move-down (input.hidden-input)
10x -4:52 core:select-right (input.hidden-input)
10x -4:51.2.0 core:select-left (input.hidden-input)
8x -4:49.1.0 editor:add-selection-below (input.hidden-input)
-4:37.3.0 intentions:highlight (input.hidden-input)
-4:37 core:paste (input.hidden-input)
2x -4:35 core:move-left (input.hidden-input)
-4:34.2.0 editor:consolidate-selections (input.hidden-input)
4x -4:33.9.0 core:move-left (input.hidden-input)
-4:30.6.0 autocomplete-plus:cancel (input.hidden-input)
14x -4:28.9.0 core:backspace (input.hidden-input)
-3:59.2.0 intentions:highlight (input.hidden-input)
-3:59.1.0 core:save (input.hidden-input)
-3:34.8.0 core:backspace (input.hidden-input)
-3:33.2.0 intentions:highlight (input.hidden-input)
-3:32.8.0 core:save (input.hidden-input)
Non-Core Packages
atom-bracket-highlight 0.3.2
atom-fontawesome 0.4.0
atom-ide-dark-syntax 0.1.2
atom-ide-ui 0.11.1
atom-mysql-snippets 0.3.1
autocomplete-font-awesome 1.0.2
autocomplete-ionic-framework 0.2.2
clone-cursor 1.1.2
code-macro 0.1.0
color-picker 2.3.0
docblockr 0.13.7
file-icons 2.1.19
ftp-remote-edit 0.12.12
git-diff-details 1.4.0
git-log 0.4.1
git-time-machine 1.5.9
goto-definition 1.3.4
hey-pane 1.1.0
highlight-selected 0.13.1
ide-css 0.3.0
ide-flowtype 0.22.1
ide-html 0.4.2
ide-json 0.2.1
ide-typescript 0.7.6
intentions 1.1.5
intentions-colorpicker 1.0.1
jquery-snippets 11.0.0
language-apache 1.8.0
language-dotenv 1.1.1
language-gitignore 0.3.0
language-htaccess 0.2.0
language-ini 1.19.0
language-pug 0.0.22
language-sql-mysql 0.3.1
minimap 4.29.8
minimap-autohider 1.5.4
minimap-codeglance 0.4.7
minimap-cursorline 0.2.0
minimap-find-and-replace 4.5.2
minimap-git-diff 4.3.1
minimap-highlight-selected 4.6.1
minimap-selection 4.5.0
minimap-split-diff 0.3.7
php-composer-completion 0.3.4
php-getters-setters 0.5.5
php-integrator-annotations 1.2.0
php-integrator-base 3.3.0
php-integrator-refactoring 1.4.1
php-integrator-symbol-viewer 0.6.4
pigments 0.40.2
project-manager 3.3.5
restart-atom 0.2.0
save-workspace 0.5.0
split-diff 1.5.2
sync-settings 0.8.6
teletype 0.13.1
todo-show 2.3.0
tree-view-git-status 1.5.0
Darkhogg commented
Also seeing this issue, same steps to reproduce:
Atom: 1.27.1 x64
Electron: 1.8.4
OS: "Arch Linux"
Thrown From: language-dotenv package 1.1.1
Stack Trace
Uncaught TypeError: ref4.getBaseName is not a function
At /usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:512
TypeError: ref4.getBaseName is not a function
at TextBuffer.module.exports.TextBuffer.getBaseName (/usr/lib/atom/node_modules/text-buffer/lib/text-buffer.js:512:48)
at Object.loadGrammar (/packages/language-dotenv/lib/main.js:33:39)
at /packages/language-dotenv/lib/main.js:20:12
at Function.module.exports.Emitter.simpleDispatch (/packages/teletype/node_modules/event-kit/lib/emitter.js:27:14)
at Emitter.module.exports.Emitter.emit (/packages/teletype/node_modules/event-kit/lib/emitter.js:156:28)
at stoppedChangingActivePaneItemTimeout.setTimeout (/usr/lib/atom/src/workspace.js:479:20)
Commands
-1:34.4.0 core:backspace (input.hidden-input)
-1:33.1.0 editor:newline (input.hidden-input)
-1:32.6.0 snippets:next-tab-stop (input.hidden-input)
-1:32.6.0 snippets:expand (input.hidden-input)
-1:32.6.0 editor:indent (input.hidden-input)
2x -1:29.5.0 core:backspace (input.hidden-input)
-1:25 editor:newline (input.hidden-input)
-1:24.1.0 core:backspace (input.hidden-input)
-1:24 editor:newline (input.hidden-input)
-1:23.2.0 core:backspace (input.hidden-input)
-1:23.1.0 editor:newline (input.hidden-input)
-1:21.5.0 intentions:highlight (input.hidden-input)
-1:21.3.0 core:save (input.hidden-input)
3x -1:19.8.0 editor:newline (input.hidden-input)
-1:17.9.0 intentions:highlight (input.hidden-input)
-1:17.7.0 core:save (input.hidden-input)
Non-Core Packages
atom-beautify 0.32.4
atom-easy-jsdoc 4.12.5
atom-runner 2.7.1
atom-typescript 12.5.0
auto-detect-indentation 1.3.0
autoupdate-packages 1.3.1
build 0.70.0
build-grunt 0.4.0
build-gulp 0.11.0
build-make 0.13.0
build-npm-apm 0.12.0
busy 0.7.0
busy-signal 1.4.3
color-picker 2.3.0
editorconfig 2.2.2
hex-view 0.2.1
highlight-line 0.12.0
highlight-selected 0.13.1
intentions 1.1.5
language-diff 0.7.0
language-docker 1.1.8
language-dotenv 1.1.1
language-gb 1.1.0
language-gitignore 0.3.0
language-graphql 0.10.1
language-haskell 1.17.7
language-jade 0.7.3
language-json5 1.1.1
language-latex 1.1.1
language-lua 0.9.11
language-nunjucks 4.2.1
language-pug 0.0.22
language-rust 0.4.12
linter 2.2.0
linter-eslint 8.4.1
linter-lua 1.0.4
linter-ui-default 1.7.1
merge-conflicts 1.4.5
minimap 4.29.8
minimap-highlight-selected 4.6.1
monokai 0.24.0
omni-ruler 0.6.0
raml 0.2.0
sort-lines 0.18.0
split-diff 1.5.2
sync-settings 0.8.6
teletype 0.13.2
trailing-spaces 0.4.0
rjocoleman commented
I don't use Atom any more but i'll happily take a PR and release an update.