ELECTRON-4-PHP icon indicating copy to clipboard operation
ELECTRON-4-PHP copied to clipboard

After run this command ( npm install electron-packager) , All thing goes empty no any page responding.

Open mduzair025 opened this issue 4 years ago • 6 comments

when I trying to build by (npm install electron-packager) command .exe the file generated successfully but there is an issue that my all data has been removed and shown as blank fields and I unable to see any PHP response. please help me. how can i solve this.

mduzair025 avatar Jan 05 '21 10:01 mduzair025

same here.. only a blank page.

ufopilot avatar Jan 05 '21 19:01 ufopilot

After Packaging this problem happening means possibly its not able to create PHP server. Because its already on. So try stop previous PHP server and them try running it.

On Wed, Jan 6, 2021, 12:40 AM ufopilot [email protected] wrote:

same here.. only a blank page.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/31#issuecomment-754839113, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGP4QIB6V2BSPWZLRXR4IYTSYNP2DANCNFSM4VUYDQGQ .

aj-techsoul avatar Jan 06 '21 08:01 aj-techsoul

@AJ-TechSoul Thank you for the reply. But still, that issue is not resolved, I made my apache sever turn off.

mduzair025 avatar Jan 06 '21 08:01 mduzair025

Hi there, i started a new project and did all steps

  • mkdir laravel
  • cd laravel/
  • npm init -y
  • npm i --save-dev electron electron-packager
  • npm i --save node-php-server
  • mkdir www php
  • cp laravel installation to www
  • cp php to php I took your main.js und changed some stuff..
  • npm run build ("build": "electron-packager . YouDesk --icon=asset/icons/win/youdesk.ico --out=dist --overwrite") Now it's running with Laravel also after packaging.

Thx

ufopilot avatar Jan 08 '21 06:01 ufopilot

How can i use a renderer.js in a laravel view?

ufopilot avatar Jan 08 '21 06:01 ufopilot

Wow thats Good. @ufopilot Please contribute as its a important open source project. For me i am normally working for living and its difficult contribute regularly. I invite you for contribution if you feel good.

aj-techsoul avatar Jan 09 '21 17:01 aj-techsoul