Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] hadolint installation does not succeed for E404 #7

Open
1 of 3 tasks
tai271828 opened this issue Jan 2, 2021 · 0 comments
Open
1 of 3 tasks
Labels
documentation Improvements or additions to documentation

Comments

@tai271828
Copy link
Member

Type

  • Conent inaccurate
  • Content missing
  • Typo

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]

	✖ 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
@tai271828 tai271828 added the documentation Improvements or additions to documentation label Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant