我使用Cordova PayPal plugin。但是,當我試圖將其添加到頁面時,出現以下錯誤:PayPal離子供應商
Uncaught (in promise): Error: No provider for PayPal! Error: No provider for PayPal! at injectionError (http://localhost:8100/build/main.js:1510:86) at noProviderError (http://localhost:8100/build/main.js:1548:12) at ReflectiveInjector_.throwOrNull (http://localhost:8100/build/main.js:3049:19) at ReflectiveInjector.getByKeyDefault (http://localhost:8100/build/main.js:3088:25) at ReflectiveInjector.getByKey (http://localhost:8100/build/main.js:3020:25) at ReflectiveInjector.get (http://localhost:8100/build/main.js:2889:21) at AppModuleInjector.get (ng:///AppModule/module.ngfactory.js:358:125) at AppModuleInjector.getInternal (ng:///AppModule/module.ngfactory.js:507:55) at AppModuleInjector.NgModuleInjector.get (http://localhost:8100/build/main.js:3856:44) at resolveDep (http://localhost:8100/build/main.js:11318:45) Stack
有什麼想法? 另外,你有任何理解供應商和承諾的建議嗎?