Build not working for multiple browser windows
See original GitHub issueI seem to have the same problem as in: #102
Describe the bug
When creating an application with more than one window, the build fails with message: Building modern bundle for production...(node:67207) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/.../dist_electron/bundled/legacy-assets-index.html.json'
To Reproduce
Clone https://github.com/utoppo/vue-cli-plugin-electron-builder-build-problem
Try to build with: yarn electron:build
Expected behavior Build/Bundling Process should finish without error.
Environment:
- OS and version: OSX 10.12.6
- node version: v11.0.0
- npm version: 6.4.1
- yarn version : 1.9.4
- vue-cli-plugin-electron-builder version : 1.0.0-rc.10
- electron version: 4.0.0
- custom config for vcp-electron-builder:
- link to repo: https://github.com/utoppo/vue-cli-plugin-electron-builder-build-problem
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Web pages not loading correctly accross different browsers ...
Web pages do not always load properly accross multiple browsers. At first I believed it was only on chrome and edge. Now.
Read more >Expanding Single Page Apps into multiple Browser Windows
This article covers a disruptive new approach on how we can further improve the rendering performance of web based frontends, since we will ......
Read more >Multiple window opening problem - Brave Community
Only one window should open. Reproduces how often: Always. Brave Version: Version 1.19.86 Chromium: 88.0.4324.96 (Official Build) (x86_64).
Read more >Expanding Single Page Apps into multiple Browser Windows
We are just removing a view from a parent view inside one Browser Window and adding it to another view of an App...
Read more >Open multiple windows / instances? #169 - minbrowser/min
To that end, I'd like to have multiple instances open, so I can test apps with different concurrent browser sessions side-by-side, without having...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I fixed the missing legacy-assets-page.html.json bug with 1.1.1, and created a multipage demo app. Let me know if that works for you or if you have more questions.
It doesn’t work in our case! You should replace fileName to filename ! Changing name of option in vue.config.js does not help.
See: https://github.com/nklayman/vue-cli-plugin-electron-builder/commit/bafd557d8b11c2f6de3b600b2cd2fcbc4a6de351#r32880694
Otherwise we get errors and build never finishes: