You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When committing we will launch pre-commit hook to use hadolint. However, when I tried to install hadolint by following the instruction of the error message[1], it will show[2].
[1]
✖ Running tasks for **/Dockerfile*
→ hadolint could not be found. Try `npm install hadolint`.
hadolint could not be found. Try `npm install hadolint`.
husky > pre-commit hook failed (add --no-verify to bypass)
(python-project-template-LhD1uJ7F-py3.7) 1 tai271828@syakaro:~/work-my-projects/pycontw-projects/PyCon-ETL$ npm install hadolint
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/hadolint - Not found
npm ERR! 404
npm ERR! 404 'hadolint@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/tai271828/.npm/_logs/2021-01-01T21_17_02_245Z-debug.log
[2]
$ npm install hadolintnpm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/hadolint - Not found
npm ERR! 404
npm ERR! 404 'hadolint@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/tai271828/.npm/_logs/2021-01-02T10_32_11_546Z-debug.log
The text was updated successfully, but these errors were encountered:
Type
URL
https://github.com/pycontw/PyCon-ETL/blob/master/README.md#install
Description
When committing we will launch pre-commit hook to use hadolint. However, when I tried to install hadolint by following the instruction of the error message[1], it will show[2].
[1]
[2]
The text was updated successfully, but these errors were encountered: