-
AuthorPosts
-
September 26, 2017 at 11:17 am #808
[email protected]ParticipantHi 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
September 26, 2017 at 11:30 am #809
[email protected]ParticipantHi Again,
I found this solution:
https://forum.ionicframework.com/t/ionicpage-decorator-but-it-does-not-have-a-corresponding-ngmodule/97812/5So 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>
September 26, 2017 at 12:02 pm #810
Tran van hoan tran van hoanParticipantyes
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
October 1, 2017 at 7:48 pm #876
CaptainPilotParticipantI 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:21October 21, 2017 at 1:55 am #1215
WPLMSKeymasterApologies 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
August 28, 2019 at 4:33 pm #32147
Nitin SuryawanshiParticipantI 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:1December 13, 2019 at 1:44 pm #40785
Scott LangKeymasterHi,
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 ?
-
AuthorPosts
- You must be logged in to reply to this topic.