STM32MP157C-DK2 installing node.js without rebuilding image
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-20 12:02 AM
Hi,
i want to use node.js on STM32MP157C-DK2. I found this post https://community.st.com/s/question/0D50X0000B0xovG/installing-nodejs-on-the-stm32mp1 , but I dont want to rebuild the image
Is there a way to install node.js without rebuilding the image?
I tried this raspberryPi-tutorial: https://www.instructables.com/id/Install-Nodejs-and-Npm-on-Raspberry-Pi/
This works fine until I want to check the version with
node -v
I get following error:
node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
thanks in advance
Lukas
Solved! Go to Solution.
- Labels:
-
OpenSTLinux
-
ST-Boards
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-20 12:13 AM
Hi @Lukas​
OpenSTLinux support apt-get service. See :
https://wiki.st.com/stm32mpu/wiki/Package_repository_for_OpenSTLinux_distribution
Didn't check but quite sure nodejs package is available.
Hope it help
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-20 12:13 AM
Hi @Lukas​
OpenSTLinux support apt-get service. See :
https://wiki.st.com/stm32mpu/wiki/Package_repository_for_OpenSTLinux_distribution
Didn't check but quite sure nodejs package is available.
Hope it help
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-25 01:06 AM
Hi @Community member​ ,
installing node.js with apt-get worked fine:thumbs_up:
If I want to install npm
apt-get install nodejs-npm
I get following error
E: You don't have enough free space in /var/cache/apt/archives/.
But I think there is enough disk-space:
Filesystem Size Used Avail Use% Mounted on
/dev/root 715M 682M 0 100% /
devtmpfs 150M 0 150M 0% /dev
tmpfs 214M 0 214M 0% /dev/shm
tmpfs 214M 12M 203M 6% /run
tmpfs 214M 0 214M 0% /sys/fs/cgroup
tmpfs 214M 4.0K 214M 1% /tmp
/dev/mmcblk0p4 58M 8.5M 46M 16% /boot
/dev/mmcblk0p7 14G 74M 13G 1% /usr/local
tmpfs 214M 80K 214M 1% /var/volatile
/dev/mmcblk0p5 15M 8.4M 5.1M 63% /vendor
regards
Lukas
![](/skins/images/9117C6B72C9F598A212AA17633C1CC28/responsive_peak/images/icon_anonymous_message.png)