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
{{ message }}
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.
I'm getting this error message that says i need a package.json file when attempting to run synth however I'm have a python project and i've already have a requirements.txt file containing the needed dependencies. I'm not sure why i need a package.json
Run youyo/aws-cdk-github-actions@v2
/usr/bin/docker run --name c3c9fab9b5f6b455f82604107fe244452_754adf --label 49859c --workdir /github/workspace --rm -e
..
..
"/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/data_curator-infra/data_curator-infra":"/github/workspace" 49859c:3c9fab9b5f6b455f82604107fe244452
npm WARN saveError ENOENT: no such file or directory, open '/github/workspace/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/github/workspace/package.json'
npm WARN workspace No description
npm WARN workspace No repository field.
npm WARN workspace No README data
npm WARN workspace No license field.
+ [email protected]
added 1 package from 1 contributor and audited 1 package in 1.949s
found 0 vulnerabilities
Install aws-cdk latest
Successful install aws-cdk latest
Install requirements.txt
Successful install requirements.txt
Run cdk synth "*"
Successfully synthesized to /github/workspace/cdk.out
Supply a stack id (dca-common, dca-test-DockerFargateStack) to display its template.
/entrypoint.sh: line 95: GITHUB_TOKEN: unbound variable
OK. Adding a package.json file didn't fix the problem. I think real problem is /entrypoint.sh: line 95: GITHUB_TOKEN: unbound variable. Running CDK synth command does not require access to AWS however I think this error indicates that the aws-cdk-github-actions requires access?
zaro0508
changed the title
GH action requires package.json for python project
cdk synth command should not require a GITHUB_TOKEN
Feb 9, 2023
I'm getting this error message that says i need a package.json file when attempting to run
synth
however I'm have a python project and i've already have a requirements.txt file containing the needed dependencies. I'm not sure why i need a package.json➜ tree
➜ cat requirements.txt
my GH action jobs..
The text was updated successfully, but these errors were encountered: