Skip to content

Instantly share code, notes, and snippets.

@andrewn
Last active February 14, 2017 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
> raspi-soft-pwm@2.0.2 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
> i2c-bus@1.2.1 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'
> raspi@3.0.5 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
> raspi-gpio@3.1.1 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
> raspi-pwm@3.1.3 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
> serialport@4.0.7 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'
> raspi-i2c@5.0.3 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
> raspi-serial@3.0.5 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
resin-johnny-five-example@1.0.0 /usr/src/app
+-- board-io@3.0.5
| `-- check-types@1.4.0
+-- johnny-five@0.10.6
| +-- browser-serialport@2.1.0
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- escape-string-regexp@1.0.5
| | +-- has-ansi@2.0.0
| | | `-- ansi-regex@2.1.1
| | +-- strip-ansi@3.0.1
| | `-- supports-color@2.0.0
| +-- color-convert@1.2.2
| +-- ease-component@1.0.0
| +-- es6-shim@0.35.3
| +-- firmata@0.15.0
| +-- lodash.clonedeep@4.5.0
| +-- lodash.debounce@4.0.8
| +-- nanotimer@0.3.10
| +-- serialport@4.0.7
| | +-- bindings@1.2.1
| | +-- commander@2.9.0
| | | `-- graceful-readlink@1.0.1
| | +-- debug@2.6.1
| | | `-- ms@0.7.2
| | +-- lie@3.1.1
| | | `-- immediate@3.0.6
| | +-- nan@2.5.1
| | +-- node-pre-gyp@0.6.32
| | | +-- mkdirp@0.5.1
| | | | `-- minimist@0.0.8
| | | +-- nopt@3.0.6
| | | | `-- abbrev@1.0.9
| | | +-- npmlog@4.0.1
| | | | +-- are-we-there-yet@1.1.2
| | | | | +-- delegates@1.0.0
| | | | | `-- readable-stream@2.2.2
| | | | | +-- buffer-shims@1.0.0
| | | | | +-- core-util-is@1.0.2
| | | | | +-- inherits@2.0.3
| | | | | +-- isarray@1.0.0
| | | | | +-- process-nextick-args@1.0.7
| | | | | +-- string_decoder@0.10.31
| | | | | `-- util-deprecate@1.0.2
| | | | +-- console-control-strings@1.1.0
| | | | +-- gauge@2.7.2
| | | | | +-- aproba@1.0.4
| | | | | +-- has-unicode@2.0.1
| | | | | +-- object-assign@4.1.0
| | | | | +-- signal-exit@3.0.2
| | | | | +-- string-width@1.0.2
| | | | | | +-- code-point-at@1.1.0
| | | | | | `-- is-fullwidth-code-point@1.0.0
| | | | | | `-- number-is-nan@1.0.1
| | | | | +-- strip-ansi@3.0.1
| | | | | | `-- ansi-regex@2.0.0
| | | | | +-- supports-color@0.2.0
| | | | | `-- wide-align@1.1.0
| | | | `-- set-blocking@2.0.0
| | | +-- rc@1.1.6
| | | | +-- deep-extend@0.4.1
| | | | +-- ini@1.3.4
| | | | +-- minimist@1.2.0
| | | | `-- strip-json-comments@1.0.4
| | | +-- request@2.79.0
| | | | +-- aws-sign2@0.6.0
| | | | +-- aws4@1.5.0
| | | | +-- caseless@0.11.0
| | | | +-- combined-stream@1.0.5
| | | | | `-- delayed-stream@1.0.0
| | | | +-- extend@3.0.0
| | | | +-- forever-agent@0.6.1
| | | | +-- form-data@2.1.2
| | | | | `-- asynckit@0.4.0
| | | | +-- har-validator@2.0.6
| | | | | +-- chalk@1.1.3
| | | | | | +-- ansi-styles@2.2.1
| | | | | | +-- escape-string-regexp@1.0.5
| | | | | | +-- has-ansi@2.0.0
| | | | | | | `-- ansi-regex@2.0.0
| | | | | | +-- strip-ansi@3.0.1
| | | | | | | `-- ansi-regex@2.0.0
| | | | | | `-- supports-color@2.0.0
| | | | | +-- is-my-json-valid@2.15.0
| | | | | | +-- generate-function@2.0.0
| | | | | | +-- generate-object-property@1.2.0
| | | | | | | `-- is-property@1.0.2
| | | | | | +-- jsonpointer@4.0.0
| | | | | | `-- xtend@4.0.1
| | | | | `-- pinkie-promise@2.0.1
| | | | | `-- pinkie@2.0.4
| | | | +-- hawk@3.1.3
| | | | | +-- boom@2.10.1
| | | | | +-- cryptiles@2.0.5
| | | | | +-- hoek@2.16.3
| | | | | `-- sntp@1.0.9
| | | | +-- http-signature@1.1.1
| | | | | +-- assert-plus@0.2.0
| | | | | +-- jsprim@1.3.1
| | | | | | +-- extsprintf@1.0.2
| | | | | | +-- json-schema@0.2.3
| | | | | | `-- verror@1.3.6
| | | | | `-- sshpk@1.10.1
| | | | | +-- asn1@0.2.3
| | | | | +-- assert-plus@1.0.0
| | | | | +-- bcrypt-pbkdf@1.0.0
| | | | | +-- dashdash@1.14.1
| | | | | +-- ecc-jsbn@0.1.1
| | | | | +-- getpass@0.1.6
| | | | | +-- jodid25519@1.0.2
| | | | | +-- jsbn@0.1.0
| | | | | `-- tweetnacl@0.14.4
| | | | +-- is-typedarray@1.0.0
| | | | +-- isstream@0.1.2
| | | | +-- json-stringify-safe@5.0.1
| | | | +-- mime-types@2.1.13
| | | | | `-- mime-db@1.25.0
| | | | +-- oauth-sign@0.8.2
| | | | +-- qs@6.3.0
| | | | +-- stringstream@0.0.5
| | | | +-- tough-cookie@2.3.2
| | | | | `-- punycode@1.4.1
| | | | +-- tunnel-agent@0.4.3
| | | | `-- uuid@3.0.1
| | | +-- rimraf@2.5.4
| | | | `-- glob@7.1.1
| | | | +-- fs.realpath@1.0.0
| | | | +-- inflight@1.0.6
| | | | | `-- wrappy@1.0.2
| | | | +-- inherits@2.0.3
| | | | +-- minimatch@3.0.3
| | | | | `-- brace-expansion@1.1.6
| | | | | +-- balanced-match@0.4.2
| | | | | `-- concat-map@0.0.1
| | | | +-- once@1.4.0
| | | | | `-- wrappy@1.0.2
| | | | `-- path-is-absolute@1.0.1
| | | +-- semver@5.3.0
| | | +-- tar@2.2.1
| | | | +-- block-stream@0.0.9
| | | | +-- fstream@1.0.10
| | | | | `-- graceful-fs@4.1.11
| | | | `-- inherits@2.0.3
| | | `-- tar-pack@3.3.0
| | | +-- debug@2.2.0
| | | | `-- ms@0.7.1
| | | +-- fstream@1.0.10
| | | | +-- graceful-fs@4.1.11
| | | | `-- inherits@2.0.3
| | | +-- fstream-ignore@1.0.5
| | | | +-- inherits@2.0.3
| | | | `-- minimatch@3.0.3
| | | | `-- brace-expansion@1.1.6
| | | | +-- balanced-match@0.4.2
| | | | `-- concat-map@0.0.1
| | | +-- once@1.3.3
| | | | `-- wrappy@1.0.2
| | | +-- readable-stream@2.1.5
| | | | +-- buffer-shims@1.0.0
| | | | +-- core-util-is@1.0.2
| | | | +-- inherits@2.0.3
| | | | +-- isarray@1.0.0
| | | | +-- process-nextick-args@1.0.7
| | | | +-- string_decoder@0.10.31
| | | | `-- util-deprecate@1.0.2
| | | `-- uid-number@0.0.6
| | `-- object.assign@4.0.4
| | +-- define-properties@1.1.2
| | | `-- foreach@2.0.5
| | +-- function-bind@1.1.0
| | `-- object-keys@1.0.11
| `-- temporal@0.5.0
`-- node-fetch@1.6.3
+-- encoding@0.1.12
| `-- iconv-lite@0.4.15
`-- is-stream@1.1.0
resin-johnny-five-example@1.0.0 No description
npm WARN resin-johnny-five-example@1.0.0 No repository field.
npm WARN resin-johnny-five-example@1.0.0 license should be a valid SPDX license expression
WARN optional SKIPPING OPTIONAL DEPENDENCY: raspi-soft-pwm@2.0.2 (node_modules/raspi-soft-pwm):
optional SKIPPING OPTIONAL DEPENDENCY: raspi-soft-pwm@2.0.2 preinstall: `sh install-pigpio.sh`
SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: raspi@3.0.5 (node_modules/raspi):
SKIPPING OPTIONAL DEPENDENCY: raspi@3.0.5 install: `node-gyp rebuild`
optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
optional SKIPPING OPTIONAL DEPENDENCY: raspi-gpio@3.1.1 (node_modules/raspi-gpio):
optional SKIPPING OPTIONAL DEPENDENCY: raspi-gpio@3.1.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
SKIPPING OPTIONAL DEPENDENCY: raspi-pwm@3.1.3 (node_modules/raspi-pwm):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: raspi-pwm@3.1.3 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: raspi-i2c@5.0.3 (node_modules/raspi-i2c):
WARN optional SKIPPING OPTIONAL DEPENDENCY: raspi-i2c@5.0.3 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: raspi-serial@3.0.5 (node_modules/raspi-serial):
optional SKIPPING OPTIONAL DEPENDENCY: raspi-serial@3.0.5 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