Ionic serve on OSX - missing files ionic.bundle.js andng-cordova.min.js


#1

H there - Sorry I am a complete newbie to ionic but have inherited an existing app and am trying to get it set up to text/preview. I have done a fresh install of Ionic and Cordova today so everything is up to date but ionic serve give me a white page with missing files: http://localhost:8100/lib/ionic/js/ionic.bundle.js and http://localhost:8100/lib/ng-cordova/dist/ng-cordova.min.js - No luck trawling through forums so far as everything suggests updating the CLI which I’ve already done - Any help MUCH appreciated!!


#2

What is your ionic info output?


#3

Hi Jan, Sorry for the delay, it’s:

cli packages: (/Users/dru/Sites/www.tradectory.dru/tradectory-ionic-app-dx/node_modules)

@ionic/cli-utils  : 1.13.1
ionic (Ionic CLI) : 3.13.2

global packages:

cordova (Cordova CLI) : 7.1.0 
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

Cordova Platforms : none
Ionic Framework   : ionic1 1.3.3

System:

Node  : v6.11.4
npm   : 2.15.12 
OS    : macOS Sierra
Xcode : Xcode 7.3 Build version 7D175 

Misc:

backend : pro

I can get the app running by manually downloading the ionic and cordova directories and putting them in a lib directory in www but this doesn’t seem right?


#4

I don’t know enough about Ionic v1 to help you with that, but I changed your topic`s category so maybe someone else who does can see this.