question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Help] Issue with porting an existing app over

See original GitHub issue

Describe the problem you Confuse

Hey there, I’m currently trying to port an existing application over to this template and running into an issue where the content won’t load.

[plugin:vite:import-analysis] Failed to resolve import "${moduleName}" from "node_modules/@electron/remote/dist/src/main/server.js?v=b01c5d3c". Does the file exist?
/home/stan/projects/personal/WeakAurasCompanion/node_modules/@electron/remote/dist/src/main/server.js:11:45
9  |  import * as __require_for_vite_LxV6Rj from "../common/get-electron-binding";
10 |  import * as __require_for_vite_gQPFem from "@electron/remote/main";
11 |  import * as __require_for_vite_GEtNgH from "${moduleName}";
   |                                              ^
12 |  import * as __require_for_vite_lMpJfA from "${moduleName}";
13 |  import * as __require_for_vite_lJsWyZ from "electron";
    at formatError (/home/stan/projects/personal/WeakAurasCompanion/node_modules/vite/dist/node/chunks/dep-8f5c9290.js:39055:46)
    at TransformContext.error (/home/stan/projects/personal/WeakAurasCompanion/node_modules/vite/dist/node/chunks/dep-8f5c9290.js:39051:19)
    at normalizeUrl (/home/stan/projects/personal/WeakAurasCompanion/node_modules/vite/dist/node/chunks/dep-8f5c9290.js:58329:26)
    at async TransformContext.transform (/home/stan/projects/personal/WeakAurasCompanion/node_modules/vite/dist/node/chunks/dep-8f5c9290.js:58478:57)
    at async Object.transform (/home/stan/projects/personal/WeakAurasCompanion/node_modules/vite/dist/node/chunks/dep-8f5c9290.js:39292:30)
    at async doTransform (/home/stan/projects/personal/WeakAurasCompanion/node_modules/vite/dist/node/chunks/dep-8f5c9290.js:50012:29

The code is in this branch here https://github.com/WeakAuras/WeakAuras-Companion/tree/v5

Any hint or help would be appreciated 😃

More detail (optional)

Add any other context or screenshots.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
Stanzillacommented, Jun 14, 2022

@caoxiemeihao Hey there, I figured it out! It’s image requires that cause this, example:

<img :src="require(`@/assets/social-icons/wago.svg`)" class="logo" title="Wago" />
1reaction
Stanzillacommented, Jun 12, 2022

@Stanzilla ha-ha! I saw that you are the author of cmder and I am the user of cmder. cmder is awesome. 🎉

Hah thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to Do When Your Service Provider Won't Port ... - Talkroute
Contact the porting agent at your new provider.​​ If you are porting your number to a different provider, you may not be so...
Read more >
Common issues and questions for porting - Zoom Support
When requesting to port your phone numbers, you may come across these common porting issues. Read this article for common porting issues...
Read more >
Porting Existing ASP.NET Apps to .NET 6 - Microsoft Learn
A free guide to converting ASP.NET MVC and Web API apps to ASP.NET Core 6.
Read more >
When is it time to port an old application to new platform?
Finding skills for an old programming language becomes harder and more expensive · Support from the platform vendor ends at some point ...
Read more >
Fix errors porting numbers to Voice - Google Help
Then, cancel and restart the port order. This error can also be caused by these less common issues: Unstable internet connection; Duplicate requests...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found