Closed Leonardonline closed 7 years ago
It looks like the issue is in the release.
Please remember that when you build your project (when you package it) all the packages that you have in your package.json in "dependencies" will be served, while those that you have manually installed using npm install
Can you please post your package.json and the packages you are using? the issue is likely there.
It's the same as in this repo, I didn't install any package. I just removed the component about this bug
Did you just remove the md-slide-toggle and ran package? I did the same and it's working perfectly in my case (MacOSx sierra) (and in windows aswell).
Mind if I ask you to tell whether you have added / you are using some other modules other than the ones in the examples?
Hello all,
Sorry was off a long time on vacations but will take a look into this issue. thanks for all the feedback here, will try to get a solution today
Hello,
So, Sorry this was my bad. But was actually a simple one. The problem is I was importing the
MdSlideToggle
(directive)
as if it was a module, but what should be imported is :
MdSlideToggleModule
The fix is here : https://github.com/joaogarin/angular-electron/commit/58c90ab9a4b3df44423ea9fed96e977b722a0dfc
Thanks for the feedback I will close it now;)
I'm so sorry, but I had the same error.
I get this error running the EXE file of the app.
Instead running npm run electron
command everythings work fine, also the md-slider.
Running
npm run electron
works well but packaging and launching gave this error: I get this error on window and mac (not tried Linux).