Closed rakeshtembhurne closed 6 years ago
Have you tried this again recently? I merged a pull request that locked in the versions of Ionic and Bower for now (which are global NPM modules). In the near future, I'm planning to merge a pull request after fixing a few issues which will fully upgrade the project to the latest versions of Ionic and Angular then allow the latest CLI to be used.
I later figured out that the issue was missing build/vendor.js
in file. Here's the diff:
diff --git a/app/src/index.html b/app/src/index.html
index 6141b1b..154437b 100644
--- a/app/src/index.html
+++ b/app/src/index.html
@@ -46,6 +46,7 @@
<script src="assets/vendor/bower_components/aws-sign-web/aws-sign-web.js"></script>
<!-- The bundle js is generated during the build process -->
+ <script src="build/vendor.js"></script>
<script src="build/main.js"></script>
<!-- Needed for Cordova/PhoneGap (will be a 404 during development) -->
Didn't have any problem with old old versions of Ionic and Cordova (ran only on browser, didn't create apps for iOS/Android).
This issue is now fully fixed. If you pull the latest code and use the latest version of the Ionic CLI "npm install -g ionic" you should be fine. Please let us know if you encounter any other issues. Thanks!
Followed all steps. In last step where app has to be started, it fails. Here's content of file:
/home/aws-serverless-auth-reference-app/app/npm-debug.log