Error in Ionic2 when I clone project from a repository on other computer

I made a project in ionic2. It is a login with google provider. I followed this tutorial.

The application works fine in the computer where it was developed. I cloned the project in another computer to work in team. And I ran these commands.

npm install
ionic serve
ionic platform add android
ionic run android

Basically I didn’t modify anything in the project. I just want to run it. The project builds successfully, but when you try to log-in you get this error in console:

04-06 15:06:44.680 3758-3758/? D/CordovaActivity: Resumed the activity.
04-06 15:06:44.740 1835-3535/? I/art: Explicit concurrent mark sweep GC freed 32193(1683KB) AllocSpace objects, 9(152KB) LOS objects, 30% free, 9MB/13MB, paused 404us total 42.424ms
04-06 15:06:44.767 3758-3758/? D/SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 79205 : EXCEPTION: Uncaught (in promise): 12501
04-06 15:06:44.767 3758-3758/? I/chromium: [INFO:CONSOLE(79205)] "EXCEPTION: Uncaught (in promise): 12501", source: file:///android_asset/www/build/main.js (79205)
04-06 15:06:44.767 3758-3758/? D/SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 79210 : ORIGINAL STACKTRACE:
04-06 15:06:44.767 3758-3758/? I/chromium: [INFO:CONSOLE(79210)] "ORIGINAL STACKTRACE:", source: file:///android_asset/www/build/main.js (79210)
04-06 15:06:44.767 3758-3758/? D/SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 79211 : Error: Uncaught (in promise): 12501
                                                            at new Error (native)
                                                            at Error.v (file:///android_asset/www/build/polyfills.js:3:4864)
                                                            at s (file:///android_asset/www/build/polyfills.js:3:4289)
                                                            at s (file:///android_asset/www/build/polyfills.js:3:4112)
                                                            at file:///android_asset/www/build/polyfills.js:3:4652
                                                            at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:10284)
                                                            at Object.inner.inner.fork.onInvokeTask (file:///android_asset/www/build/main.js:38157:37)
                                                            at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:10258)
                                                            at e.runTask (file:///android_asset/www/build/polyfills.js:3:7637)
                                                            at i (file:///android_asset/www/build/polyfills.js:3:3707)

I have checked the integrity of all packages and dependencies in the project. I am not able to fix this issue. Does anyone have any idea why is this happening?