Uncaught TypeError: deprecationSite.getFileName is not a function
Opened this issue · 0 comments
jimmytheneutrino commented
[Enter steps to reproduce:]
- Create a simple .pug file.
- Toggle preview
Atom: 1.25.1 x64
Electron: 1.8.4
OS: "Arch Linux"
Thrown From: preview package 0.17.0
Stack Trace
Uncaught TypeError: deprecationSite.getFileName is not a function
At /usr/lib/atom/node_modules/grim/lib/grim.js:56
TypeError: deprecationSite.getFileName is not a function
at deprecate (/usr/lib/atom/node_modules/grim/lib/grim.js:56:36)
at Promise.done (/usr/lib/atom/src/atom-environment.js:1427:3)
at Object.toggle (/packages/preview/lib/preview.coffee:79:6)
at /packages/preview/lib/preview.coffee:30:29)
at CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:384:43)
at Object.didConfirmSelection (/usr/lib/atom/node_modules/command-palette/lib/command-palette-view.js:152:29)
at SelectListView.confirmSelection (/usr/lib/atom/node_modules/atom-select-list/src/select-list-view.js:388:20)
at HTMLDivElement.core:confirm (/usr/lib/atom/node_modules/atom-select-list/src/select-list-view.js:93:14)
at CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:384:43)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/lib/atom/node_modules/atom-keymap/lib/keymap-manager.js:617:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/lib/atom/node_modules/atom-keymap/lib/keymap-manager.js:408:22)
at WindowEventHandler.handleDocumentKeyEvent (/usr/lib/atom/src/window-event-handler.js:110:34)
Commands
-0:28.1.0 intentions:highlight (input.hidden-input)
-0:27.8.0 command-palette:toggle (input.hidden-input)
29x -0:25.3.0 core:backspace (input.hidden-input)
-0:13.6.0 core:confirm (input.hidden-input)
-0:13.6.0 preview:toggle (input.hidden-input)
Non-Core Packages
angular-2-typeScript-snippets 0.7.0
angular2-snippets 0.4.0
angularjs 0.5.3
atom-beautify 0.32.2
atom-cli-diff 1.9.0
atom-jade 0.3.0
atom-typescript 12.3.8
autoclose-html 0.23.0
br4ckets-dark 1.0.0
br4ckets-light 1.0.0
build-gulp 0.11.0
busy 0.7.0
busy-signal 1.4.3
compare-files 0.8.1
eclipse-keybindings 0.9.0
editorconfig 2.2.2
electron-light-syntax 1.4.0
esformatter 2.3.0
file-icons 2.1.18
focus-light 1.2.0
git-blame 1.6.0
git-diff-details 1.4.0
git-history 3.3.0
git-log 0.4.1
git-time-machine 1.5.9
highlight-selected 0.13.1
intentions 1.1.5
jscs-fixer 1.3.0
jumpy 4.2.0
language-gradle 0.0.5
language-groovy 0.7.0
language-jade 0.7.3
language-pug 0.0.22
language-typescript-grammars-only 1.6.0
lazy-light-syntax 0.1.1
light-waves-syntax 0.1.0
linter 2.2.0
linter-eslint 8.4.1
linter-pug-lint 0.2.0
linter-ui-default 1.7.1
minimap 4.29.8
minimap-highlight-selected 4.6.1
nuclide-hg-repository 0.0.35
one-light-ui-adwaita 0.10.1
piatto-light 2.0.2
preview 0.17.0
source-preview-pug 0.2.0
split-diff 1.5.2