dabit3 / react-notes

React notes tutorial
84 stars 186 forks source link

build failing: #7

Open owntheweb-archive opened 5 years ago

owntheweb-archive commented 5 years ago

I'm just exploring AWS Amplify Console and attempted to install this app via sample apps listed. Very cool! It's also a reminder that I need to learn CloudFormation.

The build is currently failing, with the following error:

...
2019-09-06T11:44:28.860Z [INFO]: CREATE_FAILED PinpointFunction                                                    AWS::Lambda::Function      Fri Sep 06 2019 11:44:27 GMT+0000 (Coordinated Universal Time) The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs10.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 13cd034f-37ac-4927-ad75-a1f8dac7bcb1)
                                 CREATE_FAILED react-notes-amplify-20190906114321-analyticsreactnotes-AOIFSMI1ZZCA AWS::CloudFormation::Stack Fri Sep 06 2019 11:44:27 GMT+0000 (Coordinated Universal Time) The following resource(s) failed to create: [PinpointFunction].
2019-09-06T11:44:33.682Z [INFO]: 
2019-09-06T11:44:33.684Z [INFO]: CREATE_FAILED               analyticsreactnotes                AWS::CloudFormation::Stack Fri Sep 06 2019 11:44:32 GMT+0000 (Coordinated Universal Time) Embedded stack arn:aws:cloudformation:us-east-1:631764164204:stack/react-notes-amplify-20190906114321-analyticsreactnotes-AOIFSMI1ZZCA/9caf4030-d09b-11e9-87f8-0e984b426fca was not successfully created: The following resource(s) failed to create: [PinpointFunction].
                                 CREATE_FAILED               authreactnotescognitoauth          AWS::CloudFormation::Stack Fri Sep 06 2019 11:44:32 GMT+0000 (Coordinated Universal Time) Resource creation cancelled
                                 UPDATE_ROLLBACK_IN_PROGRESS react-notes-amplify-20190906114321 AWS::CloudFormation::Stack Fri Sep 06 2019 11:44:33 GMT+0000 (Coordinated Universal Time) The following resource(s) failed to create: [authreactnotescognitoauth, analyticsreactnotes].
2019-09-06T11:44:33.965Z [INFO]: 
...

If I can find a fix in a short period of time, I'll post a PR. :)

owntheweb-archive commented 5 years ago

Ah, you just need to merge this PR already submitted: https://github.com/dabit3/react-notes/pull/5

I'm testing the build now. CloudFormation is taking its time at the moment...

owntheweb-archive commented 5 years ago

That didn’t resolve issues. Instead, I was getting some kind of timeout error-less build fail. At the moment I’m taking a different approach as I startup an Angular app (I know, not as related).