Version of Node when packaging: 8.9.1
Version of Node in Electron: 8.9.3
Platform: Windows 7 Professional, x64
Subsystem: path.js
Context: Packaged Electron 2.0.2 Application
I will continue building out this report as I investigate.
On the surface, it appears that this setup where each argument to path.join is defined results in argument[0] undefined if I step into path. I've been trying to debug this all day and finally am at the point where I believe this could be a Node related bug.
Call to path.join from NPM package

Literally as soon as you step into path.js you find that argument[0] does not contain C:\Windows\ as you would expect, but instead it is undefined.

This leads to a failure at assertPath almost immediately.

I am going to upgrade NodeJS to 8.11.3 and repackage, and see what the outcome is.
Version of Node when packaging:
8.9.1Version of Node in Electron:
8.9.3Platform: Windows 7 Professional, x64
Subsystem:
path.jsContext:
Packaged Electron 2.0.2 ApplicationI will continue building out this report as I investigate.
On the surface, it appears that this setup where each argument to
path.joinis defined results in argument[0] undefined if I step intopath. I've been trying to debug this all day and finally am at the point where I believe this could be a Node related bug.Call to

path.joinfrom NPM packageLiterally as soon as you step into
path.jsyou find that argument[0] does not containC:\Windows\as you would expect, but instead it is undefined.This leads to a failure at

assertPathalmost immediately.I am going to upgrade NodeJS to
8.11.3and repackage, and see what the outcome is.