On windows Im getting
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch plugin https://github.com/valentiniljaz/cordova-nfcv-plugin via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code 128
npm ERR! Command failed: C:\Program Files (x86)\Git\cmd\git.EXE submodule update -q --init --recursive
npm ERR! fatal: 'submodule' appears to be a git command, but we were not
npm ERR! able to execute it. Maybe git-submodule is broken?
npm ERR!
On mac
npm install https://github.com/valentiniljaz/cordova-nfcv-plugin --save
when I try and run it says cant find file /ionic2/src/nfcv.service.js
there is a ts file there but no js.
Any help would be appreciated
Paul C
Edit -
I built module myself and put the .js files where ionic was expecting it.
Im getting this
NfcV is not defined at line 94.
Im using ionic 3 if that helps
On windows Im getting UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to fetch plugin https://github.com/valentiniljaz/cordova-nfcv-plugin via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: cmd: Command failed with exit code 1 Error output: npm ERR! code 128 npm ERR! Command failed: C:\Program Files (x86)\Git\cmd\git.EXE submodule update -q --init --recursive npm ERR! fatal: 'submodule' appears to be a git command, but we were not npm ERR! able to execute it. Maybe git-submodule is broken? npm ERR!
On mac npm install https://github.com/valentiniljaz/cordova-nfcv-plugin --save when I try and run it says cant find file /ionic2/src/nfcv.service.js there is a ts file there but no js. Any help would be appreciated
Edit - I built module myself and put the .js files where ionic was expecting it. Im getting this NfcV is not defined at line 94. Im using ionic 3 if that helps