Answer the question
In order to leave comments, you need to log in
How to properly export a module/library?
Hello!
I want to make an application on Electron. Here is the project structure:
The application calls the index.html file. To which backup.js is connected...
But in dev tools I get the following:
Uncaught ReferenceError: require is not defined at backup.js:1
var win = require("win-service");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question