Am I the only one having this problem?
Previously, I created several projects in the same environment and everything was ok
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello.
During the installation stage of a new laravel 10 project, a failure occurs and errors appear in the terminal:
502.6 26 packages are looking for funding
502.6 run npm fund for details
507.1
507.1 added 1 package in 4s
507.1
507.1 1 package is looking for funding
507.1 run npm fund for details
535.0 npm ERR! code 1
535.0 npm ERR! path /usr/lib/node_modules/bun
535.0 npm ERR! command failed
535.0 npm ERR! command sh -c node install.js
535.0 npm ERR! Failed to find package "..../bun-linux-x64-baseline". You may have used the "--no-optional" flag when running "npm install".
535.0 npm ERR! Error: Failed to install package "bun"
535.0 npm ERR! at /usr/lib/node_modules/bun/install.js:311:11
535.0 npm ERR! at Generator.throw ()
535.0 npm ERR! at rejected (/usr/lib/node_modules/bun/install.js:35:27)
535.0 npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
535.0
535.0 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-11-06T09_00_52_538Z-debug-0.log
The problem occurs precisely when installing laravel with the command curl -s h...s://laravel.build/project name | bash without manual installation and assembly
Versions: Docker version 24.0.7 Docker Compose version v2.23.0 Ubuntu 22.04.3 LTS
How to overcome this problem?
The error you're encountering seems to be related to the installation of a package named bun via npm. This issue can occur due to a variety of reasons, such as compatibility issues, incorrect npm package versions, or problems with the specific package being installed. Here are some steps to troubleshoot and potentially resolve the problem:
pls shere dockerfile
Please or to participate in this conversation.