Git Product home page Git Product logo

laravel's People

Contributors

arondeparon avatar artmxra7 avatar basst85 avatar bbredewold avatar bensherred avatar blankrsd avatar braceyourself avatar curtisblackwell avatar danielhudson avatar danjohnson95 avatar ddobren avatar dependabot[bot] avatar github-actions[bot] avatar jaberwiki avatar luketowers avatar lunashagit avatar me-shaon avatar meliani avatar milwad-dev avatar mombuyish avatar mpociot avatar nexxai avatar olssonm avatar phuclh avatar sarukomine avatar semiherdogan avatar shanerbaner82 avatar shaneshipston avatar shomisha avatar simonhamp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel's Issues

[Bug]: native:serve opens app with devtools, hot reloading doesn't work

What happened?

When I run native:serve it will launch my Laravel app in the app window, but with opened devtools.

If I then proceed to change something in welcome.blade.php, the changes are not reflected.

Even stopping the dev server and running native:serve again doesn't help, I need to reboot my machine for the changes to take effect.

How to reproduce the bug

laravel new native-example

Install nativePHP and run native:serve

Package Version

0.1.1

PHP Version

8.2.0

Laravel Version

10.10

Node Version

20.5.0

Which operating systems does with happen with?

macOS

Notes

No response

Plain Laravel App with native PHP has console errors

Hey guys,

I did the following

valet use [email protected]
laravel new my-new-project
cd my-new-project
composer install
composer require nativephp/electron (using ^0.1.0)
php artisan native:install
> yes
> no

Editing the NativeAppServiceProvider.php inside app/Providers and added the ->viewMenu()

php artisan native:serve

Open Dev Tools and getting this

node:electron/js2c/renderer_init:2 Unable to load preload script: /Users/<user>/Developer/my-new-project/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/preload/index.js
node:electron/js2c/renderer_init:2 Error: Cannot find module '/Users/<user>/Developer/my-new-project/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/preload/index.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15)
    at o._resolveFilename (node:electron/js2c/renderer_init:2:3879)
    at Module._load (node:internal/modules/cjs/loader:927:27)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at o._load (node:electron/js2c/renderer_init:2:3109)
    at node:electron/js2c/renderer_init:2:33275
    at node:electron/js2c/renderer_init:2:33401
    at ___electron_webpack_init__ (node:electron/js2c/renderer_init:2:33405)
    at node:electron/js2c/renderer_init:2:33528
    at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/loaders:334:7)

And yeah the preload folder is indeed missing
image

[Bug]: Failed to call method: org.freedesktop.DBus.Properties.Get

What happened?

My nativephp apps successfully run in linux, but i still have this error.

[9720:0721/221228.232917:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[9720:0721/221228.232995:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property

How to reproduce the bug

run command native:serve

Package Version

0.1.0

PHP Version

8.1.0

Laravel Version

10

Which operating systems does with happen with?

Linux

Notes

No response

[Feature]: print with native is printer

What happened?

Hi

it would be great to choose from the system printers that are installed and print directly to it.

Expect an app where the orders will be printed out automatically.

Best regards

How to reproduce the bug

Print 500 orders with browser print function

Package Version

1.0.0

PHP Version

8.2.0

Laravel Version

9.0.0

Node Version

18.xx

Which operating systems does with happen with?

Windows

Notes

Should be available on all systems

[Bug]: Error when run command php artisan native:serve

What happened?

I get error at start electron app when run command php artisan native:serve

How to reproduce the bug

I send picture on the bottom

Package Version

0.1.0

PHP Version

8.1

Laravel Version

10.15.0

Which operating systems does with happen with?

Ubuntu 23.04

Notes

image

[Bug]: Failed to remove some directories

What happened?

A warning appears when I run the command 'php artisan native:install'. Here is the stack trace:

npm WARN cleanup Failed to remove some directories [
npm WARN cleanup   [
npm WARN cleanup     'D:\\dev\\web\\native-app\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\verror',
npm WARN cleanup     [Error: EPERM: operation not permitted, rmdir 'D:\dev\web\native-app\vendor\nativephp\electron\resources\js\node_modules\verror\node_modules\core-util-is'] {
npm WARN cleanup       errno: -4048,
npm WARN cleanup       code: 'EPERM',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'D:\\dev\\web\\native-app\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\verror\\node_modules\\core-util-is'
npm WARN cleanup     }
npm WARN cleanup   ]
npm WARN cleanup ]

Capture

How to reproduce the bug

  • Create fresh laravel project
  • Install native php composer require nativephp/electron
  • Type php artisan native:install

Package Version

0.1.1

PHP Version

8.1.12

Laravel Version

10.10

Node Version

20.3.1

Which operating systems does with happen with?

Windows

Notes

After this warning, the installation process gets stuck. A Visual Studio Code (VSCode) instance opens with the electron-builder.js file. Following that, in the terminal, the following message appears: '[75548:0723/222349.609:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is'. There is the trace :

> [email protected] postinstall
> electron-builder install-app-deps


[main 2023-07-23T20:21:49.949Z] update#setState idle
[main 2023-07-23T20:22:19.960Z] update#setState checking for updates
[main 2023-07-23T20:22:20.195Z] update#setState idle
[75548:0723/222349.609:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

Capture

[Bug]: No such file or directory: 'run'

What happened?

I was expecting that the native php app window will launch. but i encountered this error
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'

How to reproduce the bug

We can reproduce it using ubuntu 18.04. and then run following commands.

composer require nativephp/electron
php artisan native:install
php artisan native:serve

on serving the app you must see the error

Package Version

0.1.0

PHP Version

8.1.9

Laravel Version

10.10

Which operating systems does with happen with?

Linux

Notes

No response

[Bug]: native:serve won't start app window

What happened?

php artisan native:serve won't do anything at all.
just ends with no window or anything.
image

How to reproduce the bug

php artisan native:serve

Package Version

0.1.0

PHP Version

8.1.11

Laravel Version

10.15.0

Which operating systems does with happen with?

Windows

Notes

No response

[Bug]: php artisan native:install not working

What happened?

npm ERR! code 1
npm ERR! path C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c electron-builder install-app-deps

How to reproduce the bug

composer create-project laravel/laravel nativephpcom
cd nativephpcom
composer require nativephp/electron
php artisan native:install

Package Version

0.1.0

PHP Version

8.1.1

Laravel Version

10.15.0

Which operating systems does with happen with?

Windows

Notes

0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\NOTEBOOK\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 3ms
4 timing config:load:defaults Completed in 7ms
5 timing config:load:file:C:\Users\NOTEBOOK\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 3ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\.npmrc Completed in 1ms
10 timing config:load:project Completed in 6ms
11 timing config:load:file:C:\Users\NOTEBOOK\.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\NOTEBOOK\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 2ms
16 timing config:load Completed in 24ms
17 timing npm:load:configload Completed in 24ms
18 timing config:load:flatten Completed in 5ms
19 timing npm:load:mkdirpcache Completed in 1ms
20 timing npm:load:mkdirplogs Completed in 1ms
21 verbose title npm install
22 verbose argv "install"
23 timing npm:load:setTitle Completed in 2ms
24 timing npm:load:display Completed in 2ms
25 verbose logfile logs-max:10 dir:C:\Users\NOTEBOOK\AppData\Local\npm-cache\_logs\2023-07-21T16_51_13_767Z-
26 verbose logfile C:\Users\NOTEBOOK\AppData\Local\npm-cache\_logs\2023-07-21T16_51_13_767Z-debug-0.log
27 timing npm:load:logFile Completed in 19ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 107ms
31 timing arborist:ctor Completed in 1ms
32 silly logfile start cleaning logs, removing 4 files
33 timing idealTree:init Completed in 594ms
34 timing idealTree:userRequests Completed in 0ms
35 silly idealTree buildDeps
36 timing idealTree:#root Completed in 0ms
37 timing idealTree:buildDeps Completed in 2ms
38 timing idealTree:fixDepFlags Completed in 1ms
39 timing idealTree Completed in 615ms
40 silly logfile done cleaning log files
41 timing arborist:ctor Completed in 0ms
42 timing reify:loadTrees Completed in 860ms
43 timing reify:diffTrees Completed in 43ms
44 silly reify moves {}
45 timing reify:retireShallow Completed in 2ms
46 timing reify:createSparse Completed in 10ms
47 timing reify:loadBundles Completed in 0ms
48 silly audit bulk request {
48 silly audit   '@ampproject/remapping': [ '2.2.1' ],
48 silly audit   '@babel/code-frame': [ '7.21.4' ],
48 silly audit   '@babel/compat-data': [ '7.22.3' ],
48 silly audit   '@babel/core': [ '7.22.1' ],
48 silly audit   '@babel/generator': [ '7.22.3' ],
48 silly audit   '@babel/helper-compilation-targets': [ '7.22.1' ],
48 silly audit   '@babel/helper-environment-visitor': [ '7.22.1' ],
48 silly audit   '@babel/helper-function-name': [ '7.21.0' ],
48 silly audit   '@babel/helper-hoist-variables': [ '7.18.6' ],
48 silly audit   '@babel/helper-module-imports': [ '7.21.4' ],
48 silly audit   '@babel/helper-module-transforms': [ '7.22.1' ],
48 silly audit   '@babel/helper-plugin-utils': [ '7.21.5' ],
48 silly audit   '@babel/helper-simple-access': [ '7.21.5' ],
48 silly audit   '@babel/helper-split-export-declaration': [ '7.18.6' ],
48 silly audit   '@babel/helper-string-parser': [ '7.21.5' ],
48 silly audit   '@babel/helper-validator-identifier': [ '7.19.1' ],
48 silly audit   '@babel/helper-validator-option': [ '7.21.0' ],
48 silly audit   '@babel/helpers': [ '7.22.3' ],
48 silly audit   '@babel/highlight': [ '7.18.6' ],
48 silly audit   'ansi-styles': [ '3.2.1', '6.2.1', '4.3.0' ],
48 silly audit   chalk: [ '2.4.2', '4.1.2' ],
48 silly audit   'color-convert': [ '1.9.3', '2.0.1' ],
48 silly audit   'color-name': [ '1.1.3', '1.1.4' ],
48 silly audit   'escape-string-regexp': [ '1.0.5', '4.0.0' ],
48 silly audit   'has-flag': [ '3.0.0', '4.0.0' ],
48 silly audit   'supports-color': [ '5.5.0', '7.2.0' ],
48 silly audit   '@babel/parser': [ '7.22.4' ],
48 silly audit   '@babel/plugin-transform-arrow-functions': [ '7.21.5' ],
48 silly audit   '@babel/template': [ '7.21.9' ],
48 silly audit   '@babel/traverse': [ '7.22.4' ],
48 silly audit   '@babel/types': [ '7.22.4' ],
48 silly audit   '@develar/schema-utils': [ '2.6.5' ],
48 silly audit   '@electron-toolkit/preload': [ '1.0.3' ],
48 silly audit   '@electron-toolkit/utils': [ '1.0.2' ],
48 silly audit   '@electron/asar': [ '3.2.4' ],
48 silly audit   '@electron/get': [ '2.0.2' ],
48 silly audit   'fs-extra': [ '8.1.0', '10.1.0', '9.1.0', '11.1.1' ],
48 silly audit   jsonfile: [ '4.0.0', '6.1.0' ],
48 silly audit   universalify: [ '0.1.2', '2.0.0' ],
48 silly audit   '@electron/notarize': [ '1.2.3' ],
48 silly audit   '@electron/osx-sign': [ '1.0.4' ],
48 silly audit   isbinaryfile: [ '4.0.10', '5.0.0' ],
48 silly audit   '@electron/rebuild': [ '3.2.13' ],
48 silly audit   'lru-cache': [ '6.0.0', '7.18.3', '5.1.1', '9.1.2' ],
48 silly audit   semver: [ '7.5.3', '7.5.1', '5.7.1', '6.3.0', '7.0.0' ],
48 silly audit   yallist: [ '4.0.0', '3.1.1' ],
48 silly audit   '@electron/remote': [ '2.0.9' ],
48 silly audit   '@electron/universal': [ '1.3.4' ],
48 silly audit   '@malept/cross-spawn-promise': [ '1.1.1', '2.0.0' ],
48 silly audit   '@esbuild/android-arm': [ '0.17.19' ],
48 silly audit   '@esbuild/android-arm64': [ '0.17.19' ],
48 silly audit   '@esbuild/android-x64': [ '0.17.19' ],
48 silly audit   '@esbuild/darwin-arm64': [ '0.17.19' ],
48 silly audit   '@esbuild/darwin-x64': [ '0.17.19' ],
48 silly audit   '@esbuild/freebsd-arm64': [ '0.17.19' ],
48 silly audit   '@esbuild/freebsd-x64': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-arm': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-arm64': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-ia32': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-loong64': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-mips64el': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-ppc64': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-riscv64': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-s390x': [ '0.17.19' ],
48 silly audit   '@esbuild/linux-x64': [ '0.17.19' ],
48 silly audit   '@esbuild/netbsd-x64': [ '0.17.19' ],
48 silly audit   '@esbuild/openbsd-x64': [ '0.17.19' ],
48 silly audit   '@esbuild/sunos-x64': [ '0.17.19' ],
48 silly audit   '@esbuild/win32-arm64': [ '0.17.19' ],
48 silly audit   '@esbuild/win32-ia32': [ '0.17.19' ],
48 silly audit   '@esbuild/win32-x64': [ '0.17.19' ],
48 silly audit   '@eslint-community/eslint-utils': [ '4.4.0' ],
48 silly audit   '@eslint-community/regexpp': [ '4.5.1' ],
48 silly audit   '@eslint/eslintrc': [ '2.0.3' ],
48 silly audit   globals: [ '13.20.0', '11.12.0' ],
48 silly audit   'type-fest': [ '0.20.2', '0.13.1', '2.19.0' ],
48 silly audit   '@eslint/js': [ '8.41.0' ],
48 silly audit   '@humanwhocodes/config-array': [ '0.11.10' ],
48 silly audit   '@humanwhocodes/module-importer': [ '1.0.1' ],
48 silly audit   '@humanwhocodes/object-schema': [ '1.2.1' ],
48 silly audit   '@isaacs/cliui': [ '8.0.2' ],
48 silly audit   'ansi-regex': [ '6.0.1', '5.0.1' ],
48 silly audit   'emoji-regex': [ '9.2.2', '8.0.0' ],
48 silly audit   'string-width': [ '5.1.2', '4.2.3' ],
48 silly audit   'strip-ansi': [ '7.1.0', '6.0.1' ],
48 silly audit   'wrap-ansi': [ '8.1.0', '7.0.0' ],
48 silly audit   '@jridgewell/gen-mapping': [ '0.3.3' ],
48 silly audit   '@jridgewell/resolve-uri': [ '3.1.0' ],
48 silly audit   '@jridgewell/set-array': [ '1.1.2' ],
48 silly audit   '@jridgewell/sourcemap-codec': [ '1.4.15', '1.4.14' ],
48 silly audit   '@jridgewell/trace-mapping': [ '0.3.18' ],
48 silly audit   '@malept/flatpak-bundler': [ '0.4.0' ],
48 silly audit   '@nodelib/fs.scandir': [ '2.1.5' ],
48 silly audit   '@nodelib/fs.stat': [ '2.0.5' ],
48 silly audit   '@nodelib/fs.walk': [ '1.2.8' ],
48 silly audit   '@npmcli/fs': [ '3.1.0' ],
48 silly audit   '@pkgjs/parseargs': [ '0.11.0' ],
48 silly audit   '@rushstack/eslint-patch': [ '1.3.0' ],
48 silly audit   '@sindresorhus/is': [ '4.6.0' ],
48 silly audit   '@szmarczak/http-timer': [ '4.0.6' ],
48 silly audit   '@tootallnate/once': [ '2.0.0' ],
48 silly audit   '@types/cacheable-request': [ '6.0.3' ],
48 silly audit   '@types/debug': [ '4.1.8' ],
48 silly audit   '@types/fs-extra': [ '9.0.13' ],
48 silly audit   '@types/http-cache-semantics': [ '4.0.1' ],
48 silly audit   '@types/keyv': [ '3.1.4' ],
48 silly audit   '@types/ms': [ '0.7.31' ],
48 silly audit   '@types/node': [ '18.16.18', '16.18.37' ],
48 silly audit   '@types/plist': [ '3.0.2' ],
48 silly audit   '@types/responselike': [ '1.0.0' ],
48 silly audit   '@types/semver': [ '7.5.0' ],
48 silly audit   '@types/verror': [ '1.10.6' ],
48 silly audit   '@types/yauzl': [ '2.10.0' ],
48 silly audit   '@vitejs/plugin-vue': [ '4.2.3' ],
48 silly audit   '@vue/compiler-core': [ '3.3.4' ],
48 silly audit   '@vue/compiler-dom': [ '3.3.4' ],
48 silly audit   '@vue/compiler-sfc': [ '3.3.4' ],
48 silly audit   '@vue/compiler-ssr': [ '3.3.4' ],
48 silly audit   '@vue/eslint-config-prettier': [ '7.1.0' ],
48 silly audit   '@vue/reactivity': [ '3.3.4' ],
48 silly audit   '@vue/reactivity-transform': [ '3.3.4' ],
48 silly audit   '@vue/runtime-core': [ '3.3.4' ],
48 silly audit   '@vue/runtime-dom': [ '3.3.4' ],
48 silly audit   '@vue/server-renderer': [ '3.3.4' ],
48 silly audit   '@vue/shared': [ '3.3.4' ],
48 silly audit   '7zip-bin': [ '5.1.1' ],
48 silly audit   abbrev: [ '1.1.1' ],
48 silly audit   accepts: [ '1.3.8' ],
48 silly audit   acorn: [ '8.8.2' ],
48 silly audit   'acorn-jsx': [ '5.3.2' ],
48 silly audit   'agent-base': [ '6.0.2' ],
48 silly audit   agentkeepalive: [ '4.3.0' ],
48 silly audit   'aggregate-error': [ '3.1.0' ],
48 silly audit   ajv: [ '6.12.6', '8.12.0' ],
48 silly audit   'ajv-formats': [ '2.1.1' ],
48 silly audit   'json-schema-traverse': [ '1.0.0', '0.4.1' ],
48 silly audit   'ajv-keywords': [ '3.5.2' ],
48 silly audit   'app-builder-bin': [ '4.0.0' ],
48 silly audit   'app-builder-lib': [ '24.5.1' ],
48 silly audit   'brace-expansion': [ '2.0.1', '1.1.11' ],
48 silly audit   'builder-util-runtime': [ '9.2.1', '9.1.1' ],
48 silly audit   minimatch: [ '5.1.6', '9.0.2', '3.1.2' ],
48 silly audit   aproba: [ '2.0.0' ],
48 silly audit   'are-we-there-yet': [ '3.0.1' ],
48 silly audit   'readable-stream': [ '3.6.2', '2.3.8' ],
48 silly audit   argparse: [ '2.0.1' ],
48 silly audit   'array-flatten': [ '1.1.1' ],
48 silly audit   'assert-plus': [ '1.0.0' ],
48 silly audit   'astral-regex': [ '2.0.0' ],
48 silly audit   async: [ '3.2.4' ],
48 silly audit   'async-exit-hook': [ '2.0.1' ],
48 silly audit   asynckit: [ '0.4.0' ],
48 silly audit   'at-least-node': [ '1.0.0' ],
48 silly audit   atomically: [ '1.7.0' ],
48 silly audit   axios: [ '1.4.0' ],
48 silly audit   'balanced-match': [ '1.0.2' ],
48 silly audit   'base64-js': [ '1.5.1' ],
48 silly audit   bl: [ '4.1.0' ],
48 silly audit   bluebird: [ '3.7.2' ],
48 silly audit   'bluebird-lst': [ '1.0.9' ],
48 silly audit   'body-parser': [ '1.20.2', '1.20.1' ],
48 silly audit   debug: [ '2.6.9', '4.3.4', '3.2.7' ],
48 silly audit   'iconv-lite': [ '0.4.24', '0.6.3' ],
48 silly audit   ms: [ '2.0.0', '2.1.2', '2.1.3' ],
48 silly audit   boolbase: [ '1.0.0' ],
48 silly audit   boolean: [ '3.2.0' ],
48 silly audit   browserslist: [ '4.21.7' ],
48 silly audit   buffer: [ '5.7.1' ],
48 silly audit   'buffer-crc32': [ '0.2.13' ],
48 silly audit   'buffer-equal': [ '1.0.1' ],
48 silly audit   'buffer-from': [ '1.1.2' ],
48 silly audit   'builder-util': [ '24.5.0' ],
48 silly audit   bytes: [ '3.1.2' ],
48 silly audit   cac: [ '6.7.14' ],
48 silly audit   cacache: [ '17.1.3' ],
48 silly audit   glob: [ '10.3.0', '7.2.3' ],
48 silly audit   'cacheable-lookup': [ '5.0.4' ],
48 silly audit   'cacheable-request': [ '7.0.2' ],
48 silly audit   'call-bind': [ '1.0.2' ],
48 silly audit   callsites: [ '3.1.0' ],
48 silly audit   'caniuse-lite': [ '1.0.30001492' ],
48 silly audit   chownr: [ '2.0.0' ],
48 silly audit   'chromium-pickle-js': [ '0.2.0' ],
48 silly audit   'ci-info': [ '3.8.0' ],
48 silly audit   'clean-stack': [ '2.2.0' ],
48 silly audit   'cli-cursor': [ '3.1.0' ],
48 silly audit   'cli-spinners': [ '2.9.0' ],
48 silly audit   'cli-truncate': [ '2.1.0' ],
48 silly audit   cliui: [ '8.0.1' ],
48 silly audit   clone: [ '1.0.4' ],
48 silly audit   'clone-response': [ '1.0.3' ],
48 silly audit   'color-support': [ '1.1.3' ],
48 silly audit   'combined-stream': [ '1.0.8' ],
48 silly audit   commander: [ '5.1.0' ],
48 silly audit   'compare-version': [ '0.1.2' ],
48 silly audit   'concat-map': [ '0.0.1' ],
48 silly audit   conf: [ '10.2.0' ],
48 silly audit   'config-file-ts': [ '0.2.4' ],
48 silly audit   'connected-domain': [ '1.0.0' ],
48 silly audit   'console-control-strings': [ '1.1.0' ],
48 silly audit   'content-disposition': [ '0.5.4' ],
48 silly audit   'content-type': [ '1.0.5' ],
48 silly audit   'convert-source-map': [ '1.9.0' ],
48 silly audit   cookie: [ '0.5.0' ],
48 silly audit   'cookie-signature': [ '1.0.6' ],
48 silly audit   'copy-anything': [ '2.0.6' ],
48 silly audit   'core-util-is': [ '1.0.3', '1.0.2' ],
48 silly audit   crc: [ '3.8.0' ],
48 silly audit   'cross-env': [ '7.0.3' ],
48 silly audit   'cross-spawn': [ '7.0.3' ],
48 silly audit   cssesc: [ '3.0.0' ],
48 silly audit   csstype: [ '3.1.2' ],
48 silly audit   'debounce-fn': [ '4.0.0' ],
48 silly audit   'decompress-response': [ '6.0.0' ],
48 silly audit   'mimic-response': [ '3.1.0', '1.0.1' ],
48 silly audit   'deep-is': [ '0.1.4' ],
48 silly audit   defaults: [ '1.0.4' ],
48 silly audit   'defer-to-connect': [ '2.0.1' ],
48 silly audit   'define-properties': [ '1.2.0' ],
48 silly audit   'delayed-stream': [ '1.0.0' ],
48 silly audit   delegates: [ '1.0.0' ],
48 silly audit   depd: [ '2.0.0' ],
48 silly audit   destroy: [ '1.2.0' ],
48 silly audit   'detect-libc': [ '2.0.1' ],
48 silly audit   'detect-node': [ '2.1.0' ],
48 silly audit   'dir-compare': [ '3.3.0' ],
48 silly audit   'dmg-builder': [ '24.5.1' ],
48 silly audit   'dmg-license': [ '1.0.11' ],
48 silly audit   doctrine: [ '3.0.0' ],
48 silly audit   'dot-prop': [ '6.0.1' ],
48 silly audit   dotenv: [ '9.0.2' ],
48 silly audit   'dotenv-expand': [ '5.1.0' ],
48 silly audit   eastasianwidth: [ '0.2.0' ],
48 silly audit   'ee-first': [ '1.1.1' ],
48 silly audit   ejs: [ '3.1.9' ],
48 silly audit   electron: [ '25.2.0', '22.3.14' ],
48 silly audit   'electron-builder': [ '24.5.1' ],
48 silly audit   'electron-chromedriver': [ '25.1.1' ],
48 silly audit   'electron-context-menu': [ '3.6.1' ],
48 silly audit   'electron-dl': [ '3.5.0' ],
48 silly audit   'electron-is-dev': [ '2.0.0' ],
48 silly audit   'electron-positioner': [ '4.1.0' ],
48 silly audit   'electron-publish': [ '24.5.0' ],
48 silly audit   'electron-store': [ '8.1.0' ],
48 silly audit   'electron-to-chromium': [ '1.4.417' ],
48 silly audit   'electron-updater': [ '5.3.0' ],
48 silly audit   'electron-vite': [ '1.0.24' ],
48 silly audit   'electron-window-state': [ '5.0.3' ],
48 silly audit   encodeurl: [ '1.0.2' ],
48 silly audit   encoding: [ '0.1.13' ],
48 silly audit   'end-of-stream': [ '1.4.4' ],
48 silly audit   'env-paths': [ '2.2.1' ],
48 silly audit   'err-code': [ '2.0.3' ],
48 silly audit   errno: [ '0.1.8' ],
48 silly audit   'es6-error': [ '4.1.1' ],
48 silly audit   esbuild: [ '0.17.19' ],
48 silly audit   escalade: [ '3.1.1' ],
48 silly audit   'escape-goat': [ '2.1.1' ],
48 silly audit   'escape-html': [ '1.0.3' ],
48 silly audit   eslint: [ '8.41.0' ],
48 silly audit   'eslint-config-prettier': [ '8.8.0' ],
48 silly audit   'eslint-plugin-prettier': [ '4.2.1' ],
48 silly audit   'eslint-plugin-vue': [ '9.14.1' ],
48 silly audit   'eslint-scope': [ '7.2.0' ],
48 silly audit   'eslint-visitor-keys': [ '3.4.1' ],
48 silly audit   espree: [ '9.5.2' ],
48 silly audit   esquery: [ '1.5.0' ],
48 silly audit   esrecurse: [ '4.3.0' ],
48 silly audit   estraverse: [ '5.3.0' ],
48 silly audit   'estree-walker': [ '2.0.2' ],
48 silly audit   esutils: [ '2.0.3' ],
48 silly audit   etag: [ '1.8.1' ],
48 silly audit   'exponential-backoff': [ '3.1.1' ],
48 silly audit   express: [ '4.18.2' ],
48 silly audit   'raw-body': [ '2.5.1', '2.5.2' ],
48 silly audit   'ext-list': [ '2.2.2' ],
48 silly audit   'ext-name': [ '5.0.0' ],
48 silly audit   'extract-zip': [ '2.0.1' ],
48 silly audit   extsprintf: [ '1.4.1' ],
48 silly audit   'fast-deep-equal': [ '3.1.3' ],
48 silly audit   'fast-diff': [ '1.3.0' ],
48 silly audit   'fast-json-stable-stringify': [ '2.1.0' ],
48 silly audit   'fast-levenshtein': [ '2.0.6' ],
48 silly audit   fastq: [ '1.15.0' ],
48 silly audit   'fd-slicer': [ '1.1.0' ],
48 silly audit   'file-entry-cache': [ '6.0.1' ],
48 silly audit   filelist: [ '1.0.4' ],
48 silly audit   finalhandler: [ '1.2.0' ],
48 silly audit   'find-up': [ '5.0.0', '3.0.0' ],
48 silly audit   'flat-cache': [ '3.0.4' ],
48 silly audit   flatted: [ '3.2.7' ],
48 silly audit   'follow-redirects': [ '1.15.2' ],
48 silly audit   'foreground-child': [ '3.1.1' ],
48 silly audit   'signal-exit': [ '4.0.2', '3.0.7' ],
48 silly audit   'form-data': [ '4.0.0' ],
48 silly audit   forwarded: [ '0.2.0' ],
48 silly audit   fresh: [ '0.5.2' ],
48 silly audit   'fs-minipass': [ '3.0.2', '2.1.0' ],
48 silly audit   'fs.realpath': [ '1.0.0' ],
48 silly audit   fsevents: [ '2.3.2' ],
48 silly audit   'function-bind': [ '1.1.1' ],
48 silly audit   gauge: [ '4.0.4' ],
48 silly audit   gensync: [ '1.0.0-beta.2' ],
48 silly audit   'get-caller-file': [ '2.0.5' ],
48 silly audit   'get-intrinsic': [ '1.2.1' ],
48 silly audit   'get-port': [ '5.1.1' ],
48 silly audit   'get-stream': [ '5.2.0' ],
48 silly audit   'glob-parent': [ '6.0.2' ],
48 silly audit   'global-agent': [ '3.0.0' ],
48 silly audit   globalthis: [ '1.0.3' ],
48 silly audit   got: [ '11.8.6' ],
48 silly audit   'graceful-fs': [ '4.2.11' ],
48 silly audit   graphemer: [ '1.4.0' ],
48 silly audit   has: [ '1.0.3' ],
48 silly audit   'has-property-descriptors': [ '1.0.0' ],
48 silly audit   'has-proto': [ '1.0.1' ],
48 silly audit   'has-symbols': [ '1.0.3' ],
48 silly audit   'has-unicode': [ '2.0.1' ],
48 silly audit   'hosted-git-info': [ '4.1.0' ],
48 silly audit   'http-cache-semantics': [ '4.1.1' ],
48 silly audit   'http-errors': [ '2.0.0' ],
48 silly audit   'http-proxy-agent': [ '5.0.0' ],
48 silly audit   'http2-wrapper': [ '1.0.3' ],
48 silly audit   'https-proxy-agent': [ '5.0.1' ],
48 silly audit   'humanize-ms': [ '1.2.1' ],
48 silly audit   'iconv-corefoundation': [ '1.1.7' ],
48 silly audit   ieee754: [ '1.2.1' ],
48 silly audit   ignore: [ '5.2.4' ],
48 silly audit   'image-size': [ '0.5.5' ],
48 silly audit   immediate: [ '3.0.6' ],
48 silly audit   'import-fresh': [ '3.3.0' ],
48 silly audit   imurmurhash: [ '0.1.4' ],
48 silly audit   'indent-string': [ '4.0.0' ],
48 silly audit   inflight: [ '1.0.6' ],
48 silly audit   inherits: [ '2.0.4' ],
48 silly audit   ip: [ '2.0.0' ],
48 silly audit   'ipaddr.js': [ '1.9.1' ],
48 silly audit   'is-ci': [ '3.0.1' ],
48 silly audit   'is-extglob': [ '2.1.1' ],
48 silly audit   'is-fullwidth-code-point': [ '3.0.0' ],
48 silly audit   'is-glob': [ '4.0.3' ],
48 silly audit   'is-interactive': [ '1.0.0' ],
48 silly audit   'is-lambda': [ '1.0.1' ],
48 silly audit   'is-obj': [ '2.0.0' ],
48 silly audit   'is-path-inside': [ '3.0.3' ],
48 silly audit   'is-plain-obj': [ '1.1.0' ],
48 silly audit   'is-unicode-supported': [ '0.1.0' ],
48 silly audit   'is-what': [ '3.14.1' ],
48 silly audit   isarray: [ '1.0.0' ],
48 silly audit   isexe: [ '2.0.0' ],
48 silly audit   jackspeak: [ '2.2.1' ],
48 silly audit   jake: [ '10.8.7' ],
48 silly audit   'js-tokens': [ '4.0.0' ],
48 silly audit   'js-yaml': [ '4.1.0' ],
48 silly audit   jsesc: [ '2.5.2' ],
48 silly audit   'json-buffer': [ '3.0.1' ],
48 silly audit   'json-schema-typed': [ '7.0.3' ],
48 silly audit   'json-stable-stringify-without-jsonify': [ '1.0.1' ],
48 silly audit   'json-stringify-safe': [ '5.0.1' ],
48 silly audit   json5: [ '2.2.3' ],
48 silly audit   jszip: [ '3.10.1' ],
48 silly audit   keyv: [ '4.5.2' ],
48 silly audit   'lazy-val': [ '1.0.5' ],
48 silly audit   less: [ '4.1.3' ],
48 silly audit   mime: [ '1.6.0', '2.6.0' ],
48 silly audit   levn: [ '0.4.1' ],
48 silly audit   lie: [ '3.3.0' ],
48 silly audit   'locate-path': [ '6.0.0', '3.0.0' ],
48 silly audit   lodash: [ '4.17.21' ],
48 silly audit   'lodash.escaperegexp': [ '4.1.2' ],
48 silly audit   'lodash.isequal': [ '4.5.0' ],
48 silly audit   'lodash.merge': [ '4.6.2' ],
48 silly audit   'log-symbols': [ '4.1.0' ],
48 silly audit   'lowercase-keys': [ '2.0.0' ],
48 silly audit   'magic-string': [ '0.30.0' ],
48 silly audit   'make-dir': [ '2.1.0' ],
48 silly audit   'make-fetch-happen': [ '11.1.1' ],
48 silly audit   matcher: [ '3.0.0' ],
48 silly audit   'media-typer': [ '0.3.0' ],
48 silly audit   'merge-descriptors': [ '1.0.1' ],
48 silly audit   methods: [ '1.1.2' ],
48 silly audit   'mime-db': [ '1.52.0' ],
48 silly audit   'mime-types': [ '2.1.35' ],
48 silly audit   'mimic-fn': [ '3.1.0', '2.1.0' ],
48 silly audit   minimist: [ '1.2.8' ],
48 silly audit   minipass: [ '5.0.0', '3.3.6' ],
48 silly audit   'minipass-collect': [ '1.0.2' ],
48 silly audit   'minipass-fetch': [ '3.0.3' ],
48 silly audit   'minipass-flush': [ '1.0.5' ],
48 silly audit   'minipass-pipeline': [ '1.2.4' ],
48 silly audit   'minipass-sized': [ '1.0.3' ],
48 silly audit   minizlib: [ '2.1.2' ],
48 silly audit   mkdirp: [ '0.5.6', '1.0.4' ],
48 silly audit   'modify-filename': [ '1.1.0' ],
48 silly audit   nanoid: [ '3.3.6' ],
48 silly audit   'nativephp-electron': [ '1.0.0' ],
48 silly audit   menubar: [ '9.3.0' ],
48 silly audit   'natural-compare': [ '1.4.0' ],
48 silly audit   needle: [ '3.2.0' ],
48 silly audit   negotiator: [ '0.6.3' ],
48 silly audit   'node-abi': [ '3.45.0' ],
48 silly audit   'node-addon-api': [ '1.7.2' ],
48 silly audit   'node-api-version': [ '0.1.4' ],
48 silly audit   'node-gyp': [ '9.4.0' ],
48 silly audit   'node-releases': [ '2.0.12' ],
48 silly audit   nopt: [ '6.0.0' ],
48 silly audit   'normalize-url': [ '6.1.0' ],
48 silly audit   npmlog: [ '6.0.2' ],
48 silly audit   'nth-check': [ '2.1.1' ],
48 silly audit   'object-inspect': [ '1.12.3' ],
48 silly audit   'object-keys': [ '1.1.1' ],
48 silly audit   'on-finished': [ '2.4.1' ],
48 silly audit   once: [ '1.4.0' ],
48 silly audit   onetime: [ '5.1.2' ],
48 silly audit   optionator: [ '0.9.1' ],
48 silly audit   ora: [ '5.4.1' ],
48 silly audit   'p-cancelable': [ '2.1.1' ],
48 silly audit   'p-limit': [ '3.1.0', '2.3.0' ],
48 silly audit   'p-locate': [ '5.0.0', '3.0.0' ],
48 silly audit   'p-map': [ '4.0.0' ],
48 silly audit   'p-try': [ '2.2.0' ],
48 silly audit   pako: [ '1.0.11' ],
48 silly audit   'parent-module': [ '1.0.1' ],
48 silly audit   'parse-node-version': [ '1.0.1' ],
48 silly audit   parseurl: [ '1.3.3' ],
48 silly audit   'path-exists': [ '4.0.0', '3.0.0' ],
48 silly audit   'path-is-absolute': [ '1.0.1' ],
48 silly audit   'path-key': [ '3.1.1' ],
48 silly audit   'path-scurry': [ '1.9.2' ],
48 silly audit   'path-to-regexp': [ '0.1.7' ],
48 silly audit   pend: [ '1.2.0' ],
48 silly audit   picocolors: [ '1.0.0' ],
48 silly audit   pify: [ '4.0.1' ],
48 silly audit   'pkg-up': [ '3.1.0' ],
48 silly audit   plist: [ '3.0.6' ],
48 silly audit   postcss: [ '8.4.24' ],
48 silly audit   'postcss-selector-parser': [ '6.0.13' ],
48 silly audit   'prelude-ls': [ '1.2.1' ],
48 silly audit   prettier: [ '2.8.8' ],
48 silly audit   'prettier-linter-helpers': [ '1.0.0' ],
48 silly audit   'process-nextick-args': [ '2.0.1' ],
48 silly audit   progress: [ '2.0.3' ],
48 silly audit   'promise-retry': [ '2.0.1' ],
48 silly audit   'proxy-addr': [ '2.0.7' ],
48 silly audit   'proxy-from-env': [ '1.1.0' ],
48 silly audit   prr: [ '1.0.1' ],
48 silly audit   'ps-node': [ '0.1.6' ],
48 silly audit   pump: [ '3.0.0' ],
48 silly audit   punycode: [ '2.3.0' ],
48 silly audit   pupa: [ '2.1.1' ],
48 silly audit   qs: [ '6.11.0' ],
48 silly audit   'queue-microtask': [ '1.2.3' ],
48 silly audit   'quick-lru': [ '5.1.1' ],
48 silly audit   'range-parser': [ '1.2.1' ],
48 silly audit   'read-config-file': [ '6.3.2' ],
48 silly audit   'safe-buffer': [ '5.1.2', '5.2.1' ],
48 silly audit   'require-directory': [ '2.1.1' ],
48 silly audit   'require-from-string': [ '2.0.2' ],
48 silly audit   'resolve-alpn': [ '1.2.1' ],
48 silly audit   'resolve-from': [ '4.0.0' ],
48 silly audit   responselike: [ '2.0.1' ],
48 silly audit   'restore-cursor': [ '3.1.0' ],
48 silly audit   retry: [ '0.12.0' ],
48 silly audit   reusify: [ '1.0.4' ],
48 silly audit   rimraf: [ '3.0.2' ],
48 silly audit   roarr: [ '2.15.4' ],
48 silly audit   rollup: [ '3.23.0' ],
48 silly audit   'run-parallel': [ '1.2.0' ],
48 silly audit   rxjs: [ '7.8.1' ],
48 silly audit   'safer-buffer': [ '2.1.2' ],
48 silly audit   'sanitize-filename': [ '1.6.3' ],
48 silly audit   sax: [ '1.2.4' ],
48 silly audit   'semver-compare': [ '1.0.0' ],
48 silly audit   send: [ '0.18.0' ],
48 silly audit   'serialize-error': [ '7.0.1' ],
48 silly audit   'serve-static': [ '1.15.0' ],
48 silly audit   'set-blocking': [ '2.0.0' ],
48 silly audit   setimmediate: [ '1.0.5' ],
48 silly audit   setprototypeof: [ '1.2.0' ],
48 silly audit   'shebang-command': [ '2.0.0' ],
48 silly audit   'shebang-regex': [ '3.0.0' ],
48 silly audit   'side-channel': [ '1.0.4' ],
48 silly audit   'simple-update-notifier': [ '1.1.0' ],
48 silly audit   'slice-ansi': [ '3.0.0' ],
48 silly audit   'smart-buffer': [ '4.2.0' ],
48 silly audit   socks: [ '2.7.1' ],
48 silly audit   'socks-proxy-agent': [ '7.0.0' ],
48 silly audit   'sort-keys': [ '1.1.2' ],
48 silly audit   'sort-keys-length': [ '1.0.1' ],
48 silly audit   'source-map': [ '0.6.1' ],
48 silly audit   'source-map-js': [ '1.0.2' ],
48 silly audit   'source-map-support': [ '0.5.21' ],
48 silly audit   'sprintf-js': [ '1.1.2' ],
48 silly audit   ssri: [ '10.0.4' ],
48 silly audit   'stat-mode': [ '1.0.0' ],
48 silly audit   statuses: [ '2.0.1' ],
48 silly audit   string_decoder: [ '1.1.1' ],
48 silly audit   'strip-json-comments': [ '3.1.1' ],
48 silly audit   sumchecker: [ '3.0.1' ],
48 silly audit   'table-parser': [ '0.1.3' ],
48 silly audit   tar: [ '6.1.15' ],
48 silly audit   'temp-file': [ '3.4.0' ],
48 silly audit   'text-table': [ '0.2.0' ],
48 silly audit   tmp: [ '0.2.1' ],
48 silly audit   'tmp-promise': [ '3.0.3' ],
48 silly audit   'to-fast-properties': [ '2.0.0' ],
48 silly audit   toidentifier: [ '1.0.1' ],
48 silly audit   'tree-kill': [ '1.2.2' ],
48 silly audit   'truncate-utf8-bytes': [ '1.0.2' ],
48 silly audit   tslib: [ '2.5.2' ],
48 silly audit   'type-check': [ '0.4.0' ],
48 silly audit   'type-is': [ '1.6.18' ],
48 silly audit   'typed-emitter': [ '2.1.0' ],
48 silly audit   typescript: [ '4.9.5' ],
48 silly audit   'unique-filename': [ '3.0.0' ],
48 silly audit   'unique-slug': [ '4.0.0' ],
48 silly audit   unpipe: [ '1.0.0' ],
48 silly audit   'unused-filename': [ '2.1.0' ],
48 silly audit   'update-browserslist-db': [ '1.0.11' ],
48 silly audit   'uri-js': [ '4.4.1' ],
48 silly audit   'utf8-byte-length': [ '1.0.4' ],
48 silly audit   'util-deprecate': [ '1.0.2' ],
48 silly audit   'utils-merge': [ '1.0.1' ],
48 silly audit   vary: [ '1.1.2' ],
48 silly audit   verror: [ '1.10.1' ],
48 silly audit   vite: [ '4.3.9' ],
48 silly audit   vue: [ '3.3.4' ],
48 silly audit   'vue-eslint-parser': [ '9.3.0' ],
48 silly audit   wcwidth: [ '1.0.1' ],
48 silly audit   which: [ '2.0.2' ],
48 silly audit   'wide-align': [ '1.1.5' ],
48 silly audit   'word-wrap': [ '1.2.3' ],
48 silly audit   wrappy: [ '1.0.2' ],
48 silly audit   'xml-name-validator': [ '4.0.0' ],
48 silly audit   xmlbuilder: [ '15.1.1' ],
48 silly audit   y18n: [ '5.0.8' ],
48 silly audit   yargs: [ '17.7.2' ],
48 silly audit   'yargs-parser': [ '21.1.1' ],
48 silly audit   yauzl: [ '2.10.0' ],
48 silly audit   'yocto-queue': [ '0.1.0' ]
48 silly audit }
49 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\iconv-corefoundation
50 silly reify mark deleted [
50 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\iconv-corefoundation'
50 silly reify ]
51 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\dmg-license
52 silly reify mark deleted [
52 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\dmg-license',
52 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\.bin\\dmg-license',
52 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\.bin\\dmg-license.cmd',
52 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\.bin\\dmg-license.ps1'
52 silly reify ]
53 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\node-addon-api
54 silly reify mark deleted [
54 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\node-addon-api'
54 silly reify ]
55 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@types\plist
56 silly reify mark deleted [
56 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@types\\plist'
56 silly reify ]
57 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@types\verror
58 silly reify mark deleted [
58 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@types\\verror'
58 silly reify ]
59 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\crc
60 silly reify mark deleted [
60 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\crc'
60 silly reify ]
61 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\verror
62 silly reify mark deleted [
62 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\verror'
62 silly reify ]
63 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\assert-plus
64 silly reify mark deleted [
64 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\assert-plus'
64 silly reify ]
65 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\verror\node_modules\core-util-is
66 silly reify mark deleted [
66 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\verror\\node_modules\\core-util-is'
66 silly reify ]
67 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\extsprintf
68 silly reify mark deleted [
68 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\extsprintf'
68 silly reify ]
69 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\fsevents
70 silly reify mark deleted [
70 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\fsevents'
70 silly reify ]
71 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\dmg-license
72 silly reify mark deleted [
72 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\dmg-license',
72 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\.bin\\dmg-license',
72 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\.bin\\dmg-license.cmd',
72 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\.bin\\dmg-license.ps1'
72 silly reify ]
73 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@types\plist
74 silly reify mark deleted [
74 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@types\\plist'
74 silly reify ]
75 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@types\verror
76 silly reify mark deleted [
76 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@types\\verror'
76 silly reify ]
77 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\crc
78 silly reify mark deleted [
78 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\crc'
78 silly reify ]
79 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\iconv-corefoundation
80 silly reify mark deleted [
80 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\iconv-corefoundation'
80 silly reify ]
81 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\verror
82 silly reify mark deleted [
82 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\verror'
82 silly reify ]
83 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\node-addon-api
84 silly reify mark deleted [
84 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\node-addon-api'
84 silly reify ]
85 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\assert-plus
86 silly reify mark deleted [
86 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\assert-plus'
86 silly reify ]
87 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\verror\node_modules\core-util-is
88 silly reify mark deleted [
88 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\verror\\node_modules\\core-util-is'
88 silly reify ]
89 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\extsprintf
90 silly reify mark deleted [
90 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\extsprintf'
90 silly reify ]
91 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\win32-ia32
92 silly reify mark deleted [
92 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\win32-ia32'
92 silly reify ]
93 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\win32-arm64
94 silly reify mark deleted [
94 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\win32-arm64'
94 silly reify ]
95 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\sunos-x64
96 silly reify mark deleted [
96 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\sunos-x64'
96 silly reify ]
97 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\openbsd-x64
98 silly reify mark deleted [
98 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\openbsd-x64'
98 silly reify ]
99 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\netbsd-x64
100 silly reify mark deleted [
100 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\netbsd-x64'
100 silly reify ]
101 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-x64
102 silly reify mark deleted [
102 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-x64'
102 silly reify ]
103 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-s390x
104 silly reify mark deleted [
104 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-s390x'
104 silly reify ]
105 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-riscv64
106 silly reify mark deleted [
106 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-riscv64'
106 silly reify ]
107 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-ppc64
108 silly reify mark deleted [
108 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-ppc64'
108 silly reify ]
109 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-mips64el
110 silly reify mark deleted [
110 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-mips64el'
110 silly reify ]
111 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-loong64
112 silly reify mark deleted [
112 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-loong64'
112 silly reify ]
113 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-ia32
114 silly reify mark deleted [
114 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-ia32'
114 silly reify ]
115 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-arm64
116 silly reify mark deleted [
116 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-arm64'
116 silly reify ]
117 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\linux-arm
118 silly reify mark deleted [
118 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\linux-arm'
118 silly reify ]
119 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\freebsd-x64
120 silly reify mark deleted [
120 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\freebsd-x64'
120 silly reify ]
121 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\freebsd-arm64
122 silly reify mark deleted [
122 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\freebsd-arm64'
122 silly reify ]
123 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\darwin-x64
124 silly reify mark deleted [
124 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\darwin-x64'
124 silly reify ]
125 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\darwin-arm64
126 silly reify mark deleted [
126 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\darwin-arm64'
126 silly reify ]
127 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\android-x64
128 silly reify mark deleted [
128 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\android-x64'
128 silly reify ]
129 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\android-arm64
130 silly reify mark deleted [
130 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\android-arm64'
130 silly reify ]
131 verbose reify failed optional dependency C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js\node_modules\@esbuild\android-arm
132 silly reify mark deleted [
132 silly reify   'C:\\Users\\NOTEBOOK\\Desktop\\nativephpcom\\vendor\\nativephp\\electron\\resources\\js\\node_modules\\@esbuild\\android-arm'
132 silly reify ]
133 timing reifyNode:node_modules/iconv-corefoundation Completed in 51ms
134 timing reifyNode:node_modules/fsevents Completed in 50ms
135 timing reifyNode:node_modules/dmg-license Completed in 51ms
136 timing reifyNode:node_modules/@esbuild/win32-ia32 Completed in 50ms
137 timing reifyNode:node_modules/@esbuild/win32-arm64 Completed in 50ms
138 timing reifyNode:node_modules/@esbuild/sunos-x64 Completed in 50ms
139 timing reifyNode:node_modules/@esbuild/openbsd-x64 Completed in 50ms
140 timing reifyNode:node_modules/@esbuild/netbsd-x64 Completed in 50ms
141 timing reifyNode:node_modules/@esbuild/linux-x64 Completed in 50ms
142 timing reifyNode:node_modules/@esbuild/linux-s390x Completed in 50ms
143 timing reifyNode:node_modules/@esbuild/linux-riscv64 Completed in 50ms
144 timing reifyNode:node_modules/@esbuild/linux-ppc64 Completed in 50ms
145 timing reifyNode:node_modules/@esbuild/linux-mips64el Completed in 50ms
146 timing reifyNode:node_modules/@esbuild/linux-loong64 Completed in 51ms
147 timing reifyNode:node_modules/@esbuild/linux-ia32 Completed in 51ms
148 timing reifyNode:node_modules/@esbuild/linux-arm64 Completed in 51ms
149 timing reifyNode:node_modules/@esbuild/linux-arm Completed in 51ms
150 timing reifyNode:node_modules/@esbuild/freebsd-x64 Completed in 51ms
151 timing reifyNode:node_modules/@esbuild/freebsd-arm64 Completed in 51ms
152 timing reifyNode:node_modules/@esbuild/darwin-x64 Completed in 51ms
153 timing reifyNode:node_modules/@esbuild/darwin-arm64 Completed in 51ms
154 timing reifyNode:node_modules/@esbuild/android-x64 Completed in 51ms
155 timing reifyNode:node_modules/@esbuild/android-arm64 Completed in 51ms
156 timing reifyNode:node_modules/@esbuild/android-arm Completed in 50ms
157 timing reifyNode:node_modules/@types/verror Completed in 163ms
158 timing reifyNode:node_modules/@types/plist Completed in 164ms
159 timing reifyNode:node_modules/assert-plus Completed in 167ms
160 timing reifyNode:node_modules/verror/node_modules/core-util-is Completed in 177ms
161 timing reifyNode:node_modules/verror Completed in 178ms
162 timing reifyNode:node_modules/extsprintf Completed in 191ms
163 timing reifyNode:node_modules/crc Completed in 278ms
164 timing reifyNode:node_modules/node-addon-api Completed in 337ms
165 timing reify:unpack Completed in 337ms
166 timing reify:unretire Completed in 0ms
167 timing build:queue Completed in 3ms
168 timing build:link Completed in 0ms
169 timing build:deps Completed in 5ms
170 timing build Completed in 5ms
171 timing reify:build Completed in 6ms
172 timing reify:trash Completed in 32ms
173 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 599ms
174 timing auditReport:getReport Completed in 613ms
175 silly audit report {
175 silly audit report   semver: [
175 silly audit report     {
175 silly audit report       id: 1092459,
175 silly audit report       url: 'https://github.com/advisories/GHSA-c2qf-rxjj-qqgw',
175 silly audit report       title: 'semver vulnerable to Regular Expression Denial of Service',
175 silly audit report       severity: 'moderate',
175 silly audit report       vulnerable_versions: '<5.7.2',
175 silly audit report       cwe: [Array],
175 silly audit report       cvss: [Object]
175 silly audit report     },
175 silly audit report     {
175 silly audit report       id: 1092460,
175 silly audit report       url: 'https://github.com/advisories/GHSA-c2qf-rxjj-qqgw',
175 silly audit report       title: 'semver vulnerable to Regular Expression Denial of Service',
175 silly audit report       severity: 'moderate',
175 silly audit report       vulnerable_versions: '>=6.0.0 <6.3.1',
175 silly audit report       cwe: [Array],
175 silly audit report       cvss: [Object]
175 silly audit report     },
175 silly audit report     {
175 silly audit report       id: 1092461,
175 silly audit report       url: 'https://github.com/advisories/GHSA-c2qf-rxjj-qqgw',
175 silly audit report       title: 'semver vulnerable to Regular Expression Denial of Service',
175 silly audit report       severity: 'moderate',
175 silly audit report       vulnerable_versions: '>=7.0.0 <7.5.2',
175 silly audit report       cwe: [Array],
175 silly audit report       cvss: [Object]
175 silly audit report     }
175 silly audit report   ],
175 silly audit report   'word-wrap': [
175 silly audit report     {
175 silly audit report       id: 1092593,
175 silly audit report       url: 'https://github.com/advisories/GHSA-j8xg-fqg3-53r7',
175 silly audit report       title: 'word-wrap vulnerable to Regular Expression Denial of Service',
175 silly audit report       severity: 'moderate',
175 silly audit report       vulnerable_versions: '<1.2.4',
175 silly audit report       cwe: [],
175 silly audit report       cvss: [Object]
175 silly audit report     }
175 silly audit report   ]
175 silly audit report }
176 timing reify:save Completed in 222ms
177 timing metavuln:cache:get:security-advisory:semver:4rAGLI77ah4GjE+TMeF3bs1i2q5PTlh8Yy3a788BL+nsbnDjtFmvZQR4wF1DxsFHGN6S44lxm3JWgPb3W5s30Q== Completed in 141ms
178 timing metavuln:cache:get:security-advisory:semver:kAFjC+gZYE0hg0fnwRCthyeJmOP92DfFUBq7TwOAbcgH8333wOUXJiBMf3cV5pyGPYsWeSSSBLLcOEcTn3mGyA== Completed in 139ms
179 timing metavuln:cache:get:security-advisory:semver:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 140ms
180 timing metavuln:cache:get:security-advisory:word-wrap:CH9u5KOD/gMdFH7vwItRLvXs4FYGah9Xtp4S6vu7nKJZ5VkaZXxbxYG2my2H5L8c0ZthLEq/1BvqaBNlEAOdcw== Completed in 140ms
181 http fetch GET 200 https://registry.npmjs.org/word-wrap 215ms (cache revalidated)
182 timing metavuln:packument:word-wrap Completed in 217ms
183 timing metavuln:load:security-advisory:word-wrap:1092593 Completed in 1ms
184 timing metavuln:calculate:security-advisory:word-wrap:1092593 Completed in 218ms
185 http fetch GET 200 https://registry.npmjs.org/semver 294ms (cache revalidated)
186 timing metavuln:packument:semver Completed in 295ms
187 timing metavuln:load:security-advisory:semver:1092459 Completed in 2ms
188 timing metavuln:calculate:security-advisory:semver:1092459 Completed in 299ms
189 timing metavuln:load:security-advisory:semver:1092460 Completed in 0ms
190 timing metavuln:calculate:security-advisory:semver:1092460 Completed in 297ms
191 timing metavuln:load:security-advisory:semver:1092461 Completed in 0ms
192 timing metavuln:calculate:security-advisory:semver:1092461 Completed in 298ms
193 timing metavuln:cache:get:security-advisory:make-dir:O88H0IVF6OY8krXQ3vX3QOc3lSUqhNIbxt2DH+Qb3DwMTBRLMivaQ39q2XP5xLZ46Bw7Yb0shTIdKpw9F8q/tg== Completed in 4ms
194 http fetch GET 200 https://registry.npmjs.org/make-dir 63ms (cache revalidated)
195 timing metavuln:packument:make-dir Completed in 64ms
196 timing metavuln:load:security-advisory:make-dir:4rAGLI77ah4GjE+TMeF3bs1i2q5PTlh8Yy3a788BL+nsbnDjtFmvZQR4wF1DxsFHGN6S44lxm3JWgPb3W5s30Q== Completed in 0ms
197 timing metavuln:calculate:security-advisory:make-dir:4rAGLI77ah4GjE+TMeF3bs1i2q5PTlh8Yy3a788BL+nsbnDjtFmvZQR4wF1DxsFHGN6S44lxm3JWgPb3W5s30Q== Completed in 66ms
198 timing metavuln:cache:get:security-advisory:@babel/core:C/MB/DG+EN3Gc5MMip1aeJA8d2yIR9eyxIxgU80TIrdFcvKaIVZi3PdOvNmNzmFHkuiHeCr0rbJKqfQcsFtD0Q== Completed in 9ms
199 timing metavuln:cache:get:security-advisory:@babel/helper-compilation-targets:TNt+ykEqnBWGOK5aPl/9+dV3UzZ8MZbXovVzjXtTGIHB2D0CE5Cimoxjs493z+kmJ/+zpXyfAdaktrnjbDmMYw== Completed in 7ms
200 timing metavuln:cache:get:security-advisory:@electron/get:kkD38k3ACGJUqq8F1aSZEKJp2jH6I9YkI34bauLqpF0vbzM74Jq/Fou3pK/BpABrqvv51eq2pSIZYcEh/v9OoA== Completed in 6ms
201 http fetch GET 200 https://registry.npmjs.org/@babel%2fcore 76ms (cache revalidated)
202 timing metavuln:packument:@babel/core Completed in 81ms
203 timing metavuln:load:security-advisory:@babel/core:kAFjC+gZYE0hg0fnwRCthyeJmOP92DfFUBq7TwOAbcgH8333wOUXJiBMf3cV5pyGPYsWeSSSBLLcOEcTn3mGyA== Completed in 4ms
204 timing metavuln:calculate:security-advisory:@babel/core:kAFjC+gZYE0hg0fnwRCthyeJmOP92DfFUBq7TwOAbcgH8333wOUXJiBMf3cV5pyGPYsWeSSSBLLcOEcTn3mGyA== Completed in 86ms
205 http fetch GET 200 https://registry.npmjs.org/@babel%2fhelper-compilation-targets 95ms (cache revalidated)
206 timing metavuln:packument:@babel/helper-compilation-targets Completed in 96ms
207 timing metavuln:load:security-advisory:@babel/helper-compilation-targets:kAFjC+gZYE0hg0fnwRCthyeJmOP92DfFUBq7TwOAbcgH8333wOUXJiBMf3cV5pyGPYsWeSSSBLLcOEcTn3mGyA== Completed in 1ms
208 timing metavuln:calculate:security-advisory:@babel/helper-compilation-targets:kAFjC+gZYE0hg0fnwRCthyeJmOP92DfFUBq7TwOAbcgH8333wOUXJiBMf3cV5pyGPYsWeSSSBLLcOEcTn3mGyA== Completed in 97ms
209 http fetch GET 200 https://registry.npmjs.org/@electron%2fget 1820ms (cache revalidated)
210 timing metavuln:packument:@electron/get Completed in 1821ms
211 timing metavuln:load:security-advisory:@electron/get:kAFjC+gZYE0hg0fnwRCthyeJmOP92DfFUBq7TwOAbcgH8333wOUXJiBMf3cV5pyGPYsWeSSSBLLcOEcTn3mGyA== Completed in 1ms
212 timing metavuln:calculate:security-advisory:@electron/get:kAFjC+gZYE0hg0fnwRCthyeJmOP92DfFUBq7TwOAbcgH8333wOUXJiBMf3cV5pyGPYsWeSSSBLLcOEcTn3mGyA== Completed in 1823ms
213 timing metavuln:cache:get:security-advisory:conf:a4h/WgB+9Wkdy2PBPSjz3ukiMp6njF3ltfuiUuXCrToCPPkaYXXHRwKx+jAl3MmZaNZFUHIi+VrsEeV+qm1Qgw== Completed in 16ms
214 timing metavuln:cache:get:security-advisory:electron-updater:zD/IEz9AazQhMGuWKW7GspqHkCAtwAcibyXw+FkgynW1cwk47iyDGiwPCBtEi4uGxTjxH63MPSu4WBoRe9ZdFw== Completed in 17ms
215 timing metavuln:cache:get:security-advisory:eslint-plugin-vue:xCHx1kCLf8s8Blrk/d+14pvKBEyHHTRTclV5JZdpGTIyewxItJwY5q/hUbDxKVPBmp9uRS33aRAWXe1EHjR7rw== Completed in 16ms
216 timing metavuln:cache:get:security-advisory:global-agent:2DwCrf+A4T6gsWse+QGEeh80p8qUMefOrNGzEHgtydeX6wd2IGqiKvpXmWyxWjxOi39mhBAC3MV7L0zYnXomOQ== Completed in 15ms
217 timing metavuln:cache:get:security-advisory:simple-update-notifier:m+cxUkU9cq6+3VHnRT4PX3U5p098vRvyH0NyDQfXNXjtYSgLtr4a7EIl9pj5p7iqQ8qpisRbyGr1WOubpeAyxQ== Completed in 14ms
218 timing metavuln:cache:get:security-advisory:vue-eslint-parser:i3tTKbRL0dpfXNQ5GDqHc/2BzQGsj+F7q1/qYvLZ+fOefqewYwb/y96xFs1XrzB1Uo7RkXXSy1SnNbawRU88+A== Completed in 14ms
219 http fetch GET 200 https://registry.npmjs.org/conf 73ms (cache revalidated)
220 timing metavuln:packument:conf Completed in 75ms
221 timing metavuln:load:security-advisory:conf:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 0ms
222 timing metavuln:calculate:security-advisory:conf:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 75ms
223 http fetch GET 200 https://registry.npmjs.org/eslint-plugin-vue 104ms (cache revalidated)
224 timing metavuln:packument:eslint-plugin-vue Completed in 108ms
225 timing metavuln:load:security-advisory:eslint-plugin-vue:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 0ms
226 timing metavuln:calculate:security-advisory:eslint-plugin-vue:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 110ms
227 http fetch GET 200 https://registry.npmjs.org/vue-eslint-parser 316ms (cache revalidated)
228 timing metavuln:packument:vue-eslint-parser Completed in 319ms
229 timing metavuln:load:security-advisory:vue-eslint-parser:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 0ms
230 timing metavuln:calculate:security-advisory:vue-eslint-parser:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 319ms
231 http fetch GET 200 https://registry.npmjs.org/simple-update-notifier 320ms (cache revalidated)
232 timing metavuln:packument:simple-update-notifier Completed in 321ms
233 timing metavuln:load:security-advisory:simple-update-notifier:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 0ms
234 timing metavuln:calculate:security-advisory:simple-update-notifier:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 321ms
235 http fetch GET 200 https://registry.npmjs.org/global-agent 802ms (cache revalidated)
236 timing metavuln:packument:global-agent Completed in 803ms
237 timing metavuln:load:security-advisory:global-agent:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 2ms
238 timing metavuln:calculate:security-advisory:global-agent:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 806ms
239 http fetch GET 200 https://registry.npmjs.org/electron-updater 926ms (cache revalidated)
240 timing metavuln:packument:electron-updater Completed in 931ms
241 timing metavuln:load:security-advisory:electron-updater:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 1ms
242 timing metavuln:calculate:security-advisory:electron-updater:efe8VB5q4mZD3/ujTc9L0aaWirUeY/ViAybQsDFvpvA+7TSAyha/N70vqCuJldXlcpql0BxojmVI2ei/NlY7rg== Completed in 933ms
243 timing metavuln:cache:get:security-advisory:optionator:bovROSvlaeDTVEfE39u9A9H5hmP0WrIC92MgU2rwQCkxTEvCbHeGWbdeUv3+6DzLhjcd46YsH8wPMwPQaJsN2w== Completed in 3ms
244 http fetch GET 200 https://registry.npmjs.org/optionator 63ms (cache revalidated)
245 timing metavuln:packument:optionator Completed in 64ms
246 timing metavuln:load:security-advisory:optionator:CH9u5KOD/gMdFH7vwItRLvXs4FYGah9Xtp4S6vu7nKJZ5VkaZXxbxYG2my2H5L8c0ZthLEq/1BvqaBNlEAOdcw== Completed in 0ms
247 timing metavuln:calculate:security-advisory:optionator:CH9u5KOD/gMdFH7vwItRLvXs4FYGah9Xtp4S6vu7nKJZ5VkaZXxbxYG2my2H5L8c0ZthLEq/1BvqaBNlEAOdcw== Completed in 64ms
248 timing metavuln:cache:get:security-advisory:electron-builder:h5bHucE9oUg0pdRSbbR8NEccFv2Vb2Lplu/8tNdUpKltD8QzSp5sLnJ2AUovkgVvbZ4XE3VE+szu6YKJe5s0Fg== Completed in 4ms
249 http fetch GET 200 https://registry.npmjs.org/electron-builder 784ms (cache revalidated)
250 timing metavuln:packument:electron-builder Completed in 799ms
251 timing metavuln:load:security-advisory:electron-builder:m+cxUkU9cq6+3VHnRT4PX3U5p098vRvyH0NyDQfXNXjtYSgLtr4a7EIl9pj5p7iqQ8qpisRbyGr1WOubpeAyxQ== Completed in 7ms
252 timing metavuln:calculate:security-advisory:electron-builder:m+cxUkU9cq6+3VHnRT4PX3U5p098vRvyH0NyDQfXNXjtYSgLtr4a7EIl9pj5p7iqQ8qpisRbyGr1WOubpeAyxQ== Completed in 806ms
253 timing auditReport:init Completed in 4015ms
254 timing reify:audit Completed in 4630ms
255 timing reify Completed in 5557ms
256 timing command:install Completed in 10969ms
257 verbose stack Error: command failed
257 verbose stack     at ChildProcess.<anonymous> (C:\Users\NOTEBOOK\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:53:27)
257 verbose stack     at ChildProcess.emit (node:events:513:28)
257 verbose stack     at maybeClose (node:internal/child_process:1093:16)
257 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
258 verbose pkgid [email protected]
259 verbose cwd C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js
260 verbose Windows_NT 10.0.22621
261 verbose node v16.17.0
262 verbose npm  v9.8.1
263 error code 1
264 error path C:\Users\NOTEBOOK\Desktop\nativephpcom\vendor\nativephp\electron\resources\js
265 error command failed
266 error command C:\WINDOWS\system32\cmd.exe /d /s /c electron-builder install-app-deps
267 verbose exit 1
268 timing npm Completed in 11821ms
269 verbose code 1
270 error A complete log of this run can be found in: C:\Users\NOTEBOOK\AppData\Local\npm-cache\_logs\2023-07-21T16_51_13_767Z-debug-0.log

[Bug]: Notifications Not Showing

What happened?

I'm unable to successfully create a notification. I'm using the documentation from Native's website pertaining to Notifications.

I've noticed that the path to the facade, Native\Laravel\Facades\Notification, is not in Native's file path.

Here's the shared trace for it: https://flareapp.io/share/95Jll42P

How to reproduce the bug

Use the following snippet from: https://nativephp.com/docs/1/the-basics/notifications

`use Native\Laravel\Facades\Notification;

Notification::title('Hello from NativePHP')
->message('This is a detail message coming from your Laravel app.')
->show();`

Package Version

0.1.0

PHP Version

8.2.8

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: artisan native:serve not updating/hot updating, throwing an error

What happened?

When I run the serve command, it hangs up on an error. it serves the app, but an outdated version of the app not reflecting the changes I've made, and it doesn't hot-reload with any changes.
My output when running php artisan native:serve (bold sections are my censorship):

Starting NativePHP dev server…
Fetching latest dependencies…
Starting NativePHP app…
yarn run v1.22.19
warning package.json: No license field
warning ../../../../../../../package.json: No license field
$ electron-vite dev --watch
vite v4.3.9 building for development...

watching for file changes...

build started...
✓ 4 modules transformed.
out/main/index.js 0.55 kB
built in 87ms.

build the electron main process successfully


vite v4.3.9 building for development...

watching for file changes...

build started...
transforming (1) src/preload/index.js"contextBridge" and "ipcRenderer" are imported from external module "electron" but never used in "src/preload/index.js".
✓ 1 modules transformed.
out/preload/index.js 0.70 kB
built in 14ms.

build the electron preload files successfully


dev server running for the electron renderer process at:

➜ Local: http://localhost:5173/
➜ Network: use --host to expose

start electron app...

API server started on port 4000

Starting PHP server... [LOCAL SITE]/vendor/nativephp/electron/resources/js/resources/php artisan serve /Users/nathanprice/PhpstormProjects/[PROJECT NAME]

Making sure app folders are available

Migrating database...

PHP Server started on port: 8100

(node:2216) electron: NSVisualEffectMaterialAppearanceBased has been deprecated and removed as of macOS 10.15.
(Use Electron --trace-warnings ... to show where the warning was created)

Skip checkForUpdates because application is not packed and dev update config is not forced
checkForUpdatesAndNotify called, downloadPromise is null

How to reproduce the bug

I've encountered this bug across multiple projects when trying to install and serve nativePHP

Package Version

0.1.1

PHP Version

8.2

Laravel Version

10

Node Version

18.16.1

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: php artisan native:build fails

What happened?

The native:build command doesn't work

image

How to reproduce the bug

Run the command php artisan native:build

Package Version

current

PHP Version

8.2.0

Laravel Version

10.0.0

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: Issue with Laravel NativePHP Installation on MacOS (Intel x64)

What happened?

I'm experiencing a problematic sequence of steps while setting up Laravel's NativePHP on a MacOS architecture with Intel x64. Here are the steps I'm following:

composer create-project laravel/laravel nativephptest --prefer-dist
cd nativephptest
composer require nativephp/electron
php artisan native:install

The issue lies within the second prompt/question during the php artisan native:install process.

The prompt in question is:

Would you like to start the NativePHP development server (yes/no) [no]:

When I respond 'yes' to this prompt, the process seems to break before the configuration files are published. This leads to a situation where the application doesn't start if one has not installed and used NativePHP before.

However, when I choose 'no', the installation process completes without any issue. Furthermore, once I successfully installed it once with 'no', subsequent installations did not show any errors, even when I responded 'yes' to the prompt.

My theory is that the issue could be related to the default architecture, which seems to be ARM. This might be causing problems with my Intel-based Mac.

As a suggestion, the problematic question could either be eliminated or moved to a point after the configuration files are published. This might prevent the premature break in the installation process.

Please let me know if further information is required to address this issue.

How to reproduce the bug

Use fresh Intel mac (no composer packages or nativephp installed)

composer create-project laravel/laravel nativephptest --prefer-dist
cd nativephptest
composer require nativephp/electron
php artisan native:install

Say yes / yes
Would you like to start the NativePHP development server (yes/no) [no]: yes

Package Version

0.1.1

PHP Version

8.2.6

Laravel Version

10.15.0

Which operating systems does with happen with?

No response

Notes

No response

[Bug]: No electron app entry file found

What happened?

When trying to run php artisan native:serve an error is given:

error during start dev server and electron app: Error: No electron app entry file found: /Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/out/main/index.js at ensureElectronEntryFile (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/chunks/lib-3592fc5a.js:26:23) at Object.startElectron (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/chunks/lib-3592fc5a.js:120:5) at createServer (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/chunks/lib-86ea98bb.js:74:21) at async CAC.<anonymous> (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/cli.js:48:9)

How to reproduce the bug

Follow the documentation installation steps and then run php artisan native:serve

Package Version

0.1.0

PHP Version

8.2.0

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

Additional info:
npm - v9.5.0
yarn - v1.22.19
node - v18.15.0

[Bug]: Gtk-Message: 08:47:56.301: Failed to load module "appmenu-gtk-module"

What happened?

appDir=/media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js

(node:27659) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setIcon')
at NativePHP. (/media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:81:26)
at Generator.next ()
at /media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:8:71
at new Promise ()
at __awaiter (/media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:4:12)
at /media/disk2/Projects/nativePHP/firstNative/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:78:36
(Use electron --trace-warnings ... to show where the warning was created)

(node:27659) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

How to reproduce the bug

when running : php artisan native:serve in Arch linux i3

• executing @electron/rebuild arch=x64 platform=linux version=25.2.0

Package Version

0.1.0

PHP Version

8.2.8

Laravel Version

10.15.0

Which operating systems does with happen with?

Linux

Notes

No response

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

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

[Bug]: Error: spawn Unknown system error -86 on MacOS

What happened?

Captura de pantalla 2023-07-21 a la(s) 10 03 06 p m

How to reproduce the bug

When running the artisan native php:serve gives the error...

Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:413:11)
at spawn (node:child_process:783:9)
at execFile (node:child_process:359:17)
at node:child_process:252:21
at node:electron/js2c/asar_bundle:2:3130
at /Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:47:69
at Generator.next ()
at /Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:8:71
at new Promise ()
at __awaiter (/Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:4:12) {
errno: -86,
code: 'Unknown system error -86',
syscall: 'spawn'
}

API server started on port 4000

Starting PHP server... /Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/resources/php artisan serve /Users/profile1/Documents/proyectos_laravel/nativephp

Making sure app folders are available

(node:12387) UnhandledPromiseRejectionWarning: Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:413:11)
at spawn (node:child_process:783:9)
at callPhp (/Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:53:38)
at /Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:135:9
at Generator.next ()
at /Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:8:71
at new Promise ()
at __awaiter (/Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:4:12)
at /Users/profile1/Documents/proyectos_laravel/nativephp/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:118:45
at new Promise ()
(Use Electron --trace-warnings ... to show where the warning was created)

(node:12387) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

Package Version

0.1.0

PHP Version

8.1.9

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: Won't load the app in dev

What happened?

When working on app and saving it was restarting the window. Then after a fair few times, it stopped loading. Stoped the server and re-run php artisan native:serve and gets stuck on:

start electron app...

API server started on port 4000

Starting PHP server... /Users/User/Projects/WebDevelopment/Dash/vendor/nativephp/electron/resources/js/resources/php artisan serve /Users/User/Projects/WebDevelopment/Dash

Making sure app folders are available

Migrating database...

Migrations are fine and app is all good as i'm able to serve via php artisan serve. If i restart the laptop, it will work again.

How to reproduce the bug

So far seems to be random, but think it is linked to when I save and it refreshes the electron app.

Package Version

0.1.1

PHP Version

8.2.8

Laravel Version

10.15.0

Node Version

v20.5.0

Which operating systems does with happen with?

macOS

Notes

Macbook Pro M1

[Bug]: native:install fails on npm dependency install

What happened?

When I run the php artisan native:install command, the install fails after the first step

Képernyőfotó 2023-07-20 - 22 26 57

How to reproduce the bug

Run php artisan native:install command, yes after the first prompt

Package Version

0.1.0

PHP Version

8.1.17

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

No response

(node:7289) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setIcon')

What happened?

When i run php artisan native:install
it's show this

Publishing NativePHP Service Provider...

 Would you like to install the NativePHP NPM dependencies? (yes/no) [yes]:
 > 


> [email protected] postinstall
> electron-builder install-app-deps

  • electron-builder  version=24.5.1
  • loaded configuration  file=/home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/electron-builder.js
  • executing @electron/rebuild  arch=x64 platform=linux version=25.2.0 appDir=/home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js

added 80 packages, removed 26 packages, changed 16 packages, and audited 649 packages in 2m

98 packages are looking for funding
  run `npm fund` for details

4 moderate severity vulnerabilities

To address all issues, run:
  npm audit fix

Run `npm audit` for details.

 Would you like to start the NativePHP development server (yes/no) [no]:
 > 

NativePHP scaffolding installed successfully.

After run this php artisan native:serve

Starting NativePHP dev server…
Fetching latest dependencies…
Starting NativePHP app…
yarn run v1.22.19
warning package.json: No license field
$ electron-vite dev --watch
vite v4.3.9 building for development...

watching for file changes...

build started...
✓ 4 modules transformed.
out/main/index.js  0.54 kB
built in 109ms.

build the electron main process successfully

-----

vite v4.3.9 building for development...

watching for file changes...

build started...
transforming (1) src/preload/index.js"contextBridge" and "ipcRenderer" are imported from external module "electron" but never used in "src/preload/index.js".
✓ 1 modules transformed.
out/preload/index.js  0.70 kB
built in 17ms.

build the electron preload files successfully

-----

dev server running for the electron renderer process at:

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose

start electron app...

(node:6405) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setIcon')
    at NativePHP.<anonymous> (/home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:81:26)
    at Generator.next (<anonymous>)
    at /home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:4:12)
    at /home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:78:36
(Use `electron --trace-warnings ...` to show where the warning was created)

(node:6405) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

MESA-INTEL: warning: Haswell Vulkan support is incomplete

libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

How to reproduce the bug

(node:7289) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setIcon')
    at NativePHP.<anonymous> (/home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:81:26)
    at Generator.next (<anonymous>)
    at /home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:4:12)
    at /home/hiya/personal/desk-app/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:78:36
(Use `electron --trace-warnings ...` to show where the warning was created)

(node:7289) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

MESA-INTEL: warning: Haswell Vulkan support is incomplete

libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

Package Version

"nativephp/electron": "^0.1.0", "nativephp/laravel": "^0.1.0"

PHP Version

PHP 8.1.21 (cli) (built: Jul 8 2023 07:09:57) (NTS)

Laravel Version

"laravel/framework": "^10.10",

Which operating systems does with happen with?

Linux

Notes

Node: v16.18.1

[Feature request]: Drag and drop support

What happened?

It would be great to be able to drag files into the app and drag files out of the app.

How to reproduce the bug

Sorry for posting as a bug but the other links all ended up in 404s.

Package Version

1

PHP Version

1

Laravel Version

1

Which operating systems does with happen with?

No response

Notes

No response

[Bug]: HTTP Requests: SSL certificate problem: unable to get local issuer certificate

What happened?

I've wrote a small scheduler where I would like to send a GET request to an external API. Sending requests from my NativePHP application throws an SSL Certificate Problem.

$response = Http::timeout(3)->get('https://www.codebar.ch');

2023-07-21 02:53:28] local.ERROR: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.codebar.ch {"exception":"[object] (GuzzleHttp\\Exception\\RequestException(code: 0): cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.codebar.ch at /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:211)
[stacktrace]
#0 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(158): GuzzleHttp\\Handler\\CurlFactory::createRejection(Object(GuzzleHttp\\Handler\\EasyHandle), Array)
#1 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(110): GuzzleHttp\\Handler\\CurlFactory::finishError(Object(GuzzleHttp\\Handler\\CurlHandler), Object(GuzzleHttp\\Handler\\EasyHandle), Object(GuzzleHttp\\Handler\\CurlFactory))
#2 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(47): GuzzleHttp\\Handler\\CurlFactory::finish(Object(GuzzleHttp\\Handler\\CurlHandler), Object(GuzzleHttp\\Handler\\EasyHandle), Object(GuzzleHttp\\Handler\\CurlFactory))
#3 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\\Handler\\CurlHandler->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)
#4 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(48): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)
#5 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(1225): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)
#6 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(1191): Illuminate\\Http\\Client\\PendingRequest->Illuminate\\Http\\Client\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)
#7 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(1177): Illuminate\\Http\\Client\\PendingRequest->Illuminate\\Http\\Client\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)
#8 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(35): Illuminate\\Http\\Client\\PendingRequest->Illuminate\\Http\\Client\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)
#9 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Middleware.php(38): GuzzleHttp\\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)
#10 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(71): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)
#11 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Middleware.php(63): GuzzleHttp\\RedirectMiddleware->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)
#12 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/HandlerStack.php(75): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)
#13 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Client.php(333): GuzzleHttp\\HandlerStack->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)
#14 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Client.php(169): GuzzleHttp\\Client->transfer(Object(GuzzleHttp\\Psr7\\Request), Array)
#15 /Users/sebastian/Projects/native/vendor/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\\Client->requestAsync('GET', Object(GuzzleHttp\\Psr7\\Uri), Array)
#16 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(1039): GuzzleHttp\\Client->request('GET', 'https://www.cod...', Array)
#17 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(892): Illuminate\\Http\\Client\\PendingRequest->sendRequest('GET', 'https://www.cod...', Array)
#18 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Support/helpers.php(248): Illuminate\\Http\\Client\\PendingRequest->Illuminate\\Http\\Client\\{closure}(1)
#19 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(932): retry(0, Object(Closure), 100, Object(Closure))
#20 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(769): Illuminate\\Http\\Client\\PendingRequest->send('GET', 'https://www.cod...', Array)
#21 /Users/sebastian/Projects/native/app/Console/Commands/ProjectStatusUpdateCommand.php(49): Illuminate\\Http\\Client\\PendingRequest->get('https://www.cod...')
#22 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(98): App\\Console\\Commands\\ProjectStatusUpdateCommand->App\\Console\\Commands\\{closure}(Object(App\\Models\\Project), 0)
#23 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(53): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Concerns\\{closure}(Object(Illuminate\\Database\\Eloquent\\Collection), 1)
#24 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(102): Illuminate\\Database\\Eloquent\\Builder->chunk(1000, Object(Closure))
#25 /Users/sebastian/Projects/native/app/Console/Commands/ProjectStatusUpdateCommand.php(57): Illuminate\\Database\\Eloquent\\Builder->each(Object(Closure))
#26 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Console\\Commands\\ProjectStatusUpdateCommand->handle()
#27 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#28 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#29 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#30 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#31 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Console/Command.php(208): Illuminate\\Container\\Container->call(Array)
#32 /Users/sebastian/Projects/native/vendor/symfony/console/Command/Command.php(326): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#33 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Console/Command.php(178): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#34 /Users/sebastian/Projects/native/vendor/symfony/console/Application.php(1081): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#35 /Users/sebastian/Projects/native/vendor/symfony/console/Application.php(320): Symfony\\Component\\Console\\Application->doRunCommand(Object(App\\Console\\Commands\\ProjectStatusUpdateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#36 /Users/sebastian/Projects/native/vendor/symfony/console/Application.php(174): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#37 /Users/sebastian/Projects/native/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#38 /Users/sebastian/Projects/native/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 {main}
"} 

How to reproduce the bug

Run php artisan native:serve

Send a HTTP GET request within a scheduler

$response = Http::timeout(3)->get('https://www.codebar.ch');

Package Version

0.1

PHP Version

8.2

Laravel Version

10.*

Which operating systems does with happen with?

macOS

Notes

Workaround enable withoutVerifying the request.

Http::withoutVerifying()->timeout(3)->get($project->url);

[Bug]: Database file at path [database/database.sqlite] does not exist. Ensure this is an absolute path to the database.

What happened?

custom sqlite database is not working and not found

DB_CONNECTION=sqlite
DB_DATABASE=database/database.sqlite
DATABASE_URL=/database/database.sqlite
DB_FOREIGN_KEYS=false
NATIVEPHP_DATABASE_PATH=/database/database.sqlite

How to reproduce the bug

Run artisan nativephp:serve

Package Version

0.1.0

PHP Version

8.2.0

Laravel Version

10.10

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: php artisan native:install keep failing

What happened?

npm ERR! git dep preparation failed
npm ERR! signal SIGINT
npm ERR! command /opt/homebrew/Cellar/node/20.5.0/bin/node /opt/homebrew/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/heping/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/electron
npm ERR! npm WARN dev electron@"^25.0.1" from the root project
npm ERR! npm WARN 4 more (@electron/remote, @types/electron, menubar, @electron-toolkit/utils)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer electron@"^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0" from [email protected]
npm ERR! npm WARN node_modules/menubar
npm ERR! npm WARN menubar@"^9.3.0" from the root project

npm ERR! A complete log of this run can be found in: /Users/heping/.npm/_logs/2023-07-22T16_36_55_230Z-debug-0.log

How to reproduce the bug

php artisan native:install

npm ERR! git dep preparation failed
npm ERR! signal SIGINT
npm ERR! command /opt/homebrew/Cellar/node/20.5.0/bin/node /opt/homebrew/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/heping/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/electron
npm ERR! npm WARN dev electron@"^25.0.1" from the root project
npm ERR! npm WARN 4 more (@electron/remote, @types/electron, menubar, @electron-toolkit/utils)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer electron@"^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0" from [email protected]
npm ERR! npm WARN node_modules/menubar
npm ERR! npm WARN menubar@"^9.3.0" from the root project

npm ERR! A complete log of this run can be found in: /Users/heping/.npm/_logs/2023-07-22T16_36_55_230Z-debug-0.log

Package Version

0.1.0

PHP Version

8.1.7

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

fail

[Bug]: Php binary /vendor/nativephp/electron/resources/js/resources/php: 1: Syntax error: "(" unexpected

What happened?

Error: Command failed: /home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php artisan native:config
/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php: 1: Syntax error: "(" unexpected

at ChildProcess.exithandler (node:child_process:430:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Pipe.<anonymous> (node:net:322:12) {

code: 2,
killed: false,
signal: null,
cmd: '/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php artisan native:config',
stdout: '',
stderr: '/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php: 1: Syntax error: "(" unexpected\n'
}

API server started on port 4000

Starting PHP server... /home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php artisan serve /home/sayed/Desktop/DesktopApps/ray

Making sure app folders are available

Migrating database...

/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/resources/php: 1: Syntax error: "(" unexpected

How to reproduce the bug

php artisan native:serve

Package Version

0.10

PHP Version

8.1

Laravel Version

10

Which operating systems does with happen with?

Linux

Notes

No response

How can I modify the ini that is used by the bundled PHP executable?

Use case: I need to increase the max post size from the default 2M to something larger.

Is there a default directory that the bundled exec looks for an *.ini in? Going through the Application Support folder or the source for the electron/laravel packages didn't reveal any hints.

Thanks!

[Bug]: app.dock.setIcon Error

What happened?

(node:59338) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setIcon')
at NativePHP. (/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:81:26)
at Generator.next ()
at /home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:8:71
at new Promise ()
at __awaiter (/home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:4:12)
at /home/sayed/Desktop/DesktopApps/ray/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:78:36
(Use electron --trace-warnings ... to show where the warning was created)

How to reproduce the bug

php artisan native:serve

Package Version

0.10

PHP Version

8.1

Laravel Version

10

Which operating systems does with happen with?

Linux

Notes

No response

[Bug]: sh: 1: cross-env: Permission denied

What happened?

Running php artisan native:publish, when reaching [email protected] publish:mac-arm

The command cross-env npm run build && cross-env electron-builder -p always --mac --config --arm64 -p always is attempted.

However error message sh: 1: cross-env: Permission denied is given.

How to reproduce the bug

Below is an example dockerfile with the exact base image and commands used to replicate this issue.

FROM --platform=linux/amd64 php:8.2.5-fpm

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash -
RUN apt-get -y install nodejs
RUN npm install --global yarn


ARG USER_ID=1000
ARG GROUP_ID=1000

RUN addgroup --gid $GROUP_ID user
RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID user
RUN usermod -aG www-data user


USER user

The user user runs all NativePHP's install and publish commands. I realise it's trying to install a Mac version, but it shouldn't stop the build from happening.

Package Version

0.1.0

PHP Version

8.2.5

Laravel Version

10.14.1

Which operating systems does with happen with?

Linux

Notes

No response

[Bug]: TypeError: Cannot read properties of undefined (reading 'setIcon')

What happened?

I getting this error when run my laravel app with nativephp

[7075:0721/100333.390724:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[7075:0721/100333.390847:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property

(node:7075) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'setIcon')
at NativePHP. (/home/septiandev/Development/my-laravel-boilerplate/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:81:26)
at Generator.next ()
at /home/septiandev/Development/my-laravel-boilerplate/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:8:71
at new Promise ()
at __awaiter (/home/septiandev/Development/my-laravel-boilerplate/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:4:12)
at /home/septiandev/Development/my-laravel-boilerplate/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/index.js:78:36
(Use electron --trace-warnings ... to show where the warning was created)

(node:7075) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

How to reproduce the bug

When i run native:serve command it give me this error

Package Version

0.1.0

PHP Version

8.1

Laravel Version

10.2

Which operating systems does with happen with?

Linux

Notes

No response

[Feature_request]: Run NativePHP withthout Laravel

This is a feature request

Can it be possible to use NativePHP as a wrapper without having to install Laravel? Making it possible for us to run vanilla PHP with vanilla HTML & CSS + JS. Something similar to what PHP DESKTOP does.

It can of course be installed via composer.

If this is already possible, kindly share some documentations we can use to achieve this. Currently, only Laravel dependant NativePHP docs are available.

[Bug]: TTY mode is not supported on Windows platform.

What happened?

when i start by
native:serve i got this error
TTY mode is not supported on Windows platform.

How to reproduce the bug

i using a windows 11
i dont know if it's count

Package Version

0.1.0

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

No response

Notes

No response

[Bug]: MenuBar Feature not working

What happened?

I created a new Laravel app and installed the package according to the tutorial. Then I tried to create a MenuBar application according to the doc. However, the icon is never displayed in the MenuBar.

How to reproduce the bug

// in the NativeAppServiceProvider
 MenuBar::create()
            ->width(400)
            ->height(400)
            ->alwaysOnTop()
            ->url('https://christophstockinger.com')
            ->label('Hallo')->open();

Package Version

0.1.0

PHP Version

8.2.6

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

Mac-Book Pro 14" - 2023
Apple M2 Max
macOs 13.2 (22D49)

[Bug][laravel]: ERROR Command "native:install" is not defined. Did you mean one of these?

What happened?

i firstly installed the wrapper for Laravel from composer using this command

  composer require nativephp/laravel

then i uses this command to publish the native app as the doc say

php artisan native:install

i got error above and includes the screen shoot
Screenshot from 2023-07-21 03-07-18

How to reproduce the bug

when i used the command

php artisan native:install

i saw the below error
Screenshot from 2023-07-21 03-07-18

Package Version

0.1.0

PHP Version

8.2

Laravel Version

10.0

Which operating systems does with happen with?

Linux

Notes

same thing happens when using the command

php artisan native:serve

Screenshot from 2023-07-21 03-15-30

[Bug]: "Your requirements could not be resolved to an installable set of packages."

What happened?

composer require nativephp/electron
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112

Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/Repository/ArrayRepository.php:277
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:777
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:782
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Composer\Repository\CompositeRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/Repository/CompositeRepository.php:180
Deprecation Notice: Implicit conversion from float 206.04 to int loses precision in phar:///usr/local/bin/composer/src/Composer/Platform/Version.php:100
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^0.1.1 for nativephp/electron
./composer.json has been updated
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Finder.php:675
Deprecation Notice: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Finder.php:732
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with FilterIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/FilterIterator.php:30
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php:42
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:85
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:113
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php:65
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:55
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:71
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php:76
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/FilterIterator.php:30
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\DateRangeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php:41
Deprecation Notice: Return type of Symfony\Component\Finder\Iterator\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/vendor/symfony/finder/Iterator/PathFilterIterator.php:27
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/local/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php:48
Running composer update nativephp/electron
Loading composer repositories with package information
Deprecation Notice: Implicit conversion from float 206.04 to int loses precision in phar:///usr/local/bin/composer/src/Composer/Platform/Version.php:100
Info from https://repo.packagist.org: #StandWithUkraine
Deprecation Notice: Return type of Composer\DependencyResolver\Pool::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:76
Updating dependencies
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php:116
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSet::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php:101
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Decisions.php:155
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Decisions.php:165
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Decisions.php:160
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Decisions.php:170
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Decisions.php:150
Deprecation Notice: Return type of Composer\DependencyResolver\Decisions::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Decisions.php:145
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:36
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:46
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:41
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:89
Deprecation Notice: Return type of Composer\DependencyResolver\RuleSetIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetIterator.php:70
Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Problem.php:308
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires nativephp/electron ^0.1.1 -> satisfiable by nativephp/electron[0.1.1].
- nativephp/electron 0.1.1 requires illuminate/contracts ^10.0 -> found illuminate/contracts[v10.0.0, ..., v10.15.0] but these were not loaded, likely because it conflicts with another require.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

How to reproduce the bug

composer require nativephp/electron

Package Version

0.1.0

PHP Version

8.1.21

Laravel Version

9.52.10

Node Version

18.8.0

Which operating systems does with happen with?

macOS

Notes

M1 Mac.

[Bug]: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile

What happened?

Running artisan nativephp:serve produces a yarn error

How to reproduce the bug

Run artisan nativephp:serve

Package Version

0.1.0

PHP Version

8.2.6

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

This is the error i get when trying to get this running on my MacBook. As a side note, i have had this running successfully on my Mac Studio, so not sure what's going on here 😕

Starting NativePHP dev server…
Fetching latest dependencies…
Starting NativePHP app…
Internal Error: NativePHP@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
    at V0.getCandidates (/Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:435:5145)
    at kf.getCandidates (/Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:391:1264)
    at /Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:439:8033
    at df (/Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:390:11070)
    at ge (/Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:439:8013)
    at async Promise.allSettled (index 0)
    at async io (/Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:390:10398)
    at async /Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:439:8545
    at async ti.startProgressPromise (/Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:390:47579)
    at async je.resolveEverything (/Users/user/.volta/tools/image/yarn/3.6.1/bin/yarn.js:439:6573)

[Bug]: php artisan native:install fails to publish config

What happened?

The native:install command publishes the service provider but does not publish the nativephp.php config to the config folder.

How to reproduce the bug

Run the native:install command

Package Version

current

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: Unhandled exception when running native:serve

What happened?

When running the php artisan native:serve command, it returns an unhandled exception when calling php.

I see an electron app starting in the dock, but when I click on it, only the default menu appears on top, I thought a window should appear.

Please note that I'm used to Symfony and never developed in Laravel 🙂

Thanks for your help 🙏

How to reproduce the bug

When I run the native:serve command, I see this error:

Starting NativePHP dev server…
Fetching latest dependencies…
Starting NativePHP app…
yarn run v1.22.19
warning package.json: No license field
$ electron-vite dev --watch
vite v4.3.9 building for development...

watching for file changes...

build started...
✓ 4 modules transformed.
out/main/index.js  0.54 kB
built in 81ms.

build the electron main process successfully

-----

vite v4.3.9 building for development...

watching for file changes...

build started...
transforming (1) src/preload/index.js"contextBridge" and "ipcRenderer" are imported from external module "electron" but never used in "src/preload/index.js".
✓ 1 modules transformed.
out/preload/index.js  0.70 kB
built in 15ms.

build the electron preload files successfully

-----

dev server running for the electron renderer process at:

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose

start electron app...

Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at spawn (node:child_process:783:9)
    at execFile (node:child_process:359:17)
    at node:child_process:252:21
    at node:electron/js2c/asar_bundle:2:3130
    at /Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:47:69
    at Generator.next (<anonymous>)
    at /Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:4:12) {
  errno: -86,
  code: 'Unknown system error -86',
  syscall: 'spawn'
}

API server started on port 4000

Starting PHP server... /Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/resources/php artisan serve /Users/xxxxxx/source/stocking-native-php

Making sure app folders are available

(node:57727) UnhandledPromiseRejectionWarning: Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at spawn (node:child_process:783:9)
    at callPhp (/Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:53:38)
    at /Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:135:9
    at Generator.next (<anonymous>)
    at /Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:4:12)
    at /Users/xxxxxx/source/stocking-native-php/vendor/nativephp/electron/resources/js/node_modules/nativephp-electron/dist/server/php.js:118:45
    at new Promise (<anonymous>)
(Use `Electron --trace-warnings ...` to show where the warning was created)

(node:57727) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

I also see an electron app starting in the dock, but when I click on it, only the menu appears on top.

Package Version

0.1.0

PHP Version

8.1.17

Laravel Version

10.15.0

Node Version

v19.8.1

Which operating systems does with happen with?

macOS

Notes

I first had the missing resources, for which I found a workaround in the issues.
Then I also tried to move the local php executable into the vendor/bin, without more success.

[Bug]: this package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile

What happened?

after running php artisan native:serve it shows this

This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
at V0.getCandidates (/home/noman/www/native/.yarn/releases/yarn-3.6.1.cjs:435:5145)
at kf.getCandidates (/home/noman/www/native/.yarn/releases/yarn-3.6.1.cjs:391:1264)
at /home/noman/www/native/.yarn/releases/yarn-3.6.1.cjs:439:8033
at df (/home/noman/www/native/.yarn/releases/yarn-3.6.1.cjs:390:11070)
at ge (/home/noman/www/native/.yarn/releases/yarn-3.6.1.cjs:439:8013)

How to reproduce the bug

php artisan native:serve

Package Version

1.0.0

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

Linux

Notes

No response

[Bug]: nativephp:publish duplicates the resources/** directory in both app.asar and app.asar.unpacked

What happened?

Running php artisan nativephp:publish results in packages that are slightly larger than they should be because both MyApp.app/Contents/Resources/app.asar.unpacked and MyApp.app/Contents/Resources/app.asar contain the resources directory.

Additionally it would be nice to be able to hook into the build process to perform further project specific tweaks to improve package size, i.e. removing unused locales.

How to reproduce the bug

  1. Run php artisan native:publish
  2. Check the contents of MyApp.app/Contents/Resources/app.asar.unpacked and you'll see the resources directory that contains the app icons and the Laravel project folder in its entirety.
  3. Check the contents of MyApp.app/Contents/Resources/app.asar (you can use the asar utility for this, npm install -g asar, and then asar extract dist/mac-arm64/MyApp.app/Contents/Resources/app.asar dist/mac-arm64/MyApp.app/Contents/Resources/asar-unpacked-manual` and you'll see that the resources directory is also present here.

Package Version

1.0.0

PHP Version

8.2.0

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: php artisan native:install not working

What happened?

I'm trying to installing it on Laravel10 but it's stuck on php artisan native:installIt's stuck on below line.

[14052:0721/201235.876:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

How to reproduce the bug

npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.

[email protected] postinstall
electron-builder install-app-deps

[main 2023-07-21T15:10:36.459Z] update#setState idle
[main 2023-07-21T15:10:40.813Z] WSL is not installed, so could not detect WSL profiles
[main 2023-07-21T15:11:06.480Z] update#setState checking for updates
[main 2023-07-21T15:11:06.673Z] update#setState idle
[14052:0721/201235.876:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

Package Version

0.1.0

PHP Version

8.1

Laravel Version

10.5

Which operating systems does with happen with?

Windows

Notes

No response

[Bug]: TTY mode is not supported on Windows platform.

What happened?

I try to install and setup in my system, but its show some error in console
![Screenshot 2023-07-22 153145](https://github.com/NativePHP/laravel/assets/56077288/a66f551f-745d-4701-ab
Screenshot 2023-07-22 153208
f4-2196ef12ef59)

How to reproduce the bug

setup a laravel first and try to setup the nativephp

Package Version

0.1.0

PHP Version

8.0.0

Laravel Version

10.0.0

Which operating systems does with happen with?

Windows

Notes

Please update with some demo

[Question] How to rename Library/Application Support folder

Currently, when initiating a NativePHP app, a NativePHP folder within your Library/Application Support Folder will be created. Can the folder name be set based on the application name? I assume. Otherwise, there will be a conflict with running multiple NativePHP Applications.

CleanShot 2023-07-20 at 19 08 33@2x

[Bug]: 'nativephp-electron@^1.0.0' is not in this registry.

when i run the command php artisan native:build i'm receiving the following error.

Error: Cannot find module '/Users/sebastian/Projects/native/vendor/nativephp/electron/resources/js/php.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Maybe thats an version reference issue?

CleanShot 2023-07-20 at 22 06 47@2x

Full Output

sebastian@sebastian native % php artisan native:build
Build NativePHP app…
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/nativephp-electron - Not found
npm ERR! 404 
npm ERR! 404  'nativephp-electron@^1.0.0' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/sebastian/.npm/_logs/2023-07-21T02_17_05_238Z-debug-0.log
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 0 updates, 37 removals
  - Removing theseer/tokenizer (1.2.1)
  - Removing symfony/yaml (v6.3.0)
  - Removing spatie/laravel-ignition (2.2.0)
  - Removing spatie/ignition (1.9.0)
  - Removing spatie/flare-client-php (1.4.1)
  - Removing spatie/backtrace (1.5.3)
  - Removing sebastian/version (4.0.1)
  - Removing sebastian/type (4.0.0)
  - Removing sebastian/recursion-context (5.0.0)
  - Removing sebastian/object-reflector (3.0.0)
  - Removing sebastian/object-enumerator (5.0.0)
  - Removing sebastian/lines-of-code (2.0.0)
  - Removing sebastian/global-state (6.0.1)
  - Removing sebastian/exporter (5.0.0)
  - Removing sebastian/environment (6.0.1)
  - Removing sebastian/diff (5.0.3)
  - Removing sebastian/complexity (3.0.0)
  - Removing sebastian/comparator (5.0.0)
  - Removing sebastian/code-unit-reverse-lookup (3.0.0)
  - Removing sebastian/code-unit (2.0.0)
  - Removing sebastian/cli-parser (2.0.0)
  - Removing phpunit/phpunit (10.2.6)
  - Removing phpunit/php-timer (6.0.0)
  - Removing phpunit/php-text-template (3.0.0)
  - Removing phpunit/php-invoker (4.0.0)
  - Removing phpunit/php-file-iterator (4.0.2)
  - Removing phpunit/php-code-coverage (10.1.2)
  - Removing phar-io/version (3.2.1)
  - Removing phar-io/manifest (2.0.3)
  - Removing nunomaduro/collision (v7.7.0)
  - Removing myclabs/deep-copy (1.11.1)
  - Removing mockery/mockery (1.6.4)
  - Removing laravel/sail (v1.23.1)
  - Removing laravel/pint (v1.10.5)
  - Removing hamcrest/hamcrest-php (v2.0.1)
  - Removing filp/whoops (2.15.3)
  - Removing fakerphp/faker (v1.23.0)
  0/27 [>---------------------------]   0%
 27/27 [============================] 100%
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.  

  laravel/sanctum ....................................................... DONE
  laravel/tinker ........................................................ DONE
  nativephp/electron .................................................... DONE
  nativephp/laravel ..................................................... DONE
  nesbot/carbon ......................................................... DONE
  nunomaduro/termwind ................................................... DONE

53 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

> [email protected] 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:1078
  throw err;
  ^

Error: Cannot find module '/Users/sebastian/Projects/native/vendor/nativephp/electron/resources/js/php.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.15.0

How to reproduce the bug

run php artisan native:build

Package Version

0.1

PHP Version

8.2

Laravel Version

10.*

Which operating systems does with happen with?

macOS

Notes

No response

[Bug]: php artisan native:serve requires yarn?

What happened?

Unable to serve NativePhp server via php artisan native:serve.
I am running MacOS and Laravel Valet.

How to reproduce the bug

  1. Installed Laravel.
  2. Installed NativePhp via composer
  3. Installed NativePhp via php artisan native:install
  4. Would you like to install the NativePHP NPM dependencies? (yes/no) [yes]:

yes

  1. Would you like to start the NativePHP development server (yes/no) [no]:

yes
and output is

Starting NativePHP dev server…
Fetching latest dependencies…
Starting NativePHP app…
sh: yarn: command not found
NativePHP scaffolding installed successfully.

Also running php artisan native:serve
Results in same output.

Package Version

Alpha Laracon release

PHP Version

8.1.19

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

Do I need to explicitly install and configure yarn for NativePhp?

Eagerly waiting to give it a try.
A lots of Love.

[Bug]: php artisan native:serve - Fails to open native app instance/UI

What happened?

When I run php artisan native:serve, the terminal fails to start the native application as per documentation expectations. Below is a screenshot attached.

Node version;

image

How to reproduce the bug

php artisan native:serve gets stuck at node unhandled promise rejection; see screenshot below;

image

Package Version

0.1.0

PHP Version

8.2.8

Laravel Version

10.10

Which operating systems does with happen with?

Linux

Notes

No response

[Bug]: Notification Facade does not exist

What happened?

Following the docs about notifications, it's stated there should be a Notification facade (Native\Laravel\Facades\Notification) but this facade does not exist.

How to reproduce the bug

See "What happened?".

Package Version

0.1.0

PHP Version

8.1.17

Laravel Version

10.15.0

Node Version

18.16.0

Which operating systems does with happen with?

macOS

Notes

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.