dlai0001 / sudoku-generator

Library for generating sudoku puzzles
MIT License
10 stars 4 forks source link

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

Open westonganger opened 7 years ago

westonganger commented 7 years ago

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 commented 7 years ago

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

dlai0001 commented 7 years ago

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

westonganger commented 7 years ago

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

westonganger commented 7 years ago

Just created PR #8 which fixes this bug.

matt-potts commented 5 years ago

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