HOME
  Security
   Software
    Hardware
  
FPGA
  CPU
   Android
    Raspberry Pi
  
nLite
  Xcode
   etc.
    ALL
  
LINK
BACK
 

2021/08/07

ラズパイで複数台の Androidのリモート デバグ環境が作れる Android 11にも対応の DeviceFarmerを動かす! ラズパイで複数台の Androidのリモート デバグ環境が作れる Android 11にも対応の DeviceFarmerを動かす!

(DeviceFarmer with Raspberry Pi STF Smartphone Test Farm for Debugging Smartphone)

Tags: [Raspberry Pi], [電子工作], [セキュリティ]




● Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!

DeviceFarmer / stf
 STF (or Smartphone Test Farm) is a web application for debugging smartphones, smartwatches and other gadgets remotely, from the comfort of your browser.

 OpenSTFは古い
openstf / stf


● DeviceFarmer STFを動かすのに必要なミドルウェア郡

Node.js 8.xsome dependencies don't support newer versions
ADB tools
RethinkDB>= 2.2
GraphicsMagickfor resizing screenshots
ZeroMQ libraries
Protocol Buffers libraries
yasmfor compiling embedded libjpeg-turbo
pkg-configso that Node.js can find the libraries
 ※ Node.js 8.x系は「古い」ですが、DeviceFarmerでは v8.x系が必須です。

● DeviceFarmerの Node.jsのアップデート対応の計画は?
Are there plans to upgrade nodejs to 12 ? #37
 2021/6/8 「Node.js 12系の対応が 95%完了」


● DeviceFarmer STFでできない事

 ・Android端末を物理的に傾けたり動かしたりする事
 ・Android端末の画面をマルチタップ(パッチ等があるが未確認)
 ・iPhone対応(iPhone用にパッチ等があるが、mac本体と macOS環境が必要)

● DeviceFarmer STFの必須条件

 ・Android端末の電源が入っている事
 ・Android端末に USBが接続されている事
 ・ホスト側と Android端末の USB接続の ADB通信が正常に動く事
  ホスト側の USBが不調になった場合、ホスト側の再起動等が必要


● DeviceFarmer STFを動かすのに必要なミドルウェア郡をインストールする方法

● DeviceFarmer STFのインストールに使用した Raspberry Pi OSのバージョン
Operating system images - Raspberry Pi
Raspberry Pi OS Lite
 Release date: May 7th 2021
 Kernel version: 5.10
 Size: 444MB

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux

● ADB tools
sudo apt update
sudo apt-get install -y android-tools-adb android-tools-fastboot

$ adb --version
Android Debug Bridge version 1.0.39
Version 1:8.1.0+r23-5
Installed as /usr/lib/android-sdk/platform-tools/adb

● Node.js 8.x

Installing Node.js via package manager
NodeSource Node.js Binary Distributions

 下記の方法では Node.js 8.xが既に古すぎてインストールできない。
# curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

 下記のバイナリを解凍して直接コピーする方法でインストールする。
# Install Node.js 8.x from Compiled binary
# Uninstall nodejs npm
# sudo apt remove -y nodejs npm
cd
wget https://nodejs.org/dist/v8.17.0/node-v8.17.0-linux-armv6l.tar.xz
tar -xvf node-v8.17.0-linux-armv6l.tar.xz
cd node-v8.17.0-linux-armv6l/
sudo cp -R * /usr/local/
cd
hash -r

# if -bash: xxxx: command not found Execute hash -r or reboot
# hash -r
# sudo reboot

nodejs -v
node -v
npm -v
npx -v

pi@raspberrypi:~ $ nodejs -v
-bash: nodejs: command not found
pi@raspberrypi:~ $ node -v
v8.17.0
pi@raspberrypi:~ $ npm -v
6.13.4
pi@raspberrypi:~ $ npx -v
6.13.4

● npm ERR! Error EACCES permission denied access '/usr/local/lib'の解決方法
npm ERR! path /usr/local/lib
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'

# Can't fix This Problem
# npm install -g npm

● Solves npm EACCES permission denied
# 下記で対応できた
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'

# ~/.npm-global/binを先に認識する様にする
echo ' export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

● Node.js 10.x Raspberry Pi OS 2021/08 Debian Buster
 Node.js 10.xでは DeviceFarmerは動きません。
sudo apt-get install -y nodejs npm

nodejs -v
node -v
npm -v
npx -v

pi@raspberrypi:~ $ nodejs -v
v10.24.0
pi@raspberrypi:~ $ node -v
v10.24.0
pi@raspberrypi:~ $ npm -v
5.8.0
pi@raspberrypi:~ $ npx -v
5.8.0

● clang for Build RethinkDB
sudo apt-get install -y clang

clang++ --version
clang -print-resource-dir

$ clang++ --version
clang version 7.0.1-8+rpi3+deb10u2 (tags/RELEASE_701/final)
Target: armv6k-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin

$ clang -print-resource-dir
/usr/lib/llvm-7/lib/clang/7.0.1

● RethinkDB 2.4.1
Install RethinkDB on Raspbian
https://download.rethinkdb.com/service/rest/repository/browse/raw/dist/
# Install RethinkDB on Raspbian
# Get the build dependencies
sudo apt-get install -y g++ protobuf-compiler libprotobuf-dev \
                     libboost-dev curl m4 wget libssl-dev

# Get the source code
# https://download.rethinkdb.com/service/rest/repository/browse/raw/dist/
cd
wget https://download.rethinkdb.com/repository/raw/dist/rethinkdb-2.4.1.tgz
# rethinkdb-2.4.1.tgz  Thu Aug 13 17:51:53 UTC 2020 76444571
# rethinkdb-latest.tgz Thu Aug 13 17:54:15 UTC 2020 76444571
tar xf rethinkdb-2.4.1.tgz

# Build RethinkDB
cd rethinkdb-2.4.1

# ./configure --allow-fetch CXX=clang++
# C++ Compiler:                   error
# * Error: unable to run clang++
# * Aborting configure
sudo apt-get install -y clang

sudo apt-get install -y ccache
ccache -s
ccache -M 1.0G
ccache -s

./configure --allow-fetch CXX=clang++ --ccache

time sudo make install
#    [445/445] INSTALL /usr/local/etc/rethinkdb/default.conf.sample
# real    131m50.053s
# user    110m16.788s
# sys     10m21.731s

rethinkdb -v
# rethinkdb 2.4.1 (CLANG 7.0.1 (tags/RELEASE_701/final))

● Protocol Buffers libraries
Protocol Buffers - Google's data interchange format
# Protocol Buffers libraries
apt list *protobuf*
sudo apt-get install -y python3-protobuf

$ protoc --version
libprotoc 3.6.1
# Build protobuf Protocol Buffers libraries
sudo apt-get install -y autoconf automake libtool curl make g++ unzip

cd
git clone https://github.com/protocolbuffers/protobuf.git --depth 1
cd protobuf
git submodule update --init --recursive
./autogen.sh

# To build and install the C++ Protocol Buffer runtime and the Protocol Buffer compiler
./configure
make
make check
sudo make install
# refresh shared library cache .
sudo ldconfig

● ZeroMQ
ZeroMQ
# ZeroMQ
sudo apt-get install -y libzmq3-dev

# libzmq3-dev version 4.3.1-4+deb10u2

● GraphicsMagick
● yasm
● pkg-config
# Other
sudo apt-get install -y graphicsmagick yasm pkg-config

# graphicsmagick version 1.4+really1.3.35-1~deb10u1
# yasm version 1.3.0-2
# pkg-config version 0.29-6


● DeviceFarmer STFをインストール
sudo apt install -y git

cd
git clone https://github.com/DeviceFarmer/stf --depth 1

cd
cd stf

# ERR! OMG CMake executable is not found.
#  Please use your system's package manager to install it,
#   or you can get installers from there: http://cmake.org.
sudo apt install -y cmake
cmake --version
# cmake version 3.16.3

# Installation
npm install -g @devicefarmer/stf

# + @devicefarmer/stf@3.6.1
# added 748 packages from 832 contributors in 658.881s

 とりま、ここまで完了すれば「DeviceFarmerを起動する方法」で DeviceFarmerを動かせる。

● 下記 PhantomJSや Buildingは不要

● PhantomJS
PhantomJS - Scriptable Headless Browser
# npm install
# npm ERR! code ELIFECYCLE
# npm ERR! errno 1
# npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`
# npm ERR! Exit status 1
# npm ERR!
# npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script.
# npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
sudo apt-get -y install phantomjs

# from SSH OK
$ env QT_QPA_PLATFORM=offscreen phantomjs -v
2.1.1

# from SSH OK
$ export QT_QPA_PLATFORM=offscreen
$ phantomjs -v
2.1.1

# from SSH NG
$ phantomjs -v
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

# from X-Window OK
$ phantomjs -v
qt5ct: using qt5ct plugin
2.1.1

# Building
# npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script .
sudo apt-get -y install phantomjs
export QT_QPA_PLATFORM=offscreen
phantomjs  -v
# 2.1.1

# npm install
# npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm install -f
# added 7 packages from 27 contributors and audited 1992 packages in 306.115s
# found 164 vulnerabilities (56 low, 22 moderate, 83 high, 3 critical)
#   run `npm audit fix` to fix them, or `npm audit` for details

# Link the module
npm link
# > @devicefarmer/stf@3.6.1 prepublish /home/pi/stf
# > bower install && not-in-install && gulp build || in-install


● DeviceFarmerを起動する方法
cd
cd stf
rethinkdb &
# stf local
stf local --public-ip {ラズパイの IPアドレス}


● Webブラウザから DeviceFarmerにアクセスする
http://{ラズパイの IPアドレス}:7100

・Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!
Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!


Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!



・Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!
Raspberry Pi 4で Androidアプリのデバグに便利な Android 11にも対応の DeviceFarmerを動かす!



# Installation
npm install -g @devicefarmer/stf

...

../node_modules/nan/nan_object_wrap.h:66:61:   required from here
/home/pi/.cache/node-gyp/8.17.0/include/node/v8.h:9313:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
  SOLINK_MODULE(target) Release/obj.target/zmq.node
  COPY Release/zmq.node
make: Leaving directory '/home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/zmq/build'

> core-js@2.6.12 postinstall /home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> aws-sdk@2.964.0 postinstall /home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/aws-sdk
> node scripts/check-node-version.js

The AWS SDK for JavaScript (v2) will no longer support Node.js v8.17.0
as of November 1, 2021. To continue receiving updates to AWS services
and bug fixes please upgrade to Node.js 10.x or later.

More information can be found at: https://a.co/cf10B3y
+ @devicefarmer/stf@3.6.1
added 749 packages from 832 contributors in 854.413s

npm ERR! path /usr/local/lib
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR!  { [Error: EACCES: permission denied, access '/usr/local/lib']
npm ERR!   stack:
npm ERR!    'Error: EACCES: permission denied, access \'/usr/local/lib\'',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

# ERR! OMG CMake executable is not found.
#  Please use your system's package manager to install it,
#   or you can get installers from there: http://cmake.org.
sudo apt install -y cmake
cmake --version
# cmake version 3.16.3

> zmq@2.15.3 install /home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/zmq
> node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/zmq/build'
  CXX(target) Release/obj.target/zmq/binding.o
../binding.cc:28:10: fatal error: zmq.h: No such file or directory
 #include <zmq.h>
          ^~~~~~~
compilation terminated.
make: *** [zmq.target.mk:99: Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory '/home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/zmq/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 5.10.17-v7l+
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 /home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/zmq
gyp ERR! node -v v8.17.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zmq@2.15.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zmq@2.15.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2021-08-07T11_58_28_192Z-debug.log

Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry

How Do I Opt-Out ?
npx next telemetry disable

$ npx next telemetry disable
npx: installed 268 in 21.097s
The module 'react' was not found. Next.js requires that you include it in 'dependencies' of your 'package.json'. To add it, run 'npm install react'
The module 'react-dom' was not found. Next.js requires that you include it in 'dependencies' of your 'package.json'. To add it, run 'npm install react-dom'
Cannot find module 'react'
Require stack:
- /home/jetson/.npm/_npx/11612/lib/node_modules/next/dist/bin/next

$ npx next telemetry disable
Your preference has been saved.

Status: Disabled

You have opted-out of Next.js' anonymous telemetry program.
No data will be collected from your machine.
Learn more: https://nextjs.org/telemetry

Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(GetCurrentContext(), key, value, attribs);
               ^~~~~~~~

gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.10.17-v7l+
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/bufferutil
gyp ERR! node -v v10.24.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN ws@7.4.6 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.6 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.6 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.6 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bufferutil@1.3.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bufferutil@1.3.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm install -g npm

npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

pi@raspberrypi:~/stf $ npm install -g npm@6.14.4
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN notice [SECURITY] npm has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=npm&version=6.14.4 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
/home/pi/.npm-global/bin/npm -> /home/pi/.npm-global/lib/node_modules/npm/bin/npm-cli.js
/home/pi/.npm-global/bin/npx -> /home/pi/.npm-global/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.14.4
added 241 packages from 71 contributors, removed 65 packages and updated 105 packages in 195.602s

https://www.npmjs.com/package/nan

# Node sqlite node-gyp build error: no member named 'ForceSet' in 'v8::Object'
/home/pi/.npm-global/bin/npm install -g nan@2.14.0
+ nan@2.14.0
updated 1 package in 1.138s

gyp ERR! System Linux 5.10.17-v7l+
gyp ERR! command "/usr/bin/node" "/home/pi/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/node_modules/bufferutil
gyp ERR! node -v v10.24.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

https://github.com/DeviceFarmer/stf/issues/65
npm install command failling #65

https://github.com/DeviceFarmer/stf/issues/43
error: no matching function for call to ‘v8::Value::Uint32Value() #43

https://github.com/nodejs/nan/issues/763
Node v10 errors: no member named 'ForceSet' in 'v8::Object' #763

https://github.com/websockets/bufferutil/issues/96
3.0.3 broken on Node.js master #96

https://www.npmjs.com/package/node-gyp
https://github.com/nodejs/node-gyp
npm install -g node-gyp
# + node-gyp@8.1.0

  [712] ./res/auth/mock/scripts/signin/signin.pug 2.39 kB {5} [built]
  [713] ./res/auth/mock/scripts/signin/signin-controller.js 1.23 kB {5} [built]
chunk    {6} entry/commons.entry.js (entry/commons.entry.js) 0 bytes [rendered]

ERROR in Node Sass does not yet support your current environment: Linux Unsupported architecture (arm) with Node.js 8.x
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
 @ ./res/web_modules/nine-bootstrap/nine-bootstrap.scss 2:14-133
[15:59:15] Finished 'webpack:build' after 29 s
npm WARN webpack-dev-server@3.11.2 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-dev-middleware@3.7.3 requires a peer of webpack@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

audited 1992 packages in 66.487s

24 packages are looking for funding
  run `npm fund` for details

found 164 vulnerabilities (56 low, 22 moderate, 83 high, 3 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
/home/pi/.npm-global/bin/stf -> /home/pi/.npm-global/lib/node_modules/@devicefarmer/stf/bin/stf
/home/pi/.npm-global/lib/node_modules/@devicefarmer/stf -> /home/pi/stf



Tags: [Raspberry Pi], [電子工作], [セキュリティ]

●関連するコンテンツ(この記事を読んだ人は、次の記事も読んでいます)

【メモリ8GB】Raspberry Pi 4 Model B 8GBを KSYで最安値で購入。ベンチマークレビュー
【メモリ8GB】Raspberry Pi 4 Model B 8GBを KSYで最安値で購入。ベンチマークレビュー

  【技適取得】ラズパイ4B 8GBモデルを入手。従来の Pi3、Pi3B+と速度比較

【Vulkan】Raspberry Pi 4 Model Bで Vulkanドライバをビルドして 3Dグラフィックのデモを動かす
【Vulkan】Raspberry Pi 4 Model Bで Vulkanドライバをビルドして 3Dグラフィックのデモを動かす

  【v3dv】ラズパイ4Bで Vulkan APIを動かす、VK_ICD_FILENAMES broadcom_icd.armv7l.json

Raspberry Pi 4 Model Bに標準搭載の Boot用 EEPROM、ファームウェアのアップデート手順
Raspberry Pi 4 Model Bに標準搭載の Boot用 EEPROM、ファームウェアのアップデート手順

  Raspberry Pi 4 Model Bから新規搭載の Boot用 EEPROMのファームを更新する方法、起動しない場合の復旧方法

NVIDIA Jetson Nano 開発者キットを買ってみた。メモリ容量 4GB LPDDR4 RAM
NVIDIA Jetson Nano 開発者キットを買ってみた。メモリ容量 4GB LPDDR4 RAM

  Jetson Nanoで TensorFlow PyTorch Caffe/Caffe2 Keras MXNet等を GPUパワーで超高速で動かす!

PIP機能付きの 4K対応の 4入力 1出力の HDMIセレクターを買ってみた、HDMI機器が複数有る場合に便利
PIP機能付きの 4K対応の 4入力 1出力の HDMIセレクターを買ってみた、HDMI機器が複数有る場合に便利

  ピクチャ イン ピクチャ機能付き 4K入力対応の 4入力 1出力 HDMI切り換え機 HDSFX0401P

EDID保持機能付きの 4K対応の 4入力 2出力の マトリックス切り替え HDMIセレクター、液晶画面 2台と使用で最強
EDID保持機能付きの 4K対応の 4入力 2出力の マトリックス切り替え HDMIセレクター、液晶画面 2台と使用で最強

  TESmart HMA0402A30 マトリックス切り替えで液晶画面 2台に接続できて更に EDID保持の便利機能付き HDMI切り換え機




[HOME] | [BACK]
リンクフリー(連絡不要、ただしトップページ以外は Web構成の変更で移動する場合があります)
Copyright (c) 2021 FREE WING,Y.Sakamoto
Powered by 猫屋敷工房 & HTML Generator

http://www.neko.ne.jp/~freewing/raspberry_pi/raspberry_pi_devicefarmer_openstf_stf/