NPM seems to have a different package.json
jlleblanc opened this issue · 2 comments
jlleblanc commented
I npm install
ed this module into my project and it kept throwing "Error: Cannot find module 'node-chrome'" whenever I tried to run the demo. When I looked into the module itself, I noticed the main
property of package.json was set to index.js
instead of lib/index.js
, even though the latest commit on GitHub shows the latter. When I switched it over to the correct path, it worked.
Was this a small edit that didn't make it up to NPM? I've had small issues like that before where I had to do a force publish to avoid bumping the version number.
heapwolf commented
fixed! and thank-you!
jlleblanc commented
Confirmed 👍