RemoteBuildFailedError: Remote build failed

I’m having issues with pushing code. here is the error I’m getting. The issue started without any code change. Started yesterday, still ongoing

» balena push Staging                                                                                           
[debug] Using . as build source
[debug] Connecting to builder at https://builder.balena-cloud.com/v3/build?owner=tuned_apple&app=Staging&emulated=&nocache=
/ Uploading source package to balena cloud[debug] received HTTP 200 OK
[debug] handling message: {“type”:“metadata”,“resource”:“buildLogId”,“value”:XXXX}
[debug] handling message: {“message”:“\u001b[36m[Info]\u001b[39m     Starting build for Staging, user tuned_apple”}
[Info]     Starting build for Staging, user tuned_apple
[debug] handling message: {“message”:“\u001b[36m[Info]\u001b[39m     Dashboard link: https://dashboard.balena-cloud.com/apps/XXXXX/devices”}
[Info]     Dashboard link: https://dashboard.balena-cloud.com/apps/XXXXX/devices
[debug] handling message: {“message”:“\u001b[31m[Error]\u001b[39m    Could not detect project type: Resolution could not be performed”,“isError”:true}
[Error]    Could not detect project type: Resolution could not be performed
[debug] handling message: {“message”:“\u001b[31m[Error]\u001b[39m    Not deploying release.“,”isError”:true}
[Error]    Not deploying release.
RemoteBuildFailedError: Remote build failed
    at Bluebird.then (/usr/local/lib/node_modules/balena-cli/build/utils/remote-build.js:63:23)
    at tryCatcher (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/promise.js:694:18)
    at _drainQueueStep (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:138:12)
    at _drainQueue (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:131:9)
    at Async._drainQueues (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/node_modules/balena-cli/node_modules/bluebird/js/release/async.js:17:14)
    at processImmediate (timers.js:637:19)
    at process.topLevelDomainCallback (domain.js:126:23)

Hey @tuned_apple what code are you trying to push? What’s the exact command that you are using? Did you push successfully before?

It looks like there’s no Dockerfile or Dockerfile.template in your folder that you are trying to push.

Can you give us a bit more info? Can you also give a try to our getting started (just select the device type and the language closer to yours on this page: https://www.balena.io/docs/learn/getting-started/raspberrypi3/nodejs/ ), or if you provide more details, we can help better.