Windows で `yarn run electron:serve` 起動してもアプリケーションがフリーズ状態
Opened this issue · 2 comments
motoyasu-yamada commented
plusone-masaki commented
Node.js の v16.13.2 と v12.22.4 で動作確認しましたが再現せず・・・
chunk-vendors.js でエラーが起きてるようなので、一度 node_modules ディレクトリを削除して再度下記コマンドをお試しいただけますでしょうか。
$ yarn
$ yarn run electron:serve
motoyasu-yamada commented
c:\workspace\csv-plus>node -v
v16.14.0
c:\workspace\csv-plus>rmdir /Q /S node_modules
c:\workspace\csv-plus>yarn
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @vue/cli-plugin-eslint@4.5.9" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
warning "@vue/cli-plugin-eslint > eslint-loader@2.2.1" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
warning "@vue/cli-plugin-unit-jest > vue-jest@3.0.7" has incorrect peer dependency "vue@^2.x".
warning "@vue/cli-plugin-unit-jest > vue-jest@3.0.7" has unmet peer dependency "vue-template-compiler@^2.x".
warning " > @vue/compiler-sfc@3.0.5" has incorrect peer dependency "vue@3.0.5".
warning "@vue/eslint-config-standard > eslint-import-resolver-webpack@0.13.2" has unmet peer dependency "webpack@>=1.11.0".
warning " > @vue/eslint-config-typescript@10.0.0" has incorrect peer dependency "eslint-plugin-vue@^8.0.1".
warning " > sass-loader@10.2.0" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
warning " > vue-jest@5.0.0-alpha.7" has unmet peer dependency "@babel/core@7.x".
warning " > vue-jest@5.0.0-alpha.7" has unmet peer dependency "babel-jest@>= 24 < 27".
warning " > vue-jest@5.0.0-alpha.7" has unmet peer dependency "jest@>= 24 < 27 ".
warning "vue-jest > ts-jest@24.3.0" has unmet peer dependency "jest@>=24 <25".
[4/4] Building fresh packages...
$ electron-builder install-app-deps
• electron-builder version=22.9.1
Done in 56.19s.
失敗
c:\workspace\csv-plus>yarn run electron:serve
yarn run v1.22.17
$ vue-cli-service electron:serve
INFO Starting development server...
40% building 25/33 modules 8 active c:\workspace\csv-plus\node_modules\querystring-es3\index.jsBrowserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
98% after emitting CopyPlugin
DONE Compiled successfully in 14331ms 10:00:56
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.1.24:8080/
Note that the development build is not optimized.
To create a production build, run yarn build.
- Bundling main process...No issues found.
| Bundling main process...
DONE Compiled successfully in 2599ms 10:00:59
File Size Gzipped
dist\index.js 1586.61 KiB 430.57 KiB
Images and other types of assets omitted.
DONE Compiled successfully in 76ms 10:00:59
File Size Gzipped
dist\preloadApp.js 12.72 KiB 2.35 KiB
Images and other types of assets omitted.
INFO Launching Electron...
Done in 60.69s.
@plusone-masaki さん、もうちょい後々調べます。個人メモ(すみません)ですので、お気になさらず。