Skip to content

Conversation

arbazargani
Copy link

to resolve cannot find resources/cacert.pem when running php artisan native:build command.

@mpociot
Copy link
Member

mpociot commented Jul 25, 2023

This should already be fixed in 0.1.1, thanks!

@mpociot mpociot closed this Jul 25, 2023
@StanBarrows
Copy link

StanBarrows commented Jul 25, 2023

@mpociot I still receive this error on 0.1.2. Is there something else required?

CleanShot 2023-07-26 at 01 01 59@2x

Could not resolve "../../resources/cacert.pem?asset&asarUnpack" from "src/main/index.js"
file: /Users/sebastian/Projects/native/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"
    at error (file:///Users/sebastian/Projects/native/vendor/nativephp/electron/resources/js/node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
    at ModuleLoader.handleInvalidResolvedId (file:///Users/sebastian/Projects/native/vendor/nativephp/electron/resources/js/node_modules/rollup/dist/es/shared/node-entry.js:24654:24)
    at file:///Users/sebastian/Projects/native/vendor/nativephp/electron/resources/js/node_modules/rollup/dist/es/shared/node-entry.js:24616:26
sebastian@MBPvonSbastian6 native % 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants