Closed snuffub closed 7 years ago
I resolved the issue by adding @Angular/cli and @Angular/compiler-cli to the package.json dependencies list from DevDependencies.
I'm just coming up to speed on Angular, NPM, and elastic beanstalk so I'm not sure if this is an issue that's specific to my environment or something that others will run into.
@snuffub ,
First I see this error. Did you install angular cli beforehand?
I installed angular CLI Localy, but I think the EB deploy script needs it on the EC2 instance to deploy.
I'm not the sharpest knife in the drawer, it's failing because it's not recognizing the Angular CLI command ng. the npm owner ls command was just it trying to provide me with a helpful contact for the original build failure.
Now to figure out why ng either isn't getting installed or isn't added to the path...
Original issue preserved below for posterity
When I try deploying to elastic beanstalk I'm getting a failure because the 'npm owner ls aws-cognito-angular2-quickstart' command is failing:
Full npm-debug.log below:
I believe it's getting called by npm run build from the build-angular.config file, but I'm still trying to figure out why it's getting called and if I should just be changing the package name to something I own.
Thanks for the help!