aws-actions / aws-codebuild-run-build

Run an AWS CodeBuild project as a step in a GitHub Actions workflow job.
https://aws.amazon.com/codebuild
Apache License 2.0
275 stars 140 forks source link

Running locally with npx fails "404 Not Found" #170

Open todgru opened 2 months ago

todgru commented 2 months ago

The README doc describe running locally using npx. https://github.com/aws-actions/aws-codebuild-run-build/blob/main/README.md#running-locally

The command will fail as the package is not published to the NPM Package Registry, npmjs.org.

Error:

$ npx @aws-actions/codebuild-run-build -p ProjectName -r remoteName
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@aws-actions%2fcodebuild-run-build - Not found
npm ERR! 404 
npm ERR! 404  '@aws-actions/codebuild-run-build@latest' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Are the docs correct?