NativePHP / laravel

Laravel wrapper for the NativePHP framework
https://nativephp.com
MIT License
3.17k stars 164 forks source link

[Bug]: Could not resolve from "src/main/index.js" #16

Closed joebenson closed 1 year ago

joebenson commented 1 year ago

What happened?

Running php artisan native:install gets hung up trying to build for development:

Mac OS Ventura 13.4.1 PHP 8.2.8 Node / NPM (v20.5.0 / v9.8.0) Yarn 1.22.19 Fresh Laravel app install

image

How to reproduce the bug

Follow the installation steps step-by-step with up-to-date dependencies as described.

Package Version

0.1.0

PHP Version

8.2.8

Laravel Version

10.10

Which operating systems does with happen with?

macOS

Notes

No response

phuclh commented 1 year ago

I got the same error.

raulillana commented 1 year ago

Same here.

Nembie commented 1 year ago

Same problem here, maybe there's something to change in the package.json under Electron 👀

GITSKayDomrose commented 1 year ago

Same here. Looks like it doesn't copy the php and cert files to vendor/nativephp/electron/resources/js/out/main, but i could figure out why.

Screenshot 2023-07-21 at 09 55 58

Edit: Im on Mac M2

mpociot commented 1 year ago

This should now be fixed with the latest version(s)