【Arudine】low.jsの続き

スイッチサイエンスでチップを買って、専用基板に半田付けしたけど、見た目感じ失敗したっぽいので放置してましたが、アマゾンで基板付きのESP32-WROVER-Bを見つけたのが届いたので試してみた。

チップIDや基板の情報は取得できたものの、low.jsのインストール時に脆弱性問題でパッケージがちゃんとインストールできない。

E:\low.js>npm install lowsync
npm WARN deprecated babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
> @serialport/bindings@2.0.8 install {Z}:\low.js\node_modules\@serialport\bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
> core-js@2.6.9 postinstall {Z}:\low.js\node_modules\core-js
> node scripts/postinstall || echo "ignore"
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 -)
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN ts-transformer-keys@0.3.0 requires a peer of typescript@^2.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN low@1.0.0 No description
npm WARN low@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ lowsync@1.0.24
added 532 packages from 377 contributors and audited 6002 packages in 54.621s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
E:\low.js>

cd node_mpdules\.bin
lowsync flash com{n} — init ※{n}は環境依存

*** Step 1/3: Probing ESP32 microcontroller
now checking if it is an ESP32-WROVER… (takes a while)
AssignProcessToJobObject: (87) パラメーターが間違っています。

どうもおかしい。

よくよくエラーを眺めてみると

Windowsはちょっと不味い的な内容だった。

MacかLinuxに繋いで遊ぶしかないようだ。




コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA