Verify Your Setup
Let's run through a complete verification to ensure everything is configured correctly before we start building our first project.
Complete Verification Checklist
Open PowerShell and run each command. Check that your output matches the expected results.
1. Node.js and npm
node --version
v20.x.x or v22.x.x
npm --version
10.x.x or higher
2. Git
git --version
git version 2.x.x
Check your Git configuration:
git config --global user.name
git config --global user.email
3. AWS CLI
aws --version
aws-cli/2.x.x Python/3.x.x Windows/10
Verify your AWS credentials are configured:
aws sts get-caller-identity
{
"UserId": "AIDA...",
"Account": "123456789012",
"Arn": "arn:aws:iam::123456789012:user/amplify-dev"
}
If aws sts get-caller-identity fails, your credentials aren't
configured correctly. Go back to lesson 2.2 and run aws configure
with your access keys.
4. Amplify CLI
npx ampx --version
1.x.x (may take a moment on first run)
5. VS Code (Optional)
code --version
Quick Test: Create a Nuxt App
Let's verify everything works together by creating a quick test project:
-
Create a test directory
mkdir C:\temp\amplify-test; cd C:\temp\amplify-test -
Initialize a new Nuxt project
npx nuxi@latest init test-appWhen prompted, choose the default options. This may take a minute.
-
Enter the project and install dependencies
cd test-app; npm install -
Start the development server
npm run devYou should see output like:
Nuxt 3.x.x with Nitro 2.x.x ➜ Local: http://localhost:3000/ ➜ Network: http://192.168.x.x:3000/ -
Open in browser
Navigate to http://localhost:3000. You should see the Nuxt welcome page!
-
Stop the server
Press
Ctrl+Cin the terminal to stop the dev server.
If you saw the Nuxt welcome page, your development environment is ready! You can delete the test folder:
cd C:\; Remove-Item -Recurse -Force C:\temp\amplify-test
Environment Summary Script
Here's a PowerShell script that checks everything at once. Save it as
check-env.ps1 and run it:
# check-env.ps1 - Verify Amplify development environment
Write-Host "========================================" -ForegroundColor Cyan
Write-Host " AWS Amplify Environment Check" -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
Write-Host ""
# Node.js
Write-Host "Node.js: " -NoNewline
try {
$nodeVersion = node --version
Write-Host $nodeVersion -ForegroundColor Green
} catch {
Write-Host "NOT INSTALLED" -ForegroundColor Red
}
# npm
Write-Host "npm: " -NoNewline
try {
$npmVersion = npm --version
Write-Host $npmVersion -ForegroundColor Green
} catch {
Write-Host "NOT INSTALLED" -ForegroundColor Red
}
# Git
Write-Host "Git: " -NoNewline
try {
$gitVersion = git --version
Write-Host $gitVersion -ForegroundColor Green
} catch {
Write-Host "NOT INSTALLED" -ForegroundColor Red
}
# AWS CLI
Write-Host "AWS CLI: " -NoNewline
try {
$awsVersion = aws --version 2>&1
Write-Host $awsVersion -ForegroundColor Green
} catch {
Write-Host "NOT INSTALLED" -ForegroundColor Red
}
# AWS Credentials
Write-Host "AWS Credentials: " -NoNewline
try {
$identity = aws sts get-caller-identity 2>&1 | ConvertFrom-Json
Write-Host "Configured (Account: $($identity.Account))" -ForegroundColor Green
} catch {
Write-Host "NOT CONFIGURED" -ForegroundColor Red
}
# Amplify CLI
Write-Host "Amplify CLI: " -NoNewline
try {
$ampxVersion = npx ampx --version 2>&1
Write-Host $ampxVersion -ForegroundColor Green
} catch {
Write-Host "Error checking" -ForegroundColor Yellow
}
Write-Host ""
Write-Host "========================================" -ForegroundColor Cyan
Write-Host " Check Complete!" -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
Common Issues and Solutions
Issue: "node" is not recognized
Solution: Restart PowerShell after installing Node.js, or check that Node.js is in your PATH environment variable.
Issue: AWS credentials not working
Solution:
- Run
aws configureand re-enter your access keys - Make sure there are no typos in the access key or secret
- Verify the IAM user has the
AdministratorAccess-Amplifypolicy
Issue: npx ampx hangs or times out
Solution:
- Check your internet connection
- Try clearing npm cache:
npm cache clean --force - If behind a corporate proxy, configure npm proxy settings
Issue: Port 3000 already in use
Solution: Another application is using port 3000. Either stop that application or run Nuxt on a different port:
npm run dev -- --port 3001
Module 2 Complete!
🎉 Congratulations!
You have successfully set up your AWS Amplify development environment. You now have:
- An AWS account with an IAM user for development
- AWS CLI configured with your credentials
- Node.js, npm, and Git installed
- VS Code with helpful extensions
- Access to the Amplify CLI via npx
In the next module, we'll create your first Amplify project and explore the project structure in detail!