Build.command failed (Command failed with exit code 1: npm run build)

Hello, I’m trying to deploy my app but getting built error. I tried different solutions but didn’t work.
I attached my vite file and eeror log. Please help me to resolve issue

Here is my vite configration file

@isma26 The error indicates that your index.js file is trying to load ./env and it couldn’t load it.

You should check the code of your index.js file and determine if what it’s trying to load exists.

1 Like