Closed njgrisafi closed 3 years ago
Closing the file and reopening seems to have fixed the error...but still strange to see. Maybe this has something to do with VSCode and not the extension itself. (I'm running on MacOS)
Closing the file and reopening seems to have fixed the error...but still strange to see. Maybe this has something to do with VSCode and not the extension itself. (I'm running on MacOS)
@njgrisafi
The problem seems to go away since vscode upgrade this week. Would you double-check?
@ExiaSR I performed the update to Version: 1.55.2
and I haven't been able to repro the error. That should hopefully do the trick thank you!
I'm encountering this with vscode 1.60.1 and hadolint 2.7.0-no-git and this Dockerfile:
FROM python:3.8-slim
RUN pip install --no-cache-dir "uvicorn[standard]" gunicorn
I'm using VS Code version 1.62.3 and Hadolint 2.8.0.
Although, hadolint -v
outputs Haskell Dockerfile Linter UNKNOWN
. I had to get the version number by reinstalling hadolint via brew.
Anyway, I'm still getting the VSCode error of "hadolint: Cannot read property 'length' of undefined" every single time I save my Dockerfile.
I'm using VS Code version 1.62.3 and Hadolint 2.8.0.
Although,
hadolint -v
outputsHaskell Dockerfile Linter UNKNOWN
. I had to get the version number by reinstalling hadolint via brew.Anyway, I'm still getting the VSCode error of "hadolint: Cannot read property 'length' of undefined" every single time I save my Dockerfile.
Same for me. Error shows every time I save Dockerfile.
the error still exists on vs code 1.88.0, it seems that the hadolint version does not matter, because there are no errors in the console.
The following Dockerfile:
When saving the file above, vscode shows an error
hadolint: Cannot read property 'length' of undefined
:Any ideas why this would occur?