Open mathritter opened 6 years ago
Try this one: ionic cordova plugin add https://github.com/yasirkula/UnityIonicIntegration.git --nofetch
Source: https://github.com/katzer/cordova-plugin-local-notifications/issues/1345
Now I get this:
PS D:\Desenvolvimento\workspace\anime-buzz-mobile\animebuzz-mobile> ionic cordova plugin add https://github.com/yasirkula/UnityIonicIntegration.git --nofetch
> cordova plugin add https://github.com/yasirkula/UnityIonicIntegration.git --save
(node:13708) UnhandledPromiseRejectionWarning: CordovaError: Failed to fetch plugin https://github.com/yasirkula/UnityIonicIntegration.git 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 1
npm ERR! Command failed: C:\Program Files\Git\cmd\git.EXE submodule update -q --init --recursive
npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 7: basename: command not found
npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 7: sed: command not found
npm ERR! C:\Program Files\Git\mingw64/libexec/git-core\git-submodule: line 19: .: git-sh-setup: file not found
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Matheus\AppData\Roaming\npm-cache\_logs\2018-07-23T20_36_45_904Z-debug.log
at C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\fetch.js:173:37
at _rejected (C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:864:24)
at C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:890:30
at Promise.when (C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1142:31)
at Promise.promise.promiseDispatch (C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:41)
at C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:624:44
at runSingle (C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:137:13)
at flush (C:\Users\Matheus\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:13708) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:13708) [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.
I tried the post you mentioned, tried upgrading my npm and nvm.
Now I tried installing x86 nodejs, didn't work
I guess I fixed it, I executed the command thru the git bash, now I'm gonna follow the rest of the tut. I will close the issue as soon as I make it work. By the way I don't get it, is this repository about running a unity project inside an ionic app. I don't get it, where do I put the unity compiled project? I feel something is missing
Yes it is about running a Unity project inside an Ionic app. You can put your Unity project anywhere outside of your Ionic project.
When I run the command: ionic cordova plugin add https://github.com/yasirkula/UnityIonicIntegration.git ,
I get this error: