Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron 2.0? Doesn't seem to work. #84

Closed
Nantris opened this issue Jun 18, 2018 · 4 comments
Closed

Electron 2.0? Doesn't seem to work. #84

Nantris opened this issue Jun 18, 2018 · 4 comments

Comments

@Nantris
Copy link

Nantris commented Jun 18, 2018

The path option in Electron 2.0.x seems to return: TypeError: Path must be a string. Received undefined

@Nantris
Copy link
Author

Nantris commented Jun 18, 2018

Specifically this error is coming from the isEnabled function on Windows. I have tried everything under the sun today to get this working... Any ideas would be greatly appreciated.

@Nantris
Copy link
Author

Nantris commented Jun 18, 2018

[16:27:29.911] TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.join (path.js:501:7)
    at g (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:346:321590)
    at v.set (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:346:325593)
    at e.exports.enable (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:346:328314)
    at new Promise (<anonymous>)
    at Object.enable (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:346:328008)
    at e.exports.e.enable (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:346:329793)
    at e.i [as enable] (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:346:328775)
    at setAutoLaunch (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:346:331162)
    at t.value (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:451:246586)
    at lo (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:459:55778)
    at Do (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:459:65094)
    at fa (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:459:77144)
    at ha (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:459:77452)
    at Xa (file:///C:/Users/user/AppData/Local/Programs/myApp/resources/app.asar/dist/renderer.prod.js:459:81001)

@Nantris
Copy link
Author

Nantris commented Jun 19, 2018

This might be due to this issue with the Node path module. nodejs/node#21392

@Oxalin
Copy link
Collaborator

Oxalin commented Mar 19, 2024

Closing. If this is still an issue with latest code and electron, let us know.

@Oxalin Oxalin closed this as completed Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants