Closed korangcity closed 6 months ago
When I run php artisan native:serve , I see
php artisan native:serve
Starting NativePHP dev server… Fetching latest dependencies… Starting NativePHP app…
NativePHP@1.0.0 dev electron-vite dev --watch
/home/mahdi/Desktop/nativePhp/vendor/nativephp/electron/resources/js/node_modules/vite/dist/node-cjs/publicUtils.cjs:3314 enabled = !!DEBUG?.includes(ns); ^
SyntaxError: Unexpected token '.'
This problem does not let me to run app
1.0.0
8.1.2-1ubuntu2.13
10.17.1
v12.22.9
Linux
How can I fix this problem?
A few hints here:
nativephp/electron
Please update to nativephp/electron v0.6 and try again.
What happened?
When I run
php artisan native:serve
, I seeStarting NativePHP dev server… Fetching latest dependencies… Starting NativePHP app…
/home/mahdi/Desktop/nativePhp/vendor/nativephp/electron/resources/js/node_modules/vite/dist/node-cjs/publicUtils.cjs:3314 enabled = !!DEBUG?.includes(ns); ^
SyntaxError: Unexpected token '.'
How to reproduce the bug
This problem does not let me to run app
Package Version
1.0.0
PHP Version
8.1.2-1ubuntu2.13
Laravel Version
10.17.1
Node Version
v12.22.9
Which operating systems does with happen with?
Linux
Notes
How can I fix this problem?