Skip to content

Instantly share code, notes, and snippets.

@andrewn
Last active February 14, 2017 23:01
Show Gist options
  • Save andrewn/c81d329f6be7f733f5a6b8fcff6fb0c1 to your computer and use it in GitHub Desktop.
Save andrewn/c81d329f6be7f733f5a6b8fcff6fb0c1 to your computer and use it in GitHub Desktop.
$ rdt push --source .
(node:5153) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.
Reporting discovered devices
? select a device resin.local (192.168.178.45)
* Building..
- Stopping and Removing any previous 'resin-johnny-five-example' container
- Building new 'resin-johnny-five-example' image
Step 1 : FROM resin/raspberrypi2-alpine-node:edge
edge: Pulling from resin/raspberrypi2-alpine-node
237ca8699e5e: Pull complete
b394dfb6bd98: Pull complete
02a1e918c79c: Pull complete
98e783fcb1fd: Pull complete
0fefb0e007ef: Pull complete
bc644d932174: Pull complete
c44d330b0db8: Pull complete
8a53130906ea: Pull complete
fd021dd6821b: Pull complete
56baca94cd7c: Pull complete
28d28b398490: Pull complete
8dad531fd4a4: Pull complete
7728f6d0c281: Pull complete
f5721fe71721: Pull complete
---> 2e0c022d1f66
Step 2 : RUN apk add --no-cache wiringpi
---> Running in f057405dac98
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armhf/APKINDEX.tar.gz
(1/1) Installing wiringpi (2.32-r0)
Executing busybox-1.26.1-r3.trigger
OK: 381 MiB in 154 packages
---> 1d2bb935c8fb
Removing intermediate container f057405dac98
Step 3 : WORKDIR /usr/src/app
---> Running in 3376a9643682
---> da5512ab14fa
Removing intermediate container 3376a9643682
Step 4 : COPY package.json package.json
---> 9cdaa66f1c1d
Removing intermediate container 66669178624d
Step 5 : RUN npm install
---> Running in 7c8cb821a3e0
> [email protected] preinstall /usr/src/app/node_modules/.staging/raspi-soft-pwm-2ea8175e
> sh install-pigpio.sh
\nDownloading pigpio...\n
Cloning into 'pigpio'...
\nBuilding pigpio. You may be asked for your root password.\n
gcc -O3 -Wall -pthread -fpic -c -o pigpio.o pigpio.c
pigpio.c: In function 'fileApprove':
pigpio.c:12682:15: warning: 'mperm' may be used uninitialized in this function [-Wmaybe-uninitialized]
switch (toupper(mperm))
^~~~~~~~~~~~~~
gcc -O3 -Wall -pthread -fpic -c -o command.o command.c
gcc -shared -o libpigpio.so pigpio.o command.o
strip --strip-unneeded libpigpio.so
size libpigpio.so
text data bss dec hex filename
239545 5340 596552 841437 cd6dd libpigpio.so
gcc -O3 -Wall -pthread -fpic -c -o pigpiod_if.o pigpiod_if.c
gcc -shared -o libpigpiod_if.so pigpiod_if.o command.o
strip --strip-unneeded libpigpiod_if.so
size libpigpiod_if.so
text data bss dec hex filename
63061 4308 49268 116637 1c79d libpigpiod_if.so
gcc -O3 -Wall -pthread -fpic -c -o pigpiod_if2.o pigpiod_if2.c
gcc -shared -o libpigpiod_if2.so pigpiod_if2.o command.o
strip --strip-unneeded libpigpiod_if2.so
size libpigpiod_if2.so
text data bss dec hex filename
76888 4312 2008 83208 14508 libpigpiod_if2.so
gcc -O3 -Wall -pthread -c -o x_pigpio.o x_pigpio.c
gcc -o x_pigpio x_pigpio.o -L. -lpigpio -pthread -lrt
gcc -O3 -Wall -pthread -c -o x_pigpiod_if.o x_pigpiod_if.c
gcc -o x_pigpiod_if x_pigpiod_if.o -L. -lpigpiod_if -pthread -lrt
gcc -O3 -Wall -pthread -c -o x_pigpiod_if2.o x_pigpiod_if2.c
gcc -o x_pigpiod_if2 x_pigpiod_if2.o -L. -lpigpiod_if2 -pthread -lrt
gcc -O3 -Wall -pthread -c -o pig2vcd.o pig2vcd.c
gcc -o pig2vcd pig2vcd.o
strip pig2vcd
gcc -O3 -Wall -pthread -c -o pigpiod.o pigpiod.c
gcc -o pigpiod pigpiod.o -L. -lpigpio -pthread -lrt
strip pigpiod
gcc -O3 -Wall -pthread -c -o pigs.o pigs.c
gcc -o pigs pigs.o command.o
strip pigs
install-pigpio.sh: line 50: sudo: not found
Could not install pigpio\n
> [email protected] install /usr/src/app/node_modules/i2c-bus
> node-gyp rebuild
make: Entering directory '/usr/src/app/node_modules/i2c-bus/build'
CXX(target) Release/obj.target/i2c/src/i2c.o
SOLINK_MODULE(target) Release/obj.target/i2c.node
COPY Release/i2c.node
make: Leaving directory '/usr/src/app/node_modules/i2c-bus/build'
> [email protected] install /usr/src/app/node_modules/raspi
> node-gyp rebuild
make: Entering directory '/usr/src/app/node_modules/raspi/build'
CXX(target) Release/obj.target/addon/src-native/addon.o
CXX(target) Release/obj.target/addon/src-native/init.o
../src-native/init.cc:25:22: fatal error: wiringPi.h: No such file or directory
#include <wiringPi.h>
^
compilation terminated.
make: *** [addon.target.mk:93: Release/obj.target/addon/src-native/init.o] Error 1
make: Leaving directory '/usr/src/app/node_modules/raspi/build'
Error: `make` failed with exit code: 2
at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
ERR! stack at emitTwo (events.js:106:13)
stack at ChildProcess.emit (events.js:192:7)
stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Linux 4.1.21
ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
cwd /usr/src/app/node_modules/raspi
v7.5.0
v3.5.0
gyp ERR! not ok
> [email protected] install /usr/src/app/node_modules/raspi-gpio
> node-gyp rebuild
make: Entering directory '/usr/src/app/node_modules/raspi-gpio/build'
CXX(target) Release/obj.target/addon/src-native/addon.o
CXX(target) Release/obj.target/addon/src-native/init.o
../src-native/init.cc:27:22: fatal error: wiringPi.h: No such file or directory
#include <wiringPi.h>
^
compilation terminated.
make: *** [addon.target.mk:96: Release/obj.target/addon/src-native/init.o] Error 1
make: Leaving directory '/usr/src/app/node_modules/raspi-gpio/build'
ERR! stack Error: `make` failed with exit code: 2
stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:192:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
ERR! System Linux 4.1.21
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/src/app/node_modules/raspi-gpio
gyp ERR! node -v v7.5.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
> [email protected] install /usr/src/app/node_modules/raspi-pwm
> node-gyp rebuild
make: Entering directory '/usr/src/app/node_modules/raspi-pwm/build'
CXX(target) Release/obj.target/addon/src-native/addon.o
CXX(target) Release/obj.target/addon/src-native/init.o
../src-native/init.cc:27:22: fatal error: wiringPi.h: No such file or directory
#include <wiringPi.h>
^
compilation terminated.
make: *** [addon.target.mk:94: Release/obj.target/addon/src-native/init.o] Error 1
make: Leaving directory '/usr/src/app/node_modules/raspi-pwm/build'
Error: `make` failed with exit code: 2
at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
at emitTwo (events.js:106:13)
stack at ChildProcess.emit (events.js:192:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Linux 4.1.21
"/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
/usr/src/app/node_modules/raspi-pwm
v7.5.0
v3.5.0
> [email protected] install /usr/src/app/node_modules/serialport
> node-pre-gyp install --fallback-to-build
Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v51-lin
make: Entering directory '/usr/src/app/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
../src/serialport.cpp: In function 'int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)':
../src/serialport.cpp:90:52: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function 'double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)':
../src/serialport.cpp:102:53: warning: 'v8::Local<v8::Number> v8::Value::ToNumber() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8406:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/serialport.cpp: In function 'void EIO_AfterOpen(uv_work_t*)':
../src/serialport.cpp:174:31: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':
../src/serialport.cpp:193:29: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp:217:116: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
baton->baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)':
../src/serialport.cpp:252:29: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':
../src/serialport.cpp:369:32: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':
../src/serialport.cpp:480:29: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':
../src/serialport.cpp:528:29: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':
../src/serialport.cpp:585:29: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
../src/serialport_unix.cpp: In function 'OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Local<v8::Object>&)':
../src/serialport_unix.cpp:44:109: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
result->vmin = Nan::Get(options, Nan::New<v8::String>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport_unix.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport_unix.cpp:45:111: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
result->vtime = Nan::Get(options, Nan::New<v8::String>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/./serialport.h:7,
from ../src/serialport_unix.cpp:1:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
CXX(target) Release/obj.target/serialport/src/serialport_poller.o
../src/serialport_poller.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_ARGS_TYPE)':
../src/serialport_poller.cpp:86:31: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->fd_ = info[0]->ToInt32()->Int32Value();
^
In file included from /root/.node-gyp/7.5.0/include/node/node.h:42:0,
from ../../nan/nan.h:47,
from ../src/serialport_poller.cpp:5:
/root/.node-gyp/7.5.0/include/node/v8.h:8442:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
SOLINK_MODULE(target) Release/obj.target/serialport.node
COPY Release/serialport.node
make: Leaving directory '/usr/src/app/node_modules/serialport/build'
> [email protected] postinstall /usr/src/app/node_modules/raspi-i2c
> echo "Enabling I2C at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_i2c.js
Enabling I2C at boot time, you may be asked for your password
sh: sudo: not found
> [email protected] postinstall /usr/src/app/node_modules/raspi-serial
> echo "Disabling serial port login at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_serial.js
Disabling serial port login at boot time, you may be asked for your password
sh: sudo: not found
[email protected] /usr/src/app
+-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | `-- [email protected]
| | | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | | `-- [email protected]
| | | | | | +-- [email protected]
| | | | | | | `-- [email protected]
| | | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | | `-- [email protected]
| | | | | | +-- [email protected]
| | | | | | `-- [email protected]
| | | | | `-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | +-- [email protected]
| | | | | | `-- [email protected]
| | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | | `-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
`-- [email protected]
+-- [email protected]
| `-- [email protected]
`-- [email protected]
[email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] license should be a valid SPDX license expression
WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/raspi-soft-pwm):
optional SKIPPING OPTIONAL DEPENDENCY: [email protected] preinstall: `sh install-pigpio.sh`
SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/raspi):
SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/raspi-gpio):
optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/raspi-pwm):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/raspi-i2c):
WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] postinstall: `echo "Enabling I2C at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_i2c.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: spawn ENOENT
WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/raspi-serial):
optional SKIPPING OPTIONAL DEPENDENCY: [email protected] postinstall: `echo "Disabling serial port login at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_serial.js`
optional SKIPPING OPTIONAL DEPENDENCY: spawn ENOENT
---> 4d721c3ac0ce
Removing intermediate container 7c8cb821a3e0
Step 6 : COPY . .
---> 7be09f5e1170
Removing intermediate container 8bfbcee70c46
Step 7 : CMD modprobe i2c-dev && node index
---> Running in f52ee39739c1
---> b04bf3665c07
Removing intermediate container f52ee39739c1
Successfully built b04bf3665c07
- Creating 'resin-johnny-five-example' container
- Starting 'resin-johnny-five-example' container
rdt push completed successfully!
* Streaming application logs..
module.js:472
throw err;
^
Error: Cannot find module 'raspi-io'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/src/app/index.js:2:10)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
andrew at andrewn-mbp in ~/Projects/resinos/johnny-five-example on alpine▲
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment