laravel icon indicating copy to clipboard operation
laravel copied to clipboard

When building for Windows - The "path" argument must be of type string.

Open ryanlovett-au opened this issue 1 year ago • 2 comments

What were you trying to do?

Doing a php artisan native:build win x64 generates a JavaScript error when executing electron-builder.js

What happened?

This error is generated:

image

How to reproduce the bug

I tracked the error down to this line in electron-builder.js

image

Commenting out the minify command, and re-building resulted in no errors being generated.

image

I then manually reverted this change from 0.6.3 -> 0.6.4 and it also built without issue.

image

Package Versions

0.6.4 & 0.6.5

PHP Version

8.3.8

Laravel Version

10.48

Node Version

21.7

Which operating systems have you seen this occur on?

Windows

OS version

Win10

Notes

No response

ryanlovett-au avatar Aug 01 '24 04:08 ryanlovett-au