-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Following the installation instruction for ionic project, I'm getting this error
Command Run> cordova plugin add cordova-plugin-live-ocr --save
Response: (node:6255) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Invalid Plugin! cordova-plugin-live-ocr needs a valid package.json
(node:6255) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Command run: cordova plugin add https://github.com/DavidStrausz/cordova-plugin-live-ocr.git --save
Response:
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code ENOPACKAGEJSON
npm ERR! package.json Non-registry package missing package.json: git+https://github.com/DavidStrausz/cordova-plugin-live-ocr.git.
npm ERR! package.json npm can't find a package.json file in your current directory.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/shubhamjaiswal/.npm/_logs/2018-01-12T04_26_11_460Z-debug.log
(node:6197) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.