Nxjs not working in Windows Pacakged app


I have a rather simple angular app that makes some api calls and uses rxjs. When I run the app locally, everything runs fine, when I package the app and run it on windows, I get this error:

Any help would be awesome. I’ve tried unpacking rxjs with now luck. I’ve added import statements to each component that uses rxjs, ie import ‘rxjs/add/operator/map’; with now luck.

I’m kind of stuck. Haven’t found anything on the interwebs, including stack or electrons github.


Not sure what happened, but after deleting the node_modules folder and reinstalling, it’s working.