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

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

Closed
joebenson opened this issue Jul 20, 2023 · 5 comments
Closed

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

joebenson opened this issue Jul 20, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@joebenson
Copy link

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

@joebenson joebenson added the bug Something isn't working label Jul 20, 2023
@phuclh
Copy link
Contributor

phuclh commented Jul 20, 2023

I got the same error.

@raulillana
Copy link

Same here.

@Nembie
Copy link

Nembie commented Jul 20, 2023

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

@GITSKayDomrose
Copy link

GITSKayDomrose commented Jul 21, 2023

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 mpociot closed this as completed Jul 29, 2023
@mpociot
Copy link
Member

mpociot commented Jul 29, 2023

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

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

6 participants