-
Notifications
You must be signed in to change notification settings - Fork 33
node binding is loaded into the electron browser #54
Comments
Specifically this error is thrown
|
@guybedford can get around with
But then hit an issue with process not being defined |
Is the process error in this file - https://github.com/jspm/nodelibs-process/blob/master/process-node.js? |
What version of Node are you using? |
|
which is strange, because when I evaluate window.process i get an object back |
v6.3.0 however I think issue is on v5 as well, let me check |
Yep, same issue on v5.2.0 |
You can also check the value of |
|
I hope this isn't my setup. I took an existing JSPM 17 app, and just put it in electron. Checked it and it works outside of electron via the same port |
@alexisvincent I just ran the electron quickstart app and then did |
When spawning an electron window, systemjs-babel-node.js is loaded instead of systemjs-babel-browser.js. Think this is because the environment is being detected as node instead of browser.
The text was updated successfully, but these errors were encountered: