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

Aryius
已提问 2 年前2010 查看次数
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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则