Closed chazdiezal closed 3 years ago
Here is the Cloudwatch log for VodAws-prod-tokenGen pem_error.txt
Should be fixed in #201
now seeing this error when going through running amplify init...
chazdiezal:~/environment/VodAws $ amplify init Note: It is recommended to run this command from the root of your app directory ? Enter a name for the project VodAws ? Enter a name for the environment prod ? Choose your default editor: None ? Choose the type of app that you're building javascript Please tell us about your project ? What javascript framework are you using react ? Source Directory Path: src ? Distribution Directory Path: build ? Build Command: npm run-script build ? Start Command: npm run-script start Using default provider awscloudformation init failed { /home/ec2-user/.nvm/versions/node/v10.23.3/lib/node_modules/@aws-amplify/cli/node_modules/relay-compiler/lib/transforms/SkipRedundantNodesTransform.js:1 Error: Cannot find module '@babel/runtime/helpers/interopRequireDefault' Require stack:
Hey @chazdiezal
This looks like an Amplify CLI problem. Can you open a ticket on their repo:
Describe the bug Video will not upload in front end.
To Reproduce
admin:1 Uncaught (in promise) {data: {…}, errors: Array(1)} data: createVideoObject: {id: "0a7b4ab3-9421-4553-8ee8-1bdf03e96e3d", token: null, createdAt: "2021-01-28T00:51:22.120Z", updatedAt: "2021-01-28T00:51:22.120Z"} proto: Object errors: Array(1) 0: data: null errorInfo: null errorType: "Lambda:Unhandled" locations: [{…}] message: "error:0909006C:PEM routines:get_name:no start line" path: (2) ["createVideoObject", "token"] proto: Object length: 1 proto: Array(0) proto: Object
Expected behavior Video should upload and start backend process