Skip to content
This repository was archived by the owner on Sep 5, 2022. It is now read-only.
This repository was archived by the owner on Sep 5, 2022. It is now read-only.

Uncaught TypeError: Path must be a string. Received undefined #16

@jm3

Description

@jm3

steps to reproduce:

  1. press ctrl-opt-l on an unsaved HTML file

Atom: 1.36.1 x64
Electron: 2.0.18
OS: Mac OS X 10.14.4
Thrown From: htmlhint package 1.1.4

Stack Trace

Uncaught TypeError: Path must be a string. Received undefined

At path.js:28

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.join (path.js:1251:7)
    at module.exports (/packages/htmlhint/lib/config.coffee:6:43)
    at HTMLElement.module.exports (/packages/htmlhint/lib/linter.coffee:19:37)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350065)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1212791)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1208925)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285300)

Commands

     -2:03.5.0 command-palette:toggle (input.hidden-input)
  2x -1:58.6.0 core:move-down (input.hidden-input)
     -1:57.9.0 core:confirm (input.hidden-input)
     -1:57.9.0 settings-view:install-packages-and-themes (input.hidden-input)
     -1:55.4.0 command-palette:toggle (div.panels-item)
  4x -1:53.2.0 core:backspace (input.hidden-input)
     -1:48.6.0 editor:consolidate-selections (input.hidden-input)
  2x -1:48.6.0 core:cancel (input.hidden-input)
     -1:47.9.0 core:close (div.panels-item)
     -1:36 command-palette:toggle (input.hidden-input)
     -1:33.4.0 core:confirm (input.hidden-input)
     -1:33.4.0 settings-view:install-packages-and-themes (input.hidden-input)
     -1:29.5.0 core:confirm (input.hidden-input)
     -0:35.2.0 core:select-all (input.hidden-input)
     -0:33.6.0 core:confirm (input.hidden-input)
     -0:04.6.0 htmlhint:hint (input.hidden-input)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions