Skip to content

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

Open
@tai271828

Description

@tai271828

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions