Closed ethanwhite closed 7 years ago
same empty screen installing the dev version in archlinux. Looking forward to trying it!
Hmm sorry about that @ethanwhite and @phcerdan. I don't have a linux machine to hand right now - could you try right-clicking in the middle of the screen to see if it gives you an 'inspect element' option? If so, you should be able to access the browser console and see any errors. If you could copy-paste them that would be super helpful.
If the above isn't possible I'll find a linux box later this evening to get it sorted. Many thanks.
Right-clicking in the middle does not do anything, unfortunately.
After inspect element in the empty colored screen:
module.js:472 Uncaught Error: Cannot find module './lib/contentserver'
at Module._resolveFilename (module.js:470)
at Function.Module._resolveFilename (/home/phc/repository_local/sciencefair/node_modules/electron/dist/resources/electron.asar/common/re…:35)
at Function.Module._load (module.js:418)
at Module.require (module.js:498)
at require (internal/module.js:20)
at index.js:2
Right-clicking in the middle does not do anything, unfortunately.
Same for me.
After editing /opt/ScienceFair/resources/app/index.js
(with sudo) and adding
main.webContents.openDevTools()
I get the same error message. Right-clicking didn't work for me either.
Thanks all, the issue is to do with case-sensitivity of require being different between linux/macos. I'm pushing out a fix now. I also discovered why the devtools aren't working - they'll be enabled in the next beta.
Also, to fix locally you can rename ScienceFair/resources/app/client/lib/contentServer.js
to ScienceFair/resources/app/client/lib/contentserver.js
🙄
Should be fixed in beta4, currently building on the CI servers: https://github.com/codeforscience/sciencefair/releases/tag/v1.0.0-beta4. Once the builds are ready they will automatically be added as downloads to that release :)
can anyone confirm whether this issue is resolved in beta4?
Working from current master in Arch. Thanks!
w00p, thanks @phcerdan
Very exciting project. I'm really looking forward to using it.
When I install
1.0.0-beta3
on Ubuntu 16.04 using thedeb
the install appears to run fine, but when I launch the application I just get an empty gray window: