WordPress LMS for Web and mobile Forums WPLMS Student App Error: Encountered undefined provider!

Error: Encountered undefined provider!

Back to course
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10068

    frankdage
    Participant

    Updated the app and recompiling now I get this error.

    Error: Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using ‘barrel’ index.ts files.

    at syntaxError (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:1550:34)

    at C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:14936:40

    at Array.forEach (<anonymous>)

    at CompileMetadataResolver._getProvidersMetadata (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:14921:19)

    at CompileMetadataResolver.getNgModuleMetadata (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:14576:50)

    at addNgModule (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:23050:58)

    at C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:23061:14

    at Array.forEach (<anonymous>)

    at _createNgModules (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:23060:26)

    at analyzeNgModules (C:\Users\BXC\MobileAppDevelopment\LearnPaceIonic\lp\node_modules\@angular\compiler\bundles\compiler.umd.js:22935:14)

    #10073

    frankdage
    Participant

    Ok I am using ionic cordova build android now and it’s ok, please ignore this.

    #10088

    Alex
    Keymaster

    That is a strange one .
    Please follow this link : https://github.com/ionic-team/ionic-app-scripts/issues/885 

    Try to install the ionic and your app again and make sure each node package installs without error .

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.