I have an angular2 application running in electron. I’ve been on this project for about 3 months or so, and am using electron because I need various OS functions, and saw the require(‘os’) built into node, and thought it’d be pretty useful.
Here’s my problem. This is throwing an error when electron starts.
var os = require(“os”);
this is it basically. Nothing complicated.
That is the error. What am I doing wrong?