I have exactly the same problem. When I was following the tutorial I installed ionic platform web client and because I had a customized file structure on the beginning it didn't worked (I got the error ERROR: { [Error: ENOENT, open './www/js/app.js'] errno: -2, code: 'ENOENT', path: './www/js/app.js' }
and also the error that ionic.io.bundle.min.js is missing.
Is your app declaration contained in 'app.js'?
So I removed the platform, rearranged my file structure so that the app.js is on it's original location and reinstalled the web client platform. The error ERROR: { [Error: ENOENT, open './www/js/app.js'] errno: -2, code: 'ENOENT', path: './www/js/app.js' }
dissapeared, but the missing ionic.bundle error was still present.
Is your app declaration contained in 'app.js'?
I manually edited the line that was automatically added on the install, from
<script src="lib/ionic-platform-web-client/dist/ionic.io.bundle.min.js"></script>
to <script src="assets/lib/ionic-platform-web-client/dist/ionic.io.bundle.min.js"></script>
.
Ionic seems to recognize the file now and load it, however now I got the error "Cannot read property 'get' of undefined" on line 2.
Help please!