apache / apache/cordova-electron

Require node addon for c++ native not working Js electron proxy , cordova plugin electron platform , cordova electron@3.0.0

Open
#215 0 comments 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
Require node addon for c++ native not working Js electron proxy
## Problem
when require('addon') module addon not found
when require('./addon') addon is not a module plugin.addon not found
### What is expected to happen?

### What does actually happen?

## Information

### Command or Code

### Environment, Platform, Device

### Version information

## 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

Start by reproducing the reported require('addon') and require('./addon') failures in the cordova-electron Electron platform. The report provides no source file, test, command, environment, or version details, so first gather those details and identify the addon-loading entry point; done means the native addon resolves through the intended JavaScript proxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, electron, javascript, node.js
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.