apache / apache/cordova-electron

Failed to load resource: net::ERR_FILE_NOT_FOUND

Open
#104 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
135
Forks
60
Avg merge
1d 6h
Merged PRs (30d)
5

Description

# Bug Report
Using the Framework7 CLI to run "framework7 cordova build electron" from the command line, it successfully creates the EXE however it fails to load.

## Problem
There is a broken link where the logo would be and instead the web inspector appears and the following error is in the console: Failed to load resource: net::ERR_FILE_NOT_FOUND logo1.png

### What is expected to happen?
The EXE to load without any errors.

### What does actually happen?
Error as described above

## Information
This is my first Electron application that was created via the Framework7 CLI. This is the out of the box sample that I am trying with.

### Command or Code
framework7 create --ui
framework7 cordova build electron

### Environment, Platform, Device
PC - Windows 10 64 Bit

### Version information
Cordova: 9.0.0 (cordova-lib@9.0.1)
Other Frameworks: Framework7 3.0.5
Windows 10 64 Bit

## Checklist
- [X] I searched for existing GitHub issues
- [X] I updated all Cordova tooling to most recent version
- [X] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with `framework7 create --ui` followed by `framework7 cordova build electron` on the generated sample. Inspect how the Electron EXE packages and resolves `logo1.png`; done means the EXE loads without the broken logo link, web inspector, or `net::ERR_FILE_NOT_FOUND` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
build-system, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.