Error running command: fork/exec /usr/local/bin/build: no such file or directory

10:07:00 AM: Build ready to start
10:07:07 AM: build-image version: 6b66e79d54a8f76b01392124644c3052ac0d32ef
10:07:07 AM: build-image tag: v3.3.6
10:07:07 AM: buildbot version: 2ba6f2db8150441c8469e6ae3ab3561a2c9d03fa
10:07:07 AM: Fetching cached dependencies
10:07:07 AM: Starting to download cache of 254.9KB
10:07:07 AM: Finished downloading cache in 76.73452ms
10:07:07 AM: Starting to extract cache
10:07:07 AM: Failed to fetch cache, continuing with build
10:07:07 AM: Starting to prepare the repo for build
10:07:07 AM: No cached dependencies found. Cloning fresh repo
10:07:07 AM: git clone git@gitlab.com:hawkeye64/reservely
10:07:10 AM: Preparing Git Reference refs/heads/master
10:07:11 AM: Starting build script
10:07:11 AM: Build command unable to start
10:07:11 AM: Error running command: fork/exec /usr/local/bin/build: no such file or directory
10:07:11 AM: Failing build: Failed to build site
10:07:11 AM: failed during stage ‘building site’: fork/exec /usr/local/bin/build: no such file or directory
10:07:11 AM: Finished processing build request in 4.817384341s

I am not sure if I am doing something wrong. This is the first time I have tried to create a site that is a sub-folder of the main repo.

What’s your deploy command?

It’s yarn build - but that is doing a quasar build which I have on other sites and no issues. Uses the Quasar Framework CLI.

Hmmm …. I’m not too familiar with that, but /usr/local/bin/build suggests that the build command you’ve entered in the dashboard or subsequent commands that it launches are interpreted as calling build which doesn’t exist.

image
Above is the one having issue.
Could it be because it’s a private repo?

This next one works:
image

The build script for both, looks like this:

"build": "quasar build && cp ./src/404.html ./dist/spa",

Based on what you said here:

you’ve entered in the dashboard or subsequent commands that it launches are interpreted as calling build which doesn’t exist.

I am thinking that it hasn’t changed into the base directory to run the command

I removed the base directory and changed build command to cd reservely-client && yarn build and have different results:

Executing user command: cd reservely-client && yarn build

10:56:11 AM: /opt/buildhome/.rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: reservely-client: No such file or directory

@Siteme Thanks for your help. The client name is spelled incorrectly. Don’t know why it wasn’t noticed up until now. Appreciate you talking it out with me. Thanks! :heart:

Glad I could help! Have a nice day!
Feel free to mark your answer as the answer :wink: