Search code examples
amazon-web-servicesreact-nativegithubaws-amplify

AWS 'Amplify push' command giving 'file already exists in amplify/.temp/#current-cloud-backend' error in React Native project


I created a new React Native project and initialized a new AWS Amplify project inside this folder and added just 1 category(Add Auth). However, when i do a 'Amplify push' i get following error:

"There was an error pulling the backend environment 'dev', an error occurred during the push operation. EEXIST: file already exists, mkdir '..projectDirectory/amplify/.temp/#current-cloud-backend'"

Can anyone please help me how to resolve this issue?


Solution

  • You should verify that your current node version satisfies the aws amplify requirements (>= 10.12).