amazon-archives / aws-serverless-auth-reference-app

Serverless reference app and backend API, showcasing authentication and authorization patterns using Amazon Cognito, Amazon API Gateway, AWS Lambda, and AWS IAM.
Other
752 stars 194 forks source link

TypeError: AppScripts.serve is not a function #32

Closed chadamodio closed 7 years ago

chadamodio commented 7 years ago

Receiving error "TypeError: AppScripts.serve is not a function" when running cmd ionic serve.

To fix the error change app/package.json line 37 @ionic/app-scripts: 1.0.0 to 1.1.4 then run npm install again.

justonian commented 7 years ago

I recently locked in the versions of Ionic and Bower as part of the project to maintain backwards compatibility. Going forward, I'm looking to resolve a few open issues with a pull request to upgrade the project to be fully compatible with the latest versions of Angular and Ionic. At that point, you should not have any issues running the project with the latest versions of these packages.

UnicornFlames commented 7 years ago

Hi There.

Try running this command. This might help you.

npm install --save-dev @latest

this will install the latest of app-scripts

justonian commented 7 years ago

This issue should now be fully fixed with the latest commits. Please try using the latest version of Ionic "npm install -g ionic" and the app should start fine with ionic serve. Let us know if you encounter any other issues. Thanks!