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

Problems with running #26

Open
Mukhammadjon-Jalolov opened this issue May 7, 2018 · 1 comment
Open

Problems with running #26

Mukhammadjon-Jalolov opened this issue May 7, 2018 · 1 comment

Comments

@Mukhammadjon-Jalolov
Copy link

Hello all! Great job!
I just discovered this tool and trying to test my JS files... But the problem is this tool is not running. When I go to the node_modules folder and type cr --help it says SyntaxError: Unexpected identifier.

Maybe I`m not doing correctly something. Please help!

@73rhodes
Copy link

If you installed with npm install complexity-report you should see a cr utility under ./node_modules/.bin/ and that needs to be in your PATH to run it. If you installed it globally with npm install -g complexity-report then the cr utility should be available to run from any directory.

In short, this doesn't seem to be an issue with complexity-report, you just need to know how to install and use command line utilities via npm.

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