ORNL-AMO / AMO-Tools-Desktop

AMO-Tools-Desktop is an energy efficiency calculation application for use with industrial equipment such as pumps, furnaces, fans, and motors, as well as for industrial systems such as steam. Currently in beta.
Other
39 stars 21 forks source link

Slow startup Mac and Linux #3262

Closed gaccawi closed 5 years ago

gaccawi commented 5 years ago

When run from command line, am seeing Exception:

Unhandled rejection TypeError: Cannot read property 'info' of null at autoUpdater.checkForUpdates.then (/Applications/MEASUR.app/Contents/Resources/app.asar/main.js:51:85) at runCallback (timers.js:694:18) at tryOnImmediate (timers.js:665:5) at processImmediate (timers.js:647:5) From previous event: at EventEmitter.ipcMain.on (/Applications/MEASUR.app/Contents/Resources/app.asar/main.js:49:37) at EventEmitter.emit (events.js:182:13) at WebContents. (/Applications/MEASUR.app/Contents/Resources/electron.asar/browser/api/web-contents.js:346:13) at WebContents.emit (events.js:182:13)

rmroot commented 5 years ago

Idk about the above error but production builds have been fixed with package updates and code cleanup. Will fix slow startup times. Tested on mac. Need to test linux

rmroot commented 5 years ago

Verified that production builds for linux and mac will work after angular upgrades.

use command npm run ng-high-memory