{"action":"closed","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7377","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7377/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7377/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/7377/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/7377","id":182651422,"number":7377,"title":"(void-variable company-backends-typescript-mode) when open `.ts` file ","user":{"login":"martin-liu","id":1459760,"avatar_url":"https://avatars.githubusercontent.com/u/1459760?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-liu","html_url":"https://github.com/martin-liu","followers_url":"https://api.github.com/users/martin-liu/followers","following_url":"https://api.github.com/users/martin-liu/following{/other_user}","gists_url":"https://api.github.com/users/martin-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-liu/subscriptions","organizations_url":"https://api.github.com/users/martin-liu/orgs","repos_url":"https://api.github.com/users/martin-liu/repos","events_url":"https://api.github.com/users/martin-liu/events{/privacy}","received_events_url":"https://api.github.com/users/martin-liu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/-%20Bug%20tracker%20-","name":"- Bug tracker -","color":"fef2c0"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Auto-completion","name":"Auto-completion","color":"207de5"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Fixed%20in%20develop","name":"Fixed in develop","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-12T22:36:50Z","updated_at":"2016-10-20T09:23:20Z","closed_at":"2016-10-20T09:23:20Z","body":"#### Description :octocat:\r\nError when switch to a `.ts` file\r\n\r\n#### Reproduction guide :beetle:\r\n- Start Emacs\r\n- Go to a `.ts` file\r\n\r\n*Observed behaviour:* :eyes: :broken_heart:\r\nFailed to open `.ts` file, some error happens\r\n\r\n*Expected behaviour:* :heart: :smile:\r\nFile open successful\r\n\r\n#### System Info :computer:\r\n- OS: darwin\r\n- Emacs: 25.1.1\r\n- Spacemacs: 0.200.1\r\n- Spacemacs branch: master (rev. 3706a42)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: helm\r\n- Layers:\r\n```elisp\r\n(auto-completion better-defaults git org\r\n                 (shell :variables shell-default-shell 'ansi-term shell-default-term-shell \"/bin/zsh\")\r\n                 (syntax-checking :variables syntax-checking-enable-by-default nil)\r\n                 (spell-checking :variables spell-checking-enable-by-default nil)\r\n                 version-control\r\n                 (colors :variables colors-enable-nyan-cat-progress-bar t)\r\n                 (git :variables git-magit-status-fullscreen t magit-push-always-verify nil magit-save-repository-buffers 'dontask magit-revert-buffers 'silent magit-refs-show-commit-count 'all magit-revision-show-gravatars nil)\r\n                 (ibuffer :variables ibuffer-group-buffers-by 'projects)\r\n                 github markdown sql emacs-lisp scheme lua haskell scala\r\n                 (clojure :variables clojure-enable-fancify-symbols t)\r\n                 python html javascript typescript go rust dockerfile react m-layer)\r\n```\r\n\r\n\r\n#### Backtrace :paw_prints:\r\n```elisp\r\nDebugger entered--Lisp error: (void-variable company-backends-typescript-mode)\r\n  (set (make-variable-buffer-local (quote company-backends)) company-backends-typescript-mode)\r\n  spacemacs//init-company-typescript-mode()\r\n  run-hooks(change-major-mode-after-body-hook prog-mode-hook typescript-mode-hook typescript-mode-hook)\r\n  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook typescript-mode-hook typescript-mode-hook))\r\n  run-mode-hooks(typescript-mode-hook)\r\n  typescript-mode()\r\n  set-auto-mode-0(typescript-mode nil)\r\n  set-auto-mode()\r\n  normal-mode(t)\r\n  after-find-file(nil t)\r\n  ...\r\n```\r\n"}}
{"actor":{"display_login":"TheBB"}}