Ionic Serve error

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

    [email protected]
    Participant
    Hi WPLMS team,   when I execute Ionic Serve, I Have this error:   Error: C:\Users\ChalaPC\PlanetaCG\src\pages\intro\intro.ts has a @IonicPage decorator, but it does not have a corresponding "NgModule" at C:\Users\ChalaPC\PlanetaCG\src\pages\intro\intro.module.ts at BuildError.Error (native) at new BuildError (C:\Users\ChalaPC\PlanetaCG\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28) at C:\Users\ChalaPC\PlanetaCG\node_modules\@ionic\app-scripts\dist\preprocess.js:18:21
    #809

    [email protected]
    Participant
    Hi Again, I found this solution: https://forum.ionicframework.com/t/ionicpage-decorator-but-it-does-not-have-a-corresponding-ngmodule/97812/5 So I have deleted <span class="mention" style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;">@IonicPage</span><span style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;">" line in the .ts file and it launchs.</span> But I have a new error (now in the browser):   Error Close </div> </div> Runtime Error Cannot find module "ionic-native" </div> Stack Error: Cannot find module "ionic-native" at Object.43 (http://localhost:8100/build/main.js:3391:7) at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30) at Object.265 (http://localhost:8100/build/main.js:1720:75) at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30) at Object.96 (http://localhost:8100/build/main.js:7631:69) at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30) at Object.264 (http://localhost:8100/build/main.js:1666:69) at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30) at Object.476 (http://localhost:8100/build/main.js:4404:77) at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30) </div> Ionic Framework: 3.6.1 Ionic App Scripts: 2.1.4 Angular Core: 4.1.3 Angular Compiler CLI: 4.1.3 Node: 6.11.3 OS Platform: Windows 10 Navigator Platform: Win32 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36 </div>  
    #810
    yes I can't code I can't  begin app http://wplms.io/course/getting-started-with-wplms-mobile-app/setting-up-ionic-project/   help me
    #876

    CaptainPilot
    Participant
    I had this error: Error: /Users/volkanmidilli/Documents/ionic/captainpilot/src/pages/instructor/instructor.ts has a @IonicPage decorator, but it does not have a corresponding "NgModule" at /Users/volkanmidilli/Documents/ionic/captainpilot/src/pages/instructor/instructor.module.ts at BuildError.Error (native) at new BuildError (/Users/volkanmidilli/Documents/ionic/captainpilot/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28) at /Users/volkanmidilli/Documents/ionic/captainpilot/node_modules/@ionic/app-scripts/dist/deep-linking.js:57:21
    #1215

    WPLMS
    Keymaster
    Apologies for delayed response. @CaptanPilot and @[email protected] : Please re-download the app code, this issue was fixed in app update, we;ve removed all instances of @Ionicpage
    #32147

    Nitin Suryawanshi
    Participant
    I am getting this error. All packages installed. When i run "ionic serve" command it shows in browser console. Please help me regarding that main.js:5 Uncaught Error: Module build failed: Error: ENOENT: no such file or directory, open 'C:\Users\ABC\Desktop\new_ionic\wplms\src\app\main.js' at Object. (main.js:5) at __webpack_require__ (bootstrap 097bfa67f2918e256c76:54) at webpackJsonpCallback (bootstrap 097bfa67f2918e256c76:25) at main.js:1  
    #40785

    Scott Lang
    Keymaster
    Hi, Please share more details of an error on your terminal. As we get from above details It can be node-sass error. Please run this command to your root of project npm install –save-dev node-sass or npm rebuild node-sass –force    ?  
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘[DEPRECATED] WPLMS Student App’ is closed to new topics and replies.
Copyright VibeThemes.