         @selectPortView.show()
 
   parseErrors: (raw) ->
+    path ?= require 'path'
+
     lines = raw.split "\n"
     errors = []
     for line in lines

fs = null
settings = null
utilities = null

module.exports =
  SettingsHelper: null

          @downloadBinaryPromise = null
      else
        # Handle errors
        console.error e
        @SettingsHelper.set 'compile-status', {errors: @parseErrors(e.errors[0])}
        atom.workspaceView.trigger 'spark-ide:update-compile-status'
        atom.workspaceView.trigger 'spark-ide:show-compile-errors'
