marcopiraccini / marcopiraccini/electron-usb
How to integrate this with Angular 6?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 37
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
I would like to use this in my Angular 6 service provider, but not sure how. I tried to include it in several ways but none of them seem to be working.
I tried:
1. ``` this.usb = this.electronService.remote.require('electron-usb'); ```
2. ``` * as usb from 'electron-usb'; ```
3. ``` this.usb = require('electron-usb')```
Ofcourse I have installed the npm electron usb package by ``` nmp install usb``` but I still get the error:
```Error: Cannot find module 'electron-usb'```
Contributor guide
No contributing guide indexed for this repository
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
The report identifies Angular 6, electronService.remote.require, and the electron-usb/usb package, but names no repository file or test. Start by reproducing the “Cannot find module” error and checking the package and import path used by the Angular service provider. Done means establishing and verifying a supported integration path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, electron, node.js
- Domain
- desktop, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100