Home > front end >  Electron packaging problems
Electron packaging problems

Time:12-10

In a recent study Electron, encounter a problem, is to use "Electron - packager." command packaging error can't find the Electron, because is just learning, are also in accordance with the process of website, in node_modules Electron also can open the window, but has been can't find the package when module, what reason is this excuse me ah!

CodePudding user response:

Direct execution electron - packager. NPM to find global electron

You put the electron - packager. Write package. Json scripts in line, such as:

"Pack" : "electron - packager
"
NPM run pack
  • Related