cdklabs / cdklabs/cdk-cicd-wrapper
[Dependencies/Windows] Project package.json failed the license check. It contains dependency with banned license.
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 9
- Avg merge
- 2h 57m
- Merged PRs (30d)
- 48
Description
### Describe the bug
License check fails, but there is no invalid license. So I assume this is a bug. Or what do I have to change in my project?
### Expected Behavior
No error message
### Current Behavior
Error message:
### Reproduction Steps
Execute those steps on Windows:
```bash
git clone https://github.com/jumic/pipeline-ci-cd-wrapper.git
```
Commands in Project directory (see https://cdklabs.github.io/cdk-cicd-wrapper/getting_started/index.html#existing-cdk-project)
```bash
npm install
npm run validate:fix
npm run audit:fix:license
```
### Possible Solution
_No response_
### Additional Information/Context
Please let me know if this feature is not available on Windows, so that we can prioritise getting an alternative solution, e.g. Linux Subsystem for Windows (WSL).
### CDK CI/CD Wrapper version used
0.2.20
### Environment details (OS name and version, etc.)
Windows 10
Contributor guide
Research direction
Clone the linked project on Windows and run npm install, npm run validate:fix, and npm run audit:fix:license as described. Inspect the package.json dependency license data and the license-audit command's output; done means determining why the banned-license error occurs on Windows and documenting or fixing the reproducible behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100