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

CLI --version doesn't work #2157

Closed
benelliott opened this issue Nov 15, 2021 · 1 comment
Closed

CLI --version doesn't work #2157

benelliott opened this issue Nov 15, 2021 · 1 comment
Labels

Comments

@benelliott
Copy link

benelliott commented Nov 15, 2021

Type of Issue

[x] Bug Report
[ ] Feature Request

Description

A bug: please describe the error that you encountered

Error occurs when running --version command as specified in issue template

A feature: please describe your use case and motivation

How To Reproduce

A bug: please include instructions how to reproduce. Issues without reproduction are likely to receive no feedback.

ng-packagr --version / node_modules/.bin/ng-packagr --version

returns

void version().then(() => process.exit(0));
    ^

ReferenceError: Cannot access 'version' before initialization

Can you reproduce the error in the integration tests in ng-packagr?
If possible, take a look at the integration/samples and try to break one of these builds!

Is the error you faced in an application importing the library
Try to break the Angular CLI app in integration/consumers/ng-cli!

Expected Behaviour

A bug: please describe what behaviour or result you expected

A feature: do you have a first draft or an idea how to implement?

Version Information

$ node_modules/.bin/ng-packagr --version
ng-packagr: 13.0.3
@angular/*: x.y.z
typescript: x.y.z
rxjs: x.y.z
node: 14.17.6
npm/yarn: x.y.z

Windows 10

Please include all version numbers that might be relevant, e.g. third-party libraries

@github-actions
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.

This action has been performed automatically by a bot.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants