Open radermacher opened 1 year ago
With current updates of these repo I got an different error now, when I run php artisan native:build
:
> NativePHP@1.0.0 build:mac-arm
> cross-env node php.js --arm64 && cross-env npm run build && cross-env electron-builder -p never --mac --config --arm64
node:internal/modules/cjs/loader:1093
throw err;
^
Error: Cannot find module '/Users/richard/Code/cronikl/vendor/nativephp/electron/resources/js/php.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
at Module._load (node:internal/modules/cjs/loader:934:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v19.7.0
When I run
php artisan native:build
I got this error:php artisan native:serve
is working, after I figured out the missing steps to set it up.(https://github.com/simonhamp/cronikl/issues/1#issuecomment-1645406569)