Electron not supported
Open
Nobody has claimed this yet.
feat
- Dominant language
- JavaScript
- Stars
- 3.7k
- Forks
- 370
- PR merge metrics
- No merged PRs in 30d
Description
I want to use the latest version of source-map. However, when requiring it, it doesn't initialize correctly. The problem is that the check for the environment being a browser is the availability of the fetch function. However, in Electron fetch is available but Node.JS is also available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce requiring the latest source-map from an Electron environment, then trace the initialization path and its browser check based on fetch availability. Confirm how Node.js presence is detected in Electron; done means source-map initializes correctly there without treating Electron as a browser.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100