hello
I discovered balena cloud
however I am looking for the basics to write a program
what are the basic files?
thanks
hello
I discovered balena cloud
however I am looking for the basics to write a program
what are the basic files?
thanks
Hello Denis, and welcome. I think the best place to begin is probably with our Getting Started Guides, located here:
https://www.balena.io/docs/learn/getting-started/raspberrypi3/nodejs/
Once you are comfortable with Docker containers and builds, you can draw some inspiration from some of these guides, perhaps:
https://www.balena.io/blog/tag/etcher-featured/
Thanks!
I develop with node red
1st question, is it really possible to integrate node red on the platform os balena 2.47?
I have a problem following the installation of the balena-node-red application
Blockquote
node-red node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
thanks
Hi @baudetd,
The balena-node-red
project should be working, but I’ll give this a quick go on a device locally. Could you let me know what kind of device you’re using to try this?
Best regards,
Heds
with rpi 3b+ (not 64bits)
is the node red port still in 1880 ?
Hi @baudetd,
There does seem to be a problem with the project, and this is probably down to the fact that Node Red has been updated recently and now requires a new library. You can change this locally in your project by altering the node-red/Dockerfile
file and changing:
RUN apt-get update && apt-get install -yq --no-install-recommends \
rpi.gpio \
python-dev \
python-rpi.gpio \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
to
RUN apt-get update && apt-get install -yq --no-install-recommends \
rpi.gpio \
python-dev \
python-rpi.gpio \
libatomic1 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
and then balena push
ing the project again. This should then run as expected, and be available on port 80 of the device (http://<ipaddress>
).
Best regards,
Heds
hello
it’s good !! thanks
however I have a few questions:
in node red, I tried to install node again but I have some s errors:
Blockquote
prebuild-install
2020-02-27T21:34:05.286Z [err] WARN install No prebuilt binaries found (target=12.16.1 runtime=node arch=arm libc= platform=linux)……
another question
in order to deply whole programs made under node red
is it possible to clone a project (node red with flows) to other hardware
Hey, that warning that you posted shouldn’t be an issue, the build should go ahead and compile a version for you. I’m not entirely sure what you mean by the latter question though, could you please rephrase?