Giter Club home page Giter Club logo

Comments (8)

eramudeep avatar eramudeep commented on September 13, 2024 2

@eramudeep I discovered a problem with Symantec Antivirus. It for some reason blocks rendering in prod mode.
What's antivirus do you use? Try disabling it to try discovery if be the same problem.

Thanks for the answer.

actually, the problem was with React router.
I changed it to
<HashRouter> <Switch> <Route exact path={"/"} component={Login}></Route> <Route exact path={"/welcome"} component={Welcome}></Route> <Route path={"*"} exact insecure component={NotFound} ></Route> </Switch> </HashRouter>
Did fix my problem.
Now it's working like a charm on Mac, Winx86 and Ubuntu :)

from secure-electron-template.

abfurlan avatar abfurlan commented on September 13, 2024 1

I did update to v11.0.1 from electron and it worked

https://www.electronjs.org/releases/stable#release-notes-for-v1101

from secure-electron-template.

reZach avatar reZach commented on September 13, 2024 1

Thanks for the discovery @abfurlan , an update has been pushed to the repo.

from secure-electron-template.

reZach avatar reZach commented on September 13, 2024 1

@eramudeep can you change devTools to true and see if any error is in the console when running npm run prod?

  // Create the browser window.
  win = new BrowserWindow({
    width: 800,
    height: 600,
    title: "Application is currently initializing...",
    webPreferences: {
      devTools: true, //isDev
    }
  });

from secure-electron-template.

eramudeep avatar eramudeep commented on September 13, 2024

i am still facing the same problem.
Version:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) legitquest/1.0.2 Chrome/91.0.4472.77 Electron/13.1.2 Safari/537.36"

from secure-electron-template.

abfurlan avatar abfurlan commented on September 13, 2024

@eramudeep I discovered a problem with Symantec Antivirus. It for some reason blocks rendering in prod mode.
What's antivirus do you use? Try disabling it to try discovery if be the same problem.

from secure-electron-template.

eramudeep avatar eramudeep commented on September 13, 2024

bad luck.
it's working on Mac, Winx86 and Ubuntu :)
but not working on ubuntu 16 :(

from secure-electron-template.

reZach avatar reZach commented on September 13, 2024

😢

from secure-electron-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.