imba / imba/imba-electron-template

Seeing errors when trying to use this template

Open
#1 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Below is the output from console

```
VM153 renderer_init.js:93 Unable to load preload script: /Users/scanf/src/tmp/imba-electron-template/dist/public/__assets__/app/preload.js
(anonymous) @ VM153 renderer_init.js:93
VM153 renderer_init.js:93 Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (VM76 preload.js:7225)
at VM76 preload.js:7228
at VM76 preload.js:12
at Object. (VM76 preload.js:8866)
at Object. (VM76 preload.js:8892)
at Module._compile (VM121 loader.js:1078)
at Object.Module._extensions..js (VM121 loader.js:1108)
at Module.load (VM121 loader.js:935)
at Module._load (VM121 loader.js:776)
at Function.f._load (VM148 asar_bundle.js:5)
(anonymous) @ VM153 renderer_init.js:93
__hmr__.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
__hmr__.js:1
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported preload.js failure at dist/public/__assets__/app/preload.js and the Electron installation error referencing node_modules/electron. Reproduce the template setup and determine whether the preload resource and Electron installation complete successfully; done means the reported console errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.