Thursday, 1 June 2017

How to use electron from an Aurelia application

I'm trying to use aurelia with electron. I have cloned the "es next skeleton" https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-esnext and I've followed the steps to build the app with electron. Everything works fine. The problem is that, when I try to import electron from an aurelia javascript file , for example :

import {electron} from 'electron';

the following console error appear Error: (SystemJS) fs.existsSync is not a function TypeError: fs.existsSync is not a function.



via frankenstein

No comments:

Post a Comment