MarshallOfSound / MarshallOfSound/react-electron-web-view

I can't build app in react

Open
#8 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
64
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hello! I am working in an app with electron but I can't compile the solution.

Creating an optimized production build...
Failed to compile.

static/js/main.6e3bfab7.js from UglifyJs
SyntaxError: Unexpected token: name (ElectronWebView) [./~/react-electron-web-view/lib/ElectronWebView.js:21392,0]

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 by reproducing the optimized production build and inspect the UglifyJs error reported for static/js/main.6e3bfab7.js. Read react-electron-web-view/lib/ElectronWebView.js around the reported line 21392 and determine what causes the ElectronWebView syntax failure. Done means the production build no longer fails at that location.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, react
Domain
build-system, 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.