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
When I run npm run dev, I get this in the terminal:
failed to load config from /{project-root}/vite.config.js
error when starting dev server:
Error: The package "@esbuild/darwin-x64" could not be found, and is needed by esbuild.
If you are installing esbuild with npm, make sure that you don't specify the
"--no-optional" or "--omit=optional" flags. The "optionalDependencies" feature
of "package.json" is used by esbuild to install the correct binary executable
for your current platform.
Installing es-build via npm install es-build yields this instead:
Cannot start service: Host version "0.18.20" does not match binary version "0.19.5"
Using yarn works, however.
yarn install
yarn dev
Steps To Reproduce
Run composer create-project laravel/laravel example-app in the path of your choice. You can use a name other than "example-app".
Open in PhpStorm or VS Code.
Run npm i in terminal.
Run npm run dev in the terminal.
Install via npm install es-build and check if you get the second issue in the description.
I'm using an Intel Mac (OS: Sonoma 14.0), so the problem might not exist on Windows or Linux.
The text was updated successfully, but these errors were encountered:
Laravel Version
10.10
PHP Version
8.1
Database Driver & Version
No response
Description
When I run
npm run dev
, I get this in the terminal:Installing es-build via
npm install es-build
yields this instead:Using yarn works, however.
yarn install
yarn dev
Steps To Reproduce
composer create-project laravel/laravel example-app
in the path of your choice. You can use a name other than "example-app".npm i
in terminal.npm run dev
in the terminal.npm install es-build
and check if you get the second issue in the description.I'm using an Intel Mac (OS: Sonoma 14.0), so the problem might not exist on Windows or Linux.
The text was updated successfully, but these errors were encountered: