I just installed a squeaky clean Windows 10 Pro x64 on a new laptop machine and was setting up my dev tools.
I have the same problem; in the log file, it says this for each launch:
{"level":"error","message":"Unhandled promise rejection, reason: The specified module could not be found.\r\n\\\\?\\C:\\Unity\\Hub\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n\tstack Error: The specified module could not be found.\r\n\\\\?\\C:\\Unity\\Hub\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n at process.func [as dlopen] (electron/js2c/asar.js:138:31)\n at Object.Module._extensions..node (internal/modules/cjs/loader.js:881:18)\n at Object.func [as .node] (electron/js2c/asar.js:147:18)\n at Module.load (internal/modules/cjs/loader.js:701:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:633:12)\n at Function.Module._load (internal/modules/cjs/loader.js:625:3)\n at Module.require (internal/modules/cjs/loader.js:739:19)\n at require (internal/modules/cjs/helpers.js:14:16)\n at Object.<anonymous> (C:\\Unity\\Hub\\Unity Hub\\resources\\app.asar\\node_modules\\@unityhub\\unity-editor-license\\license.js:1:15)\n at Module._compile (internal/modules/cjs/loader.js:839:30)","timestamp":"2019-11-28T17:32:16.545Z"}
Things I tried:
different network connections, including no network connection
different Locales (my default Locale is English (Germany), but I tried German (Germany) and English (United States)
running as admin
installing as admin
new download
changing install location
verify system clock is properly synced and time zone correct
reboots
Windows defender exclusion, and turning it all off
turning windows firewall on and off
The Hub seems to spawn 2 tasks and 1 Log Line as quoted above every time I launch it:
I am having the exact same issue as OP. In fact everything he has posted I was going to post, 2 tasks running, etc.
Also, I have two /UnityHub/ directories in /Roaming/. Only one of them has a log file in it.
{"level":"error","message":"Unhandled promise rejection, reason: The specified module could not be found.\r\n\\\\?\\C:\\Program Files\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n\tstack Error: The specified module could not be found.\r\n\\\\?\\C:\\Program Files\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n at process.func [as dlopen] (electron/js2c/asar.js:138:31)\n at Object.Module._extensions..node (internal/modules/cjs/loader.js:881:18)\n at Object.func [as .node] (electron/js2c/asar.js:147:18)\n at Module.load (internal/modules/cjs/loader.js:701:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:633:12)\n at Function.Module._load (internal/modules/cjs/loader.js:625:3)\n at Module.require (internal/modules/cjs/loader.js:739:19)\n at require (internal/modules/cjs/helpers.js:14:16)\n at Object.<anonymous> (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\@unityhub\\unity-editor-license\\license.js:1:15)\n at Module._compile (internal/modules/cjs/loader.js:839:30)","timestamp":"2019-11-29T02:55:48.294Z"}
I am also on a fresh install of Windows (I was getting the blank error Bug when creating any Scripts (even on new projects). My last resort was to reinstall Windows and hope for the best.