Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Is this project still supported? #56

Open
assmabenmussa opened this issue Nov 12, 2020 · 10 comments
Open

Is this project still supported? #56

assmabenmussa opened this issue Nov 12, 2020 · 10 comments

Comments

@assmabenmussa
Copy link

Hey, so I downloaded this library in hopes of it helping me with connecting my Angular project to Electron.js using the ipcRenderer, and I got this message:

   ERROR in node_modules/ngx-electron/public_api.d.ts:3:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved 
to an NgModule class.
    
    This likely means that the library (ngx-electron) which declares NgxElectronModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, 
and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

I'm using Angular 10

@bampakoa
Copy link

@assmabenmussa can you share some more details such as the Electron version that you are using and the way that you are trying to use ipcRenderer? I am currently using the library in Angular 10 with no issues.

@sarahtully
Copy link

I had this happen to me vs code imported the wrong path. Double check the import, should be import { ElectronService } from 'ngx-electron'; and not import { ElectronService } from 'ngx-electron/public_api.ts';

@luisalejandrofigueredo
Copy link

I try update to the latest version of electron and have error is posible continue with the project

Error: node_modules/ngx-electron/lib/electron.service.d.ts:17:31 - error TS2694: Namespace 'Electron' has no exported member 'Remote'.

17 readonly remote: Electron.Remote;

@sean-oneill
Copy link

@luisalejandrofigueredo it looks like remote module was deprecated and replaced with @electron/remote in electron 12.0.0. https://www.electronjs.org/releases/stable?page=12

Downgrading to electron 11.5.0 should get around that issue until this project is updated to account for the remote module being removed.

@pkcinna01
Copy link

Electron 11.5.0 is very old and there have been no changes in this project for over 3 years so looks like the answer is the project is no longer supported. Unfortunately, this is a growing pattern in the angular community.

@stewones
Copy link

stewones commented Oct 5, 2022

@pkcinna01 it has absolutely nothing to do with the angular community. this is called open source software, if something isn't working for you, just fork and contribute.

@ThorstenHans
Copy link
Owner

See #92

@Kelele-m3
Copy link

Hey, so I downloaded this library in hopes of it helping me with connecting my Angular project to Electron.js using the ipcRenderer, and I got this message:

   ERROR in node_modules/ngx-electron/public_api.d.ts:3:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved 
to an NgModule class.
    
    This likely means that the library (ngx-electron) which declares NgxElectronModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, 
and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

I'm using Angular 10

I am using angular 16, & it is not working for me also. facing the same issue

@kulkarni-sachin
Copy link

Hey @Kelele-m3 did you get any resolution?

@bampakoa
Copy link

Hello all 👋

As a user of this library, I have taken the initiative to create a new library for going this amazing effort further which is called ngx-electronify. Ngx-electronify provides you with a complete Electron integration consisting of:

  • A builder for running your Angular CLI project directly inside Electron with Angular DevTools attached.
  • ngx-electronyzer: A clone library of ngx-electron upgraded to the latest Angular version.

This project is heavily inspired by the work that Thorsten has put into ngx-electron. The only difference is that it does not expose the remote module, yet. I plan to add more features shortly so I would appreciate any feedback that you may have.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants