stealjs / steal

Gets JavaScript
https://stealjs.com
MIT License
1.36k stars 522 forks source link

Unable to fetch npm module when running in electron #1451

Closed matthewp closed 6 years ago

matthewp commented 6 years ago

This check is false in Electron: https://github.com/stealjs/steal/blob/0112ad62c12a2e161f7cf07a0ba84d8eb07f2c8a/ext/npm-extension.js#L10

This then calls this to fail: https://github.com/stealjs/steal/blob/0112ad62c12a2e161f7cf07a0ba84d8eb07f2c8a/ext/npm-extension.js#L304