jas-chen / atom-live-server

Launch a simple development http server with live reload capability.
https://atom.io/packages/atom-live-server
MIT License
121 stars 49 forks source link

Uncaught TypeError: Cannot read property 'setStatus' of null #236

Open joshuamwolfe opened 4 years ago

joshuamwolfe commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.43.0 x64 Electron: 4.2.7 OS: Microsoft Windows 10 Home Thrown From: atom-live-server package 2.3.0

Stack Trace

Uncaught TypeError: Cannot read property 'setStatus' of null

At C:\Users\green\.atom\packages\atom-live-server\lib\atom-live-server.js:39

TypeError: Cannot read property 'setStatus' of null
    at safeStatus (/packages/atom-live-server/lib/atom-live-server.js:39:38)
    at Object.startServer (/packages/atom-live-server/lib/atom-live-server.js:83:5)
    at HTMLElement.atomLiveServerStartServer (/packages/atom-live-server/lib/atom-live-server.js:54:50)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.43.0/resources/app/static/<embedded>:11:349290)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.43.0/resources/app/static/<embedded>:11:347765)
    at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.43.0/resources/app/static/<embedded>:1:762989)
    at EventEmitter.t (~/AppData/Local/atom/app-1.43.0/resources/app/static/<embedded>:1:770912)
    at EventEmitter.emit (events.js:182:13)

Commands

     -9:59 editor:move-to-end-of-screen-line (input.hidden-input)
     -9:58.8.0 editor:select-to-first-character-of-line (input.hidden-input)
     -9:58.7.0 core:delete (input.hidden-input)
  8x -9:34.4.0 core:move-down (input.hidden-input)
     -9:29.7.0 autocomplete-plus:confirm (input.hidden-input)
     -9:23 core:backspace (input.hidden-input)
     -9:18.8.0 core:move-down (input.hidden-input)
     -9:17.8.0 core:move-up (input.hidden-input)
     -9:16.9.0 core:backspace (input.hidden-input)
     -9:12.5.0 autocomplete-plus:confirm (input.hidden-input)
  2x -9:03.4.0 core:save (input.hidden-input)
     -0:10.8.0 atom-live-server:startServer (input.hidden-input)

Non-Core Packages

atom-clock 0.1.17 
atom-debug-ui 1.0.4 
atom-ide-ui 0.13.0 
atom-live-server 2.3.0 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
autocomplete-paths 2.12.2 
bracket-colorizer 1.4.0 
file-icons 2.1.38 
Hydrogen 2.13.1 
ide-php 0.7.18 
language-ini 1.23.0 
linter 2.3.1 
open-in-browser 0.5.2 
open-php-in-browser 0.2.0 
php-cs-fixer 4.1.1 
php-debug 0.3.5 
prettier-atom 0.58.2 
script 3.25.0 
teletype 0.13.4