Closed mishagodovanuk closed 6 months ago
Also i can run it without this problems by using root user, but in that case i need to use parameter for chrome.
Could you try updating to the latest version (0.6.1) to see if this has been resolved in the various updates made since 0.2?
What happened?
Hi, during the
php artisan native:serve
have permission issue, but could trace it correct.Error: spawn /var/www/laravelapp/vendor/nativephp/electron/resources/js/out/main/chunks/php-7d4143d9.js EACCES at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -13, code: 'EACCES', syscall: 'spawn /var/www/laravelapp/vendor/nativephp/electron/resources/js/out/main/chunks/php-7d4143d9.js', path: '/var/www/laravelapp/vendor/nativephp/electron/resources/js/out/main/chunks/php-7d4143d9.js', spawnargs: [ 'artisan', 'native:config' ], cmd: '/var/www/laravelapp/vendor/nativephp/electron/resources/js/out/main/chunks/php-7d4143d9.js artisan native:config', stdout: '', stderr: ''
I already check permission for this file and it's have correct user group and permissions (correct i mean the same as other working project files has)
How to reproduce the bug
Run php artisan native:serve
Package Version
0.2.0
PHP Version
8.1
Laravel Version
10.16.1
Node Version
18.16
Which operating systems does with happen with?
Linux
Notes