RajvirSingh1313 / Elecrue

A boiler code generator for Electron with React or Vue with Taildwindcss or Bootstrap in both JavaScript & TypeScript
https://www.npmjs.com/package/elecrue
MIT License
228 stars 13 forks source link

Getting "Select an app to open this .js file" on run #20

Open markosole opened 1 year ago

markosole commented 1 year ago

Hi all,

I love the ide with setup and selection of frameworks. It just did not work for me all the way through. On last step npm runs tart it tried to open electron.js with other program, asking me to chose one from the list: "Select an app to open this .js file"

I am building on windows, using flavor:

VUE JavaScript Tailwind

Maybe I am missing something from installation perspective? PS: blank electron setup works just fine npm init electron-app@latest my-app

Thanks

RajvirSingh1313 commented 1 year ago

Sorry for replying late, I was busy with work and family. It is a little unusual to it try opening a file. Can you tell me the steps to replicate the bug?

Btw thanks a lot for taking the time to submit this bug

markosole commented 1 year ago

Hi @RajvirSingh1313 no problem at all family is No.1. Thanks for reply and great tool!. I've cloned the repo and followed the steps which are built in. I've tried two different "templates" and could not run none of them.

It's first time I am seeing this. What does usually happen that VUE/React app will run a default browser and navigate to localhost:port_number and hotreload the page etc. As said, I've pulled original Electron sample and other few boilerplates and haven't get this stange behavior.

Will try with different Node versions in case it's something related.

RajvirSingh1313 commented 1 year ago

Hey Marko, Sorry for being late again. But this time, I have fixed the issue, and will be pushing it into the new version but you can see the newest commit #8626ad3.

I have deleted a few a versions, as they were kinda making it difficult so I just kept the necessary for now, I will add them soon without any bugs.

RajvirSingh1313 commented 1 year ago

I wouln't close this issue so feel free for any help, If you want then you close this one and open another one. :)

markosole commented 1 year ago

HI @RajvirSingh1313 late reply, I kept this tab open for so long :) Thanks for fix, I'll try it and let you know how it goes. I appreciate your time for creating this and maintaining.

RajvirSingh1313 commented 1 year ago

I am so sorry, I just somehow got so busy with school and other things.

On Wed, Feb 15, 2023 at 2:41 AM Marko Solomun @.***> wrote:

HI @RajvirSingh1313 https://github.com/RajvirSingh1313 late reply, I kept this tab open for so long :) Thanks for fix, I'll try it and let you know how it goes. I appreciate your time for creating this and maintaining.

— Reply to this email directly, view it on GitHub https://github.com/RajvirSingh1313/Elecrue/issues/20#issuecomment-1430384063, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDS745HPBFK6YWYREEP24LWXPYJFANCNFSM6AAAAAATPDSBCA . You are receiving this because you were mentioned.Message ID: @.***>