Skip to content

'esbuild' is not recognized as an internal or external command #7549

@ghost

Description

[REQUIRED] Environment info

firebase-tools: 13.15.1

Platform: Windows

[REQUIRED] Test case

I am using the Web Frameworks Integrate for working with Next.js.

[REQUIRED] Steps to reproduce

I executed the firebase deploy command.

[REQUIRED] Expected behavior

The deployment process should not have any errors, but I found an error marked in red.

[REQUIRED] Actual behavior

Screenshot 2024-08-11 193300

'esbuild' is not recognized as an internal or external command,
operable program or batch file.
Failed to get global esbuild version: Error: Command failed: esbuild --version
'esbuild' is not recognized as an internal or external command,
operable program or batch file.

To resolve the above error, I ran the command npm install -g esbuild, which successfully fixed the issue.

Since the Firebase documentation does not mention installing esbuild, I believe esbuild should be bundled with the firebase-tools installation.

In my opinion, this error is likely linked to the second point outlined in the release notes below.

https://github.com/firebase/firebase-tools/releases/tag/v13.15.1

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions