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

NPM Install failing because of cli.js reference in package.json #5

Open
westonganger opened this issue May 1, 2017 · 5 comments
Open

Comments

@westonganger
Copy link

westonganger commented May 1, 2017

npm install is failing because of the reference to cli.js inside package.json.

npm ERR! enoent ENOENT: no such file or directory, chmod '<snipped>/node_modules/sudoku-generator/cli.js'

It seems its looking for cli.js file within this project instead of wherever else its supposed to be looking.

When I removed this line in my fork I was able to uninstall correctly.

@westonganger westonganger changed the title NPM Install failing because of cli.js referece in package.json NPM Install failing because of cli.js reference in package.json May 1, 2017
@westonganger
Copy link
Author

Yarn install is working correctly however... this may just be a bug on my system.

@dlai0001
Copy link
Owner

dlai0001 commented May 2, 2017

seems like that file is missing. It's suppose to be a command line utility that should be in bin/cli.js

@westonganger
Copy link
Author

I think the file sudoku-generator.js in the project root is the file you are looking for.

This was referenced May 2, 2017
@westonganger
Copy link
Author

Just created PR #8 which fixes this bug.

@matt-potts
Copy link

@dlai0001 It has been 2 years. Can we merge Weston's changes please? I would find this handy to use.

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

3 participants