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 installing Laravel Reverb via the php artisan install:broadcasting command, the installation process fails at the Node dependency installation step. The error message indicates a missing script: "build". This issue prevents the completion of the broadcasting setup. Additionally, neither the package.json file nor the node_modules folder is created during this process.
Steps To Reproduce
Steps To Reproduce
Create a new Laravel project:
laravel new project_name
Run the broadcasting installation command:
php artisan install:broadcasting
Choose to install Laravel Reverb when prompted.
Observed Behavior:
The installation proceeds until the Node dependencies are being installed. The process stops with the following error message:
npm ERR! Missing script: "build"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in: parth_to_logs
WARN Node dependency installation failed. Please run the following commands manually: npm install --save-dev laravel-echo pusher-js && npm run build.
Expected Behavior:
The Node dependencies should be installed successfully, and the broadcasting setup should complete without any errors.
The text was updated successfully, but these errors were encountered:
the reason is the Breeze starter kit which excludes or doesn't even bring the "package.json" and "node_modules", so the node dependency installation fails during Laravel Reverb configuration
Reverb Version
@beta
Laravel Version
^11.9
PHP Version
^8.2
Description
When installing Laravel Reverb via the
php artisan install:broadcasting
command, the installation process fails at the Node dependency installation step. The error message indicates a missing script: "build". This issue prevents the completion of the broadcasting setup. Additionally, neither the package.json file nor the node_modules folder is created during this process.Steps To Reproduce
Steps To Reproduce
Observed Behavior:
The installation proceeds until the Node dependencies are being installed. The process stops with the following error message:
npm ERR! Missing script: "build"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in: parth_to_logs
WARN Node dependency installation failed. Please run the following commands manually: npm install --save-dev laravel-echo pusher-js && npm run build.
Expected Behavior:
The Node dependencies should be installed successfully, and the broadcasting setup should complete without any errors.
The text was updated successfully, but these errors were encountered: