You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it gets to the publish command I'm thrown this error:
Publishing for mac
[NATIVE_EXCEPTION]: TTY mode requires /dev/tty to be read/writable. (0) in /Users/runner/work/zest-native-timetracking/zest-native-timetracking/vendor/symfony/process/Process.php:1049
[NATIVE_EXCEPTION]: cURL error 7: Failed to connect to localhost port 4000 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log (0) in /Users/runner/work/zest-native-timetracking/zest-native-timetracking/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:941
Run native:install from Github Actions with or without --no-interaction
Package Versions
{
"installed": [
{
"name": "nativephp/electron",
"direct-dependency": true,
"homepage": "https://github.com/nativephp/electron",
"source": "https://github.com/NativePHP/electron/tree/0.9.0",
"version": "0.9.0",
"description": "Electron wrapper for the NativePHP framework.",
"abandoned": false
},
{
"name": "nativephp/laravel",
"direct-dependency": false,
"homepage": "https://github.com/nativephp/laravel",
"source": "https://github.com/NativePHP/laravel/tree/0.7.0",
"version": "0.7.0",
"description": "Laravel wrapper for the NativePHP framework.",
"abandoned": false
},
{
"name": "nativephp/php-bin",
"direct-dependency": false,
"homepage": "https://nativephp.com",
"source": "https://github.com/NativePHP/php-bin/tree/0.5.6",
"version": "0.5.6",
"description": "PHP binaries used by the NativePHP framework",
"abandoned": false
}
]
}
PHP Version
8.3
Laravel Version
11.37
Node Version
22
Which operating systems have you seen this occur on?
No response
OS version
macos-latest
Notes
I tried swapping it over to use Run php artisan native:build --publish --no-interaction instead however im thrown this error instead:
Could not resolve "../../resources/cacert.pem?asset&asarUnpack" from "src/main/index.js"
file: /Users/runner/work/zest-native-timetracking/zest-native-timetracking/vendor/nativephp/electron/resources/js/src/main/index.js
error during build:
RollupError: Could not resolve "../../resources/cacert.pem?asset&asarUnpack" from "src/main/index.js"
The text was updated successfully, but these errors were encountered:
What were you trying to do?
I'm trying to make a github actions workflow script to publish my application for me:
This is my code
What happened?
When it gets to the publish command I'm thrown this error:
Publishing for mac
[NATIVE_EXCEPTION]: TTY mode requires /dev/tty to be read/writable. (0) in /Users/runner/work/zest-native-timetracking/zest-native-timetracking/vendor/symfony/process/Process.php:1049
[NATIVE_EXCEPTION]: cURL error 7: Failed to connect to localhost port 4000 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log (0) in /Users/runner/work/zest-native-timetracking/zest-native-timetracking/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:941
In PendingRequest.php line 941:
cURL error 7: Failed to connect to localhost port 4000 after 0 ms: Could no
t connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html
) for http://localhost:4000/api/debug/log
In CurlFactory.php line 275:
cURL error 7: Failed to connect to localhost port 4000 after 0 ms: Could no
t connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html
) for http://localhost:4000/api/debug/log
How to reproduce the bug
Run native:install from Github Actions with or without --no-interaction
Package Versions
{
"installed": [
{
"name": "nativephp/electron",
"direct-dependency": true,
"homepage": "https://github.com/nativephp/electron",
"source": "https://github.com/NativePHP/electron/tree/0.9.0",
"version": "0.9.0",
"description": "Electron wrapper for the NativePHP framework.",
"abandoned": false
},
{
"name": "nativephp/laravel",
"direct-dependency": false,
"homepage": "https://github.com/nativephp/laravel",
"source": "https://github.com/NativePHP/laravel/tree/0.7.0",
"version": "0.7.0",
"description": "Laravel wrapper for the NativePHP framework.",
"abandoned": false
},
{
"name": "nativephp/php-bin",
"direct-dependency": false,
"homepage": "https://nativephp.com",
"source": "https://github.com/NativePHP/php-bin/tree/0.5.6",
"version": "0.5.6",
"description": "PHP binaries used by the NativePHP framework",
"abandoned": false
}
]
}
PHP Version
8.3
Laravel Version
11.37
Node Version
22
Which operating systems have you seen this occur on?
No response
OS version
macos-latest
Notes
I tried swapping it over to use Run php artisan native:build --publish --no-interaction instead however im thrown this error instead:
Could not resolve "../../resources/cacert.pem?asset&asarUnpack" from "src/main/index.js"
file: /Users/runner/work/zest-native-timetracking/zest-native-timetracking/vendor/nativephp/electron/resources/js/src/main/index.js
error during build:
RollupError: Could not resolve "../../resources/cacert.pem?asset&asarUnpack" from "src/main/index.js"
The text was updated successfully, but these errors were encountered: