I am junior Dev and have been using heroku to deploy my applications but recently decided to jump to aws.
i have encountered an error "Cannot read property 'accessKeyId' of undefined" when i try to amplify init -y my front-end fullstack app.
Any advice will be awesome. Thank ya.
I was Expecting the app would initialize AWS emplify
Related
I am working on a NestJS application which is part of an Nx monorepo. I tried Vercel, but it conflicted with the deployment of UI apps. Heroku is paid now. I want to learn how to deploy a NestJS application with CI/CD enabled. Whenever there is a push to the main branch, the code should be automatically deployed like NextJS via Vercel. I have been stuck at this for a few days and have tried AWS's EC2, Beanstalk, and Serverless. I am doing something wrong, which is why I keep failing. It would be great if I get a resource on the same. I appreciate any help provided.
I tried to follow Deploying nestjs server created in NX monorepo, but it is completely a different thing.
I have tried my best to debug this issue for the past few days with no luck. I am a beginner so there could totally be simple things I just didn't know. So I have JawsDB as an add-on in Heroku and I can connect to it when running my JS program with the command line. But when Heroku deploys the Github code, it gives me a connection error (screenshot). Could anyone help me out?Heroku connection error log
The issue was with Heroku's automatic GitHub deployment as Andy pointed out. After testing manual deployment with Heroku CLI, everything works as it should.
Pretty new to expo so not sure what this error means am getting this when I run expo in production mode
After I try reloading the app it gets stuck at the new update downloading
Would be highly appreciated if anyone can help! Let me know if any more details needed.
Are you running the app in expo go (mobile) or Android emulator ?
If expo go, then connect to tunnel from metro bundle and then scan it again
I need help in connecting my react-native app with Multichian(a blockchain platform). I have installed the library that has RPC_API calls, that can be used for connection. I am using expo client as an app manager.
But having some issues using the library.
here is the library I want to use
https://github.com/scoin/multichain-node
Environment:
Windows 10
Node v12.16.2
Please someone help me. I am stuck from 10 days.
I am currently developing an app using Reactjs. I had hidden my API keys and AWS keys in the dotenv file. But I just realized that this was absolutely not secured. My current set up is that my app is running in an S3 bucket on AWS, and I was wondering if I could use my EC2 instance to hide my keys from users, but still being able to get them in the app.
This is the first time I am developing an app in Reactjs and I don't really know where to start.
Have a look at AWS Amplify, it makes that process super easy.
Using React & AWS Amplify, you can create a serverless architecture for this type of setup with minimal work. You can get started by following the instructions at https://aws-amplify.github.io/docs/
In a nutshel :
Install with:
npm install -g #aws-amplify/cli
$ amplify configure
Then in your project :
amplify init
amplify add api #this will create your API as AWS Lambda functions exposed through Amazon API Gateway)
amplify push #to create all this on your AWS account for you
If you search for 'aws amplify react' you will easily find a dozen blog posting showing you how to get started. There are so many I can not recommend one in particular.