DEV Community

Discussion on: Creating a text editor in Electron: part 1 - Reading files

Collapse
 
joey_is_taken profile image
Joey

With my index.js file, It has the require() module which is node, how can my electron app run it as node? I keep getting console errors saying 'require is not defined'. Help!