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) パラメーターが間違っています。
# vagrant plugin install vagrant-proxyconf Installing the ‘vagrant-proxyconf’ plugin. This can take a few minutes… Fetching: vagrant-proxyconf-2.0.1.gem (100%) Installed the plugin ‘vagrant-proxyconf (2.0.1)’!
# vagrant plugin list vagrant-proxyconf (2.0.1, global)
1. Flash/install low.js on your board Step 1.1: Install Node.JS on your PC なぜかインストしていなかったので、node-v10.15.3-x64.msiをインストした。
Step 1.2: Install lowsync via npm on your PC >npm install -g lowsync でOK。
Step 1.3: Connect microcontroller to PC via USB 前回に2102のドライバをインストしたので、ただ繋ぐだけ、しかしデバイスマネージャでCOMの何番目なのか?ドライバちゃんと入ってる?ことを確認すること。今回はCOM8
Step 1.4: Flash low.js ではlow.jsを入れますね。 >C:\Users\[USER-NAME]> lowsync flash com8 –init Requested Python version () is not installed.
*** esptool cannot be used. Please check if you have Python installed. If yes, please check if you have pyserial installed (if not try ‘pip install pyserial’)
Python前提か! python-3.7.2-amd64.exeをインスト。
>C:\Users\[USER-NAME]> lowsync flash com8 –init しかし、何か.py で serial モジュールが見つからないと出る
しかたがないので、 > pip install esptool
>C:\Users\[USER-NAME]> lowsync flash com8 –init *** Step 1/3: Probing ESP32 microcontroller now checking if it is an ESP32-WROVER… (takes a while) An error has occured: ESP32 is not an ESP32-WROVER or at least does not have required 4 MB PSRAM! Please check: https://www.lowjs.org/supported-hardware.html
無茶苦茶ハイスペックじゃないかコレ?????????????? でも、 On Aliexpress you can find various boards based on the ESP32-WROVER for $10. とかサラっと宣伝入ってる中に入って商品検索すると、 US $7 ~8とお安い。
ビルドオプションが変更されました。全体をリビルドしています。 exec: “C:\Users\[YOUR_USER_NAME ]\Documents\Arduino\hardware\espressif\esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++”: file does not exist ボードESP32 Dev Moduleに対するコンパイル時にエラーが発生しました。
Microsoft Windows [Version 10.0.17763.348]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\[USER_NAME]>cd C:\Users\[YOUR_USER_NAME]\Documents\Arduino\hardware\espressif\esp32\tools
C:\Users\[USER_NAME]\Documents\Arduino\hardware\espressif\esp32\tools>get
System: Windows, Info: Windows-10-10.0.17763
Platform: i686-mingw32
Downloading xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip
Traceback (most recent call last):
File "get.py", line 139, in <module>
sys_name = 'Windows'
File "get.py", line 90, in get_tool
sys.stdout.flush()
IOError: [Errno 13] Permission denied: u'C:\\Users\\[USER_NAME]\\Documents\\Arduino\\hardware\\espressif\\esp32\\tools/dist/xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip'
Failed to execute script get