I am an absolute beginner I want to test sample project on my raspberry with smartphone. and I tried to follow the tutorial on Github
I have downloaded this github project https://github.com/sedusa/raspi-ionic-iot
I have already installed nodejs server on raspberry 3
Code: Select all
pi@raspberrypi:~ $ cd /home/pi/Downloads/raspi-ionic-iot-master
pi@raspberrypi:~/Downloads/raspi-ionic-iot-master $ ls -l
total 32
-rw-r--r-- 1 pi pi 18047 Sep 8 2015 LICENSE
drwxr-xr-x 2 pi pi 4096 Sep 8 2015 raspi-iot
-rw-r--r-- 1 pi pi 4672 Sep 8 2015 README.md
pi@raspberrypi:~/Downloads/raspi-ionic-iot-master $ cd raspi-iot
pi@raspberrypi:~/Downloads/raspi-ionic-iot-master/raspi-iot $ npm install
(node:1632) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN package.json raspi-iot@1.0.0 No repository field.
npm WARN package.json raspi-iot@1.0.0 No README data
|
> epoll@1.0.2 install /home/pi/Downloads/raspi-ionic-iot-master/raspi-iot/node_modules/onoff/node_modules/epoll
> node-gyp rebuild
make: Entering directory '/home/pi/Downloads/raspi-ionic-iot-master/raspi-iot/node_modules/onoff/node_modules/epoll/build'
CXX(target) Release/obj.target/epoll/src/epoll.o
SOLINK_MODULE(target) Release/obj.target/epoll.node
COPY Release/epoll.node
make: Leaving directory '/home/pi/Downloads/raspi-ionic-iot-master/raspi-iot/node_modules/onoff/node_modules/epoll/build'
onoff@1.2.0 node_modules/onoff
└── epoll@1.0.2 (bindings@1.3.0, nan@2.8.0)I am getting error in this step
Code: Select all
pi@raspberrypi:~/Downloads/raspi-ionic-iot-master/raspi-iot $ sudo wget https://dl.ngrok.com/ngrok_2.0.19_linux_arm.zip
--2018-07-27 13:38:37-- https://dl.ngrok.com/ngrok_2.0.19_linux_arm.zip
Resolving dl.ngrok.com (dl.ngrok.com)... failed: Name or service not known.
wget: unable to resolve host address ‘dl.ngrok.com’Can someone help to getting with this error how to fix error ?