「Unity/PC画面投影/Electron」の版間の差分
提供: 初心者エンジニアの簡易メモ
行1: | 行1: | ||
(未完成)起動はできてない。 | (未完成)起動はできてない。 | ||
− | == | + | ==quest-rdpのelectron== |
https://qiita.com/ShinYoshiaki/items/897bc3e3f09a2fee335b | https://qiita.com/ShinYoshiaki/items/897bc3e3f09a2fee335b | ||
github(https://github.com/shinyoshiaki/quest-rdp) | github(https://github.com/shinyoshiaki/quest-rdp) | ||
− | ==配信側実行準備== | + | ===配信側実行準備=== |
package.json | package.json | ||
<pre> | <pre> | ||
行30: | 行30: | ||
</pre> | </pre> | ||
− | ==配信側実行== | + | ===配信側実行=== |
<pre> | <pre> | ||
cd electron | cd electron | ||
行39: | 行39: | ||
</pre> | </pre> | ||
− | ===cross-envが見つからないエラー=== | + | ====cross-envが見つからないエラー==== |
エラー詳細 | エラー詳細 | ||
sh: cross-env: command not found | sh: cross-env: command not found |
2023年12月27日 (水) 15:48時点における版
(未完成)起動はできてない。
quest-rdpのelectron
https://qiita.com/ShinYoshiaki/items/897bc3e3f09a2fee335b
github(https://github.com/shinyoshiaki/quest-rdp)
配信側実行準備
package.json
"engines": { "node": "10.16.0" },
以下を実行しnodeバージョンをv10.16.0へ
$ nvm install v10.16.0 $ nvm use v10.16.0 $ node --version v10.16.0
以下を実行しPythonバージョンをv2.7.18へ
$ pyenv install 2.7.18 Installed Python-2.7.18 $ pyenv local 2.7.18 $ python -V Python 2.7.18
配信側実行
cd electron npm install npm install robotjs npm update npm start
cross-envが見つからないエラー
エラー詳細
sh: cross-env: command not found
対応方法
npm install