apigeetool raises error

apigeetool deploynodeapp -o <org> -e test -d . -n <name_api> -m index.js -b <base_path> -v https_vhost -P

Save file: /tmp/tmp-10087223CoQCFN16.tmp
Error: unexpected end of file

I'm executing this line inside /apiproxy/resources/node , where the file 'index.js' resides

0 1 160
1 REPLY 1

extracting ./node_modules/jsrender/jsrender.min.js

Error: invalid distance too far back
Error: invalid distance too far back
at Zlib._handle.onerror (zlib.js:355:17)