FWeinb / electron-screenshot-service

Take screenshots using electron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

electron-service missing version number in package.json

davelandry opened this issue · comments

Potentially related to #30, but I'm getting the following error when installing this as a dependency:

> cd ./electron-service && npm install .

npm ERR! addLocal Could not install /usr/local/lib/node_modules/d3plus-dev/node_modules/electron-screenshot-service/electron-service
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/Cellar/node/7.0.0/bin/node" "/usr/local/bin/npm" "install" "."
npm ERR! node v7.0.0
npm ERR! npm  v3.10.8

npm ERR! No version provided in package.json
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/lib/node_modules/d3plus-dev/node_modules/electron-screenshot-service/electron-service/npm-debug.log
/usr/local/lib
└── (empty)

Looks like NPM might require all package.json files to include a version number?

Thanks for the hint. I will fix it as soon as possible. Feel free to create a PR for this. This package should be private and version should just be 1.0.0 this package will never be published to the npm registry.