Api-Demos showing blank page #641

Closed
opened 2026-01-29 16:44:58 +00:00 by claunia · 1 comment
Owner

Originally created by @ienaboard on GitHub (Mar 14, 2021).

  • Electron.NET 11.5.1:

  • NET Core 2.1:

  • Node js 12.x:

  • Target: Windows:

I can't run demo on Windows10.

I followed the steps

  1. dotnet tool install --global ElectronNET.CLI
  2. git clone https://github.com/ElectronNET/electron.net-api-demos.git
  3. cd electron.net-api-demos
  4. electronize start

with no errors but I can see only a white page

In my developer tools/console I can see some errors:

imports.js:5 Uncaught TypeError: Cannot read property 'querySelector' of undefined
    at imports.js:5
    at NodeList.forEach (<anonymous>)
    at imports.js:4
(anonymous) @ imports.js:5
(anonymous) @ imports.js:4
nav.js:19 Uncaught TypeError: Cannot read property 'classList' of null
    at handleSectionTrigger (nav.js:19)
    at HTMLBodyElement.<anonymous> (nav.js:3)
    at activateDefaultSection (nav.js:23)
    at nav.js:77
handleSectionTrigger @ nav.js:19
(anonymous) @ nav.js:3
activateDefaultSection @ nav.js:23
(anonymous) @ nav.js:77
nav.js:64 Uncaught TypeError: Cannot read property 'classList' of null
    at displayAbout (nav.js:64)
    at nav.js:78

Thanks

Originally created by @ienaboard on GitHub (Mar 14, 2021). <!-- Please search existing issues to avoid creating duplicates. --> <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> * **Electron.NET 11.5.1**: * **NET Core 2.1**: * **Node js 12.x**: * **Target: Windows**: <!-- Enter your issue details below this comment. --> <!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-net) --> I can't run demo on Windows10. I followed the steps 1. dotnet tool install --global ElectronNET.CLI 2. git clone https://github.com/ElectronNET/electron.net-api-demos.git 3. cd electron.net-api-demos 4. electronize start with no errors but I can see only a white page In my developer tools/console I can see some errors: ``` imports.js:5 Uncaught TypeError: Cannot read property 'querySelector' of undefined at imports.js:5 at NodeList.forEach (<anonymous>) at imports.js:4 (anonymous) @ imports.js:5 (anonymous) @ imports.js:4 nav.js:19 Uncaught TypeError: Cannot read property 'classList' of null at handleSectionTrigger (nav.js:19) at HTMLBodyElement.<anonymous> (nav.js:3) at activateDefaultSection (nav.js:23) at nav.js:77 handleSectionTrigger @ nav.js:19 (anonymous) @ nav.js:3 activateDefaultSection @ nav.js:23 (anonymous) @ nav.js:77 nav.js:64 Uncaught TypeError: Cannot read property 'classList' of null at displayAbout (nav.js:64) at nav.js:78 ``` Thanks
claunia added the bug label 2026-01-29 16:44:58 +00:00
Author
Owner

@ienaboard commented on GitHub (Mar 14, 2021):

Sorry, wrong project

@ienaboard commented on GitHub (Mar 14, 2021): Sorry, wrong project
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#641