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

3rdpartylicenses.txt is empty #6921

Closed
xz64 opened this issue Jul 7, 2017 · 5 comments · Fixed by #7064
Closed

3rdpartylicenses.txt is empty #6921

xz64 opened this issue Jul 7, 2017 · 5 comments · Fixed by #7064
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity2: inconvenient

Comments

@xz64
Copy link
Contributor

xz64 commented Jul 7, 2017

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
@angular/cli: 1.2.0
node: 8.1.3
os: linux x64
@angular/animations: 4.2.5
@angular/common: 4.2.5
@angular/compiler: 4.2.5
@angular/core: 4.2.5
@angular/forms: 4.2.5
@angular/http: 4.2.5
@angular/platform-browser: 4.2.5
@angular/platform-browser-dynamic: 4.2.5
@angular/router: 4.2.5
@angular/cli: 1.2.0
@angular/compiler-cli: 4.2.5
@angular/language-service: 4.2.5

Repro steps.

ng new myproject
cd myproject
ng build --target=production
The file dist/3rdpartylicenses.txt will be empty.

The log given by the failure.

No log

Desired functionality.

3rdpartylicenses.txt should contain the licenses of all modules loaded from node_modules

Mention any other details that might be useful.

@ghost
Copy link

ghost commented Jul 12, 2017

Thank you xz64. I was just affected by this issue.

Any workaround for us "users" you can recommend except updating the package.json of @angular/cli manually to use 0.5.1 of your license-webpack-plugin?

@JanWaller
Copy link

Maybe the supplied pattern could be changed as well:
pattern: /^.*$/

So not only MIT,ISC and BSD licensed files are included, but, e.g., Apache as well

@xz64
Copy link
Contributor Author

xz64 commented Jul 20, 2017

@mariuszBX I can't think of any workarounds for this. I submitted pull request #7064 to upgrade license-webpack-plugin.

@Brocco Brocco self-assigned this Jul 20, 2017
@Brocco Brocco added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity2: inconvenient labels Jul 20, 2017
filipesilva pushed a commit that referenced this issue Aug 4, 2017
Upgrades license-webpack-plugin from 0.4.x to 0.5.x.

Closes #6921
hansl pushed a commit that referenced this issue Aug 9, 2017
Upgrades license-webpack-plugin from 0.4.x to 0.5.x.

Closes #6921
dond2clouds pushed a commit to d2clouds/speedray-cli that referenced this issue Apr 23, 2018
Upgrades license-webpack-plugin from 0.4.x to 0.5.x.

Closes angular#6921
@kumaresan-subramani
Copy link

kumaresan-subramani commented Mar 12, 2019

is there any way to avoid 3rdpartylicenses.txt file generation while running below command:

ng build --prod window --aot --source-map=false --vendor-chunk=true --output-hashing none

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity2: inconvenient
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants