-
Notifications
You must be signed in to change notification settings - Fork 34
linter.verify is not a function #76
Comments
I have the same problem Version: 1.45.1 (user setup) |
Not sure what's going on here, but I did just publish a new version 0.8.0 that fixed a different problem. LMK if you're still seeing this after that update. |
I have version 0.8.0 - the same problem. |
Tried to install 0.8.0 this morning and am also getting this error. |
I have version 0.8.0 - the same problem. Version: 1.46.0 (user setup) |
@mike-kaufman this extension was working fine with Hopefully it will be updated soon. Meanwhile the workaround is to rollback "htmlhint" package in node_modules to 0.13 |
@mike-kaufman I will go back to |
Same issue with v0.8.0 here. Version: 1.46.1 |
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
The text was updated successfully, but these errors were encountered: