Git Product home page Git Product logo

Comments (8)

garviand avatar garviand commented on June 21, 2024 3

Having this issue as well

from electron-prompt.

erikjalevik avatar erikjalevik commented on June 21, 2024 1

Sorry, I will just close this as I made a home-rolled HTML prompt in the meantime. Probably some weird issue on my end. :)

from electron-prompt.

rob10e avatar rob10e commented on June 21, 2024 1

I had the same problem. I solved mine by using
window.require('electron-prompt') instead of
require('electron-prompt')

from electron-prompt.

p-sam avatar p-sam commented on June 21, 2024

I'm not sure, I just tried latest 1.3.0 on OSX 10.14.3 with node v11.7.0 without issue, try to spawn the devtools of the created browserWindow to diagnose what's going on

from electron-prompt.

beautyfree avatar beautyfree commented on June 21, 2024

Same

from electron-prompt.

cawa-93 avatar cawa-93 commented on June 21, 2024

Same. I have error in dialog window

Not allowed to load local resource: file:///Users/Alex/Develop/play-shiki-app/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/page/prompt.html#1576308387511-0.7777359584319303

from electron-prompt.

camhart avatar camhart commented on June 21, 2024

I'm facing this as well on Mac OS Catalina. Completely white. I'm trying to use it from the main thread (not a renderer thread).

from electron-prompt.

trandaison avatar trandaison commented on June 21, 2024

I'm using this this on main thread to performance a login before creating a browser window. But everything is empty

app.on('ready', async () => {
  const password = await prompt({
    title: 'Login',
    label: 'Password',
    value: '',
    inputAttrs: {
      type: 'password'
    },
    type: 'input',
  });
});

from electron-prompt.

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.