You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to manually execute "composer install" and "npm install" but both ended successfully without do any change.
Steps to reproduce
The most simple way:
just download Herd
choose to create a New Site
select Jetstream
choose Livewire + Dark Mode + EmailVerification
set the destination folder
No any other file or setting changed.
Relevant log output
Executing task: npm run dev
> dev
> vite
X [ERROR] Expected identifier but found "import"
(define name):1:0:
1 │ import.meta.dirname
╵ ~~~~~~
X [ERROR] Expected identifier but found "import"
(define name):1:0:
1 │ import.meta.filename
╵ ~~~~~~
X [ERROR] Expected identifier but found "import"
(define name):1:0:
1 │ import.meta.url
╵ ~~~~~~
failed to load config from C:\PHP\_Herd\test_jetstream\vite.config.js
error when starting dev server:
Error: Build failed with 3 errors:
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
(define name):1:0: ERROR: Expected identifier but found "import"
at failureErrorWithLog (C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:1476:15)
at C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:945:25
at runOnEndCallbacks (C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:1316:45)
at buildResponseToResult (C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:943:7)
at C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:970:16
at responseCallbacks.<computed> (C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:622:9)
at handleIncomingPacket (C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:677:12)
at Socket.readFromStdout (C:\PHP\_Herd\test_jetstream\node_modules\esbuild\lib\main.js:600:7)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)
* The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command npm run dev" terminated with exit code: 1.
The text was updated successfully, but these errors were encountered:
Platform
Windows
Operating system version
Windows 10 (22H2)
System architecture
Intel (x86)
Herd Version
1.13.0
PHP Version
8.3.15
Bug description
Unable to run Asset building using Vite.
I tried to manually execute "composer install" and "npm install" but both ended successfully without do any change.
Steps to reproduce
The most simple way:
No any other file or setting changed.
Relevant log output
The text was updated successfully, but these errors were encountered: