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

linter.verify is not a function #76

@jaccovonk

Description

@jaccovonk

I installed the extension and got the following error popup: 'linter.verify is not a function'.

I found that if I changed the following line (168) in server.js (C:\Users\me.vscode\extensions\mkaufman.htmlhint-0.7.0\server\server.js) from:

const result = server.Files.resolveModule2(rootFolder, 'htmlhint', nodePath, trace).

to:

const result = server.Files.resolveModule(rootFolder, 'htmlhint').

then it worked...?!

Here's my VSCode About info:

Version: 1.45.1 (user setup)
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:35.169Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17134

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