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

Missing certificate on Mac #474

Open
atlza opened this issue Jan 21, 2025 · 0 comments
Open

Missing certificate on Mac #474

atlza opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@atlza
Copy link

atlza commented Jan 21, 2025

What were you trying to do?

When I try to build my app on my mac with :
php artisan native:publish

What happened?

Build fails with this error :
x Build failed in 212ms error during build: Could not resolve "../../resources/cacert.pem?asset&asarUnpack" from "src/main/index.js" file: /Users/atlza/Documents/www/appee/vendor/nativephp/electron/resources/js/src/main/index.js at getRollupError (file:///Users/atlza/Documents/www/appee/vendor/nativephp/electron/resources/js/node_modules/rollup/dist/es/shared/parseAst.js:396:41) at error (file:///Users/atlza/Documents/www/appee/vendor/nativephp/electron/resources/js/node_modules/rollup/dist/es/shared/parseAst.js:392:42) at ModuleLoader.handleInvalidResolvedId (file:///Users/atlza/Documents/www/appee/vendor/nativephp/electron/resources/js/node_modules/rollup/dist/es/shared/node-entry.js:20216:24) at file:///Users/atlza/Documents/www/appee/vendor/nativephp/electron/resources/js/node_modules/rollup/dist/es/shared/node-entry.js:20176:26

I've updated all dependencies on the project. Notices that this file is called in index.js in native-electron but did not do any changes there.

How to reproduce the bug

Source code of the app is here : https://codeberg.org/atlza/apnee
It only runs on mac as it embeds exiftool-mac.
Run nom install and composer install and your good to build the app.

Package Versions

Occurs with 0.7.0.0
and 1.0.0-beta.1

PHP Version

8.4.3

Laravel Version

11.31

Node Version

11.0.0

Which operating systems have you seen this occur on?

macOS

OS version

macos 14.5

Notes

Also occurs with php 8.2

@atlza atlza added the bug Something isn't working label Jan 21, 2025
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

1 participant