Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

yarn run dev causes a blank page #1124

Open
wkzqn opened this issue May 8, 2022 · 2 comments
Open

yarn run dev causes a blank page #1124

wkzqn opened this issue May 8, 2022 · 2 comments

Comments

@wkzqn
Copy link

wkzqn commented May 8, 2022

image

This is the startup log:
E:\Projects\VsProjects\ftt-client>yarn run dev
yarn run v1.19.2
warning package.json: No license field
$ node .electron-vue/dev-runner.js
___ __
__ /_ \ __ ___ /\ __ _ __ ___ ___ __ __ __ __ __
/ ,.\ \//\ \ / ,.\ /'\ \ \ ,\ /` __\ / __\ /' _ \ _______ /\ /\ /\ /\ \ / ,.`
/\ __/ _\ _ /\ __/ /\ _
/ \ \ / \ \ / /\ _\ /\ /\ \ /_
\ \ / |\ \ _\ /\ /
\ _
\ /_
\ _\ _\ \ \ _ \ _\ \ _/\ _\ _\// \ _/ \ _/\ _
/
/ // // // \ _\ // // //// // // /___/
/__/
getting ready...

┏ Main Process ---------------

compiling...

┗ ----------------------------

i 「wds」: Project is running at http://localhost:9080/
i 「wds」: webpack output is served from undefined
i 「wds」: Content not from webpack is served from E:\Projects\VsProjects\ftt-client
┏ Renderer Process -----------

Hash: fc0c95a2300e8b544e24
Version: webpack 4.46.0
Time: 1969ms
Built at: 2022-05-09 0:23:38
Asset Size Chunks Chunk Names
imgs/logo--assets.png 60.4 KiB [emitted]
index.html 420 bytes [emitted]
renderer.js 1.97 MiB renderer [emitted] renderer
Entrypoint renderer = renderer.js
[1] multi (webpack)-dev-server/client?http://localhost (webpack)/hot/dev-server.js ./.electron-vue/dev-client ./src/renderer/main.js 64 bytes {renderer} [built]
[./.electron-vue/dev-client.js] 731 bytes {renderer} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {renderer} [built]
[./node_modules/vue/dist/vue.esm.js] 320 KiB {renderer} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost] (webpack)-dev-server/client?http://localhost 4.29 KiB {renderer} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.52 KiB {renderer} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {renderer} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {renderer} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {renderer} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {renderer} [built]
[./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {renderer} [built]
[./node_modules/webpack-hot-middleware/client.js?noInfo=true&reload=true] (webpack)-hot-middleware/client.js?noInfo=true&reload=true 7.69 KiB {renderer} [built]
[./node_modules/webpack/hot sync ^./log$] (webpack)/hot sync nonrecursive ^./log$ 170 bytes {renderer} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {renderer} [built]
[./src/renderer/main.js] 382 bytes {renderer} [built]
+ 70 hidden modules
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 1.37 MiB 0
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./src/index.ejs] 1.15 KiB {0} [built]
[./node_modules/lodash/lodash.js] 531 KiB {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]

┗ ----------------------------

┏ Main Process ---------------

Hash: d7dd511f72fcf6c761ba
Version: webpack 4.46.0
Time: 2369ms
Built at: 2022-05-09 0:23:39
Asset Size Chunks Chunk Names
main.js 227 KiB main [emitted] main
Entrypoint main = main.js
[0] multi ./src/main/index.dev.js ./src/main/index.js 40 bytes {main} [built]
[./node_modules/electron-debug sync recursive] ./node_modules/electron-debug sync 160 bytes {main} [built]
[./node_modules/electron-debug/index.js] 2.46 KiB {main} [built]
[./node_modules/electron-devtools-installer/dist/downloadChromeExtension.js] 2.26 KiB {main} [built]
[./node_modules/electron-devtools-installer/dist/index.js] 5.02 KiB {main} [built]
[./node_modules/electron-devtools-installer/dist/utils.js] 1.88 KiB {main} [built]
[./node_modules/electron-is-dev/index.js] 256 bytes {main} [built]
[./node_modules/electron-localshortcut/index.js] 8.78 KiB {main} [built]
[./node_modules/semver/semver.js] 37.9 KiB {main} [built]
[./src/main/index.dev.js] 364 bytes {main} [built]
[./src/main/index.js] 814 bytes {main} [built]
[./src/renderer/store/index.js] 342 bytes {main} [built]
[./src/renderer/store/modules/index.js] 238 bytes {main} [built]
[electron] external "electron" 42 bytes {main} [built]
[fs] external "fs" 42 bytes {main} [built]
+ 42 hidden modules

WARNING in ./node_modules/electron-debug/index.js 81:45-58
Critical dependency: the request of a dependency is an expression
@ ./src/main/index.dev.js
@ multi ./src/main/index.dev.js ./src/main/index.js

WARNING in ./node_modules/electron-debug/index.js 84:85-106
Critical dependency: the request of a dependency is an expression
@ ./src/main/index.dev.js
@ multi ./src/main/index.dev.js ./src/main/index.js

┗ ----------------------------

┏ Electron -------------------

Debugger listening on ws://127.0.0.1:5858/d5c5626d-8122-4a88-8eed-3cef3d019777
For help see https://nodejs.org/en/docs/inspector

┗ ----------------------------

@harimayco
Copy link

same here with npm run dev. any idea how to fix it?

@wkzqn
Copy link
Author

wkzqn commented Nov 1, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants