This has happened twice now. For some reason when I run the
ionic serve command it doesn’t do much other than start up a local web server and the only file brought over is the index.html file. No errors in the terminal.
I’m not sure what could be causing this because it seems to occur randomly. The first time it happened I did some troubleshooting for 2 hours then gave up. Started a whole new ionic project from scratch and slowly copied over all the files one by one checking along the way to make sure the app still runs. After I had all the file completely pulled over it worked fine so I just assumed it was a random deal. But now it just randomly happened again. The only thing I did from the point between when it worked and didn’t work was push the code to a github repo. Somehow that broke it…
Any ideas on what’s going on?
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.1.4 Cordova Platforms : android 6.3.0 Ionic Framework : ionic-angular 3.9.2 System: Node : v8.9.1 npm : 5.6.0 OS : macOS High Sierra Xcode : Xcode 9.2 Build version 9C40b Environment Variables: ANDROID_HOME : not set Misc: backend : pro