why doesn't the 'npm run build' command create build folder on my computer?

0

I'm trying to deploy a React app to AWS using S3. I use the window powershell to run the 'npm run build' command to bundle all the files together so they can be deployed to a production environment. It's supposed to create a build folder in my file explorer where I can see all the files but it didn't do that. This is the tutorial video I was watching. I'm stuck at 3:30 https://youtu.be/mls8tiiI3uc

1개 답변
0

Extremely difficult to answer without knowing the error that you're getting. When you run that command, does anything happen? Is an error generated? Verify npm and npx are installed as a first step, but they should be if you've made it that far in the tutorial.

AWS
SeanM
답변함 2년 전
  • Sorry about that. I'm still learning AWS on my own so my terminologies are probably a bit off. There is no error message. NPM and NPX are installed and I did exactly what the guy did. The powershell displayed the same message he had. But it just didn't create a folder.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인