Aleš
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
the tutorial probably has unncesary npm run build
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
we figured it out
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
in your case it seems like there's no need for build at all, so just remove npm run build from buildCommands altogether
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
buildCommands are what Zerops executes to build your code, package.json's scripts are just aliases to normal commands, eg. you could do
or you could do
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
just do the same in zerops.yml
buildCommands
and start
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
how would you build and run the app locally?
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
you are running
npm run build
command, but you package.json doesn't have build script defined at all50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
@nermal feel free to help, looks like another autobumper thing
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
alright, then it has nothing to do with Zerops or CLI
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
if it's the same thing @Michal Saloň posted then it means your package.json doesn't even have
build
script50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
yes, when you click "open build log" you can see what actually failed
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
if you can post a screenshot of the pipeline dialog it would be helpful
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
that likely means the app was built, but failed to start, again, you should see detailed logs in the actual Zerops app (app.zerops.io)
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
good, now it should output logs as the app builds
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
just confirm with
zcli version
that it has the latest version50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
essentially just do the same thing you did the first time you installed the CLI
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
without sudo then
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
and if you installed it with npm just do it again
sudo npm i -g @zerops/zcli
50 replies
ZZerops
•Created by Gojitada on 4/18/2025 in #💪・community-support
zcli push problem
try updating to latest (v1.0.42), which output pipeline logs directly into your terminal.. otherwise look at notifications in the app to find out what actually failed
50 replies