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

asFiles does not handle scoped packages #132

Closed
lambourn opened this issue Jan 8, 2018 · 1 comment
Closed

asFiles does not handle scoped packages #132

lambourn opened this issue Jan 8, 2018 · 1 comment

Comments

@lambourn
Copy link

lambourn commented Jan 8, 2018

asFiles errors if the package.json contains scoped packages, e.g. in my case

"dependencies": {
  "@angular/animations": "~4.2.0"
}

the moduleName evaluates to "@angular/[email protected]" and the outFileName to "angular/animations4.2.6-LICENSE.txt" respectively.

As the angular subfolder in the outDir does not get generated I end up getting this error:

Error: ENOENT: no such file or directory, open 'output/angular/animations4.2.6-LICENSE.txt'

@davglass
Copy link
Owner

Fixed in [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants