netPark / node-openalpr

NodeJS Wrapper for OpenALPR
GNU Affero General Public License v3.0
89 stars 78 forks source link

Fail to install on Ubuntu 14.04 inside Docker #12

Open ido-ran opened 8 years ago

ido-ran commented 8 years ago

Hi, I'm trying to use OpenALPR with node inside a docker container based on Ubuntu 14.04. I've created a Dockerfile that install OpenALPR but when I get to install node-openalpr I get the following error. You can see the project in my github.

npm ERR! not a package /root/tmp/npm-8-ZHpjReZZ/1465157586971-0.16782745067030191/tmp.tgz
npm ERR! Error: ENOENT, open '/root/tmp/npm-8-ZHpjReZZ/1465157586971-0.16782745067030191/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 4.4.8-boot2docker
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
npm ERR! cwd /src
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /root/tmp/npm-8-ZHpjReZZ/1465157586971-0.16782745067030191/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /src/npm-debug.log
npm ERR! not ok code 0