Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: No such file or directory: 'run' #24

Closed
nouman-aceuss opened this issue Jul 21, 2023 · 11 comments
Closed

[Bug]: No such file or directory: 'run' #24

nouman-aceuss opened this issue Jul 21, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@nouman-aceuss
Copy link

What happened?

I was expecting that the native php app window will launch. but i encountered this error
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'

How to reproduce the bug

We can reproduce it using ubuntu 18.04. and then run following commands.

composer require nativephp/electron
php artisan native:install
php artisan native:serve

on serving the app you must see the error

Package Version

0.1.0

PHP Version

8.1.9

Laravel Version

10.10

Which operating systems does with happen with?

Linux

Notes

No response

@nouman-aceuss nouman-aceuss added the bug Something isn't working label Jul 21, 2023
@dextromethorphanum
Copy link

same problem.

Would you like to start the NativePHP development server (yes/no) [no]:

yes

Starting NativePHP dev server…
Fetching latest dependencies…
00h00m00s 0/0: : Starting NativePHP app…
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
NativePHP scaffolding installed successfully.

@felipealvesprestes
Copy link

Same problem here

Starting NativePHP dev server…
Fetching latest dependencies…
00h00m00s 0/0: : Starting NativePHP app…
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'

PHP
PHP 8.1.21 (cli) (built: Jul 10 2023 22:42:54) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.21, Copyright (c) Zend Technologies

Laravel
Laravel Framework 10.15.0

@Ham3D
Copy link

Ham3D commented Jul 21, 2023

same problem

@BataBoom
Copy link

🤞🤞

@MitotiMX
Copy link

Same problem
running PHP 8.1.21 on x64 Ubuntu 22
Fresh install Laravel install

@simonhamp simonhamp changed the title No such file or directory: 'run' [Bug]: No such file or directory: 'run' Jul 22, 2023
@devsrv
Copy link

devsrv commented Jul 23, 2023

same problem

image

@sjess
Copy link

sjess commented Jul 24, 2023

Do sudo npm install -g yarn, since it tries to run yarn on native:serve

@AdameLeNgolo
Copy link

Hi there i have the same problem. I use Linux Mint
Capture d’écran du 2023-07-24 13-48-21

@devsrv
Copy link

devsrv commented Jul 24, 2023

if you don't mind a temporary salutation then follow this: https://gist.github.com/ShaneShipston/8bb7cabc423cf0cc64da0eacafa53171

worked for me

@AdameLeNgolo
Copy link

i think this is for Windows users but i'm on Linux Mint system

@mpociot
Copy link
Member

mpociot commented Jul 25, 2023

This should be fixed now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants