·
AWS로 EC2까지 잘 설치해서 접속도 되길래잘 한 줄 알았으나 아파치를 설치하는 데 sudo yum install httpd -y 엄청 오래걸리고 error: failed to download metadata for repo 'amazonlinux':이 에러가 뜨면서import에 실패했다고 뜨길래 뭔지 알아봤는데  Amazon Linux 2023 AMI로 선택했더니 안된다그 밑에 있는 걸로 하니까 되는 줄.. 알았는데 안된다One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail..
·웹/Next13
NEXT13 에서 API 파일 위치 APP api api-file-name route.ts request에서 DATA를 불러올 때 json으로 풀어서 받아줘야 합니다. export async function POST(request: NextRequest) { const requestData = await request.json(); const { data } = requestData; return new NextResponse( JSON.stringify({ success: true, message: "authentication failed" }), { status: 200, headers: { "content-type": "application/json" } } ); } https://nextjs.or..
pscale connect pscale database create db-name --region gcp-asia-northeast3 pscale connect db-name npx prisma studio check referential integrity generator client { provider = "prisma-client-js" } datasource db { provider = "mysql" url = env("DATABASE_URL") relationMode = "prisma" } prisma client npx prisma db push
yolang
'웹' 카테고리의 글 목록