AlexTorresDev / custom-electron-titlebar

Custom electon title bar inpire on VS Code title bar
MIT License
868 stars 149 forks source link

Production cannot find module `custom-electron-titlebar/main` #202

Closed BryanYin closed 1 year ago

BryanYin commented 1 year ago

Describe the bug I'm using latest version 4.1.3 and get below exception when running in release mode. Dev and debug mode does not have such issue.

image

Desktop (please complete the following information):

pankaj2k9 commented 1 year ago

I am getting the same issue. Is that solved?

AlexTorresDev commented 1 year ago

Describe the bug I'm using latest version 4.1.3 and get below exception when running in release mode. Dev and debug mode does not have such issue.

image

Desktop (please complete the following information):

  • OS: MacOS Ventura and Windows
  • Electron version 21.1.1
  • Node Version v16.18.1

Are you using electron-builder to build project?

BryanYin commented 1 year ago

Hi, I was using https://github.com/maximegris/angular-electron as project template.

The issue was resolved by adding custom-electron-titlebar to app/package.json.

AlexTorresDev commented 1 year ago

Fixed on last version