Instamojo integration error

Posted in General by Balvinder Singh Fri Jan 04 2019 09:30:48 GMT+0000 (UTC)·1·Viewed 145 times

I am integrating instamojo for Ionic 3 platform. But after completion of sdk setup from Devtool environment. I executed commands like: npm install ionic cordova plugin add cordova-plugin-advanced-http ionic cordova plugin add cordova-plugin-inappbrowser After that I tried to build the app but was showing an error that Instamojo not found. So I execute the following command: npm install instamojo-nodejs After this command I am able to build my project. But when I am launching the app on iOS device the app is just stuck on Splash screen. And when executing on web browser using "ionic serveā€ the following error log is displaying. Error: Can't resolve all parameters for Instamojo: (?, ?, ?). at syntaxError (http://localhost:8100/build/vendor.js:116389:34) at CompileMetadataResolver._getDependenciesMetadata (http://localhost:8100/build/vendor.js:131604:35) at CompileMetadataResolver._getTypeMetadata (http://localhost:8100/build/vendor.js:131439:26) at CompileMetadataResolver._getInjectableMetadata (http://localhost:8100/build/vendor.js:131419:21) at CompileMetadataResolver.getProviderMetadata (http://localhost:8100/build/vendor.js:131779:40) at http://localhost:8100/build/vendor.js:131690:49 at Array.forEach (<anonymous>) at CompileMetadataResolver._getProvidersMetadata (http://localhost:8100/build/vendor.js:131650:19) at CompileMetadataResolver.getNgModuleMetadata (http://localhost:8100/build/vendor.js:131218:50) at JitCompiler._loadModules (http://localhost:8100/build/vendor.js:150309:87) Please suggest me a how to get rid of this problem.
Balvinder Singh
Jan 4, 2019

Resolved by removing node modules and re installing using command:

npm install

Markdown is allowed