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

Does not validate on Save #22

Open
Teofilios opened this issue Jul 17, 2020 · 0 comments
Open

Does not validate on Save #22

Teofilios opened this issue Jul 17, 2020 · 0 comments

Comments

@Teofilios
Copy link

I have noticed that the HTML-HINT does not validate on Save, although I am sure that there are a few errors (that I have made for testing). I have also set up to validate on Change, and then I got this red warning:

"Uncaught TypeError: The "path" argument must be of type string. Received type undefined -- The error was thrown from the htmlhint package. You can help by creating an issue. Please explain what actions triggered this error."

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64
Electron: 5.0.13
OS: Debian GNU/Linux
Thrown From: htmlhint package 1.1.4

Stack Trace

Uncaught TypeError: The "path" argument must be of type string. Received type undefined

At internal/validators.js:105

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:105:11)
    at Object.join (path.js:1037:7)
    at module.exports (/packages/htmlhint/lib/config.coffee:6:43)
    at module.exports (/packages/htmlhint/lib/linter.coffee:19:37)
    at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1201460)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1202901)
    at TextBuffer.emitDidStopChangingEvent (/usr/share/atom/resources/app/static/<embedded>:11:505470)
    at later (/usr/share/atom/resources/app/static/<embedded>:14:104700)

Commands

  3x -9:25.1.0 core:move-left (input.hidden-input)
     -9:23.6.0 core:backspace (input.hidden-input)
  3x -9:21 core:save (input.hidden-input)
     -6:15.5.0 core:backspace (input.hidden-input)
  4x -6:05.5.0 core:save (input.hidden-input)
     -6:00.7.0 core:backspace (input.hidden-input)
     -5:54.8.0 core:save (input.hidden-input)
     -0:57.5.0 core:move-left (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
color-picker 2.3.0 
delete-lines 0.5.0 
file-icons 2.1.41 
htmlhint 1.1.4 
iceberg-syntax 0.2.3 
linter 2.3.1 
linter-htmlhint 1.6.3 
linter-tidy 2.4.0 
linter-ui-default 1.8.1 
markdown-preview-enhanced 0.18.5 
markdown-to-pdf 0.1.1 
material 2.2.0 
minimap 4.29.9 
multi-cursor 3.0.0 
multi-cursor-plus 1.2.0 
solarized-dark-ui 0.3.2 
tidy-html5 0.2.1 
Wild-Cherry 0.10.0 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant