Hello,
I am trying to install balenaSound onto my Raspberry Pi 4 and I am trying to push the extracted balena-sound-master folder to the Pi but I keep getting the same message when I put through these commands:
>cd C:\Users\Administrator\Downloads\balena-sound-master
>balena push balena-sound-master
[debug] original argv0="C:\Program Files\balena-cli\bin\\..\client\bin\node.exe" argv=[C:\Program Files\balena-cli\client\bin\node.exe,C:\Program Files\balena-cli\client\bin\run,push,balena-sound-master] length=4
[debug] Using . as build source
Error: no "Dockerfile[.*]", "docker-compose.yml" or "package.json" file
found in source folder "."
Error: Error: no "Dockerfile[.*]", "docker-compose.yml" or "package.json" file
found in source folder "."
at validateProjectDirectory (C:\Program Files\balena-cli\client\build\utils\compose_ts.js:256:19)
From previous event:
at runCommand (C:\Program Files\balena-cli\client\build\app-capitano.js:181:14)
at Object.exports.run (C:\Program Files\balena-cli\client\build\app-capitano.js:193:39)
at routeCliFramework (C:\Program Files\balena-cli\client\build\preparser.js:39:79)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
at Function.Module.runMain (module.js:696:11)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io
For CLI bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/
I don’t know what to do because it says that it is missing the the “Dockerfile[.*]”, “docker-compose.yml” or “package.json” files.
Thanks!
Hello,
There should be a docker-compose.ymlfile in this project’s root folder. I see that you cd’d into the correct folder, but could you please do dir to confirm that the .yml file is actually present?
Thank you
Hello everyone! I managed to push balenaSound to my Pi a minute ago and I found that there was a yml file in there. I was just being thick about it. I also found that I was supposed to do my project’s name when doing the push command and I didn’t do that before.
i have the same problem as aj123. I can´t push the balenaSound to my Pi. I found the docker-compose.yml file in the projects folder and I used the apps name for the push command. I’m not sure if I should do anything about the docker-compose file. But I get the same massage.
So I hope someone could help me about the issue.
Blockquote
C:\Users\raine\Downloads\balena-sound-master>balena push Musik
[debug] original argv0=“C:\Program Files\balena-cli\bin\…\client\bin\node.exe” argv=[C:\Program Files\balena-cli\client\bin\node.exe,C:\Program Files\balena-cli\client\bin\run,push,Musik] length=4
[debug] Using . as build source
Error: no “Dockerfile[.]", “docker-compose.yml” or “package.json” file
found in source folder “.”
ExpectedError: Error: no "Dockerfile[.]”, “docker-compose.yml” or “package.json” file
found in source folder “.”
at validateProjectDirectory (C:\Program Files\balena-cli\client\build\utils\compose_ts.js:256:19)
From previous event:
at runCommand (C:\Program Files\balena-cli\client\build\app-capitano.js:173:14)
at Object.exports.run (C:\Program Files\balena-cli\client\build\app-capitano.js:185:39)
at routeCliFramework (C:\Program Files\balena-cli\client\build\preparser.js:39:79)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Hello Rene, let’s just make sure you have unzipped the project correctly, first. I see that you are currently in the ‘C:\Users\raine\Downloads\balena-sound-master’ directory, so, simply type ‘dir’ and press enter…let us know the output of that command, as I am wondering if there is a subfolder that we may need to drop down into before pushing the app. Thanks!
Hello dtischler, thanks for your answer. And yes you were right. There was one more subfolder called belena-sound-master. So I copyed the adress with the subfolder, made the cd command and than the push command worked.
Thanks a lot for your help. Now I can enjoy my old speakers with my mobile devices.