在Arduino Yun上安装Node

时间:2015-06-22 06:09:38

标签: node.js arduino arduino-yun opkg

我有一张8G MicroSD卡,我想使用opkg为Arduino Yun安装Node但是我收到以下消息:

root@Arduino:~# opkg update
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.sig.
Signature check passed.
root@Arduino:~# opkg install node
Installing node (v0.10.33-1) to root...
Collected errors:
 * verify_pkg_installable: Only have 2040kb available on filesystem /overlay, pkg node needs 3016
 * opkg_install_cmd: Cannot install package node.
root@Arduino:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    6.9M      4.9M      2.0M  71% /
/dev/root                 7.5M      7.5M         0 100% /rom
tmpfs                    29.8M    480.0K     29.4M   2% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            6.9M      4.9M      2.0M  71% /overlay
overlayfs:/overlay        6.9M      4.9M      2.0M  71% /
/dev/sda1                 7.3G     46.8M      7.2G   1% /mnt/sda1

有没有办法安装它?

2 个答案:

答案 0 :(得分:1)

试试这个

opkg -d /dev/sda1 install node

似乎正在/overlay上尝试安装,其大小为6.9MB

答案 1 :(得分:0)