Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx fails to resolve 'esbuild' after updating to Deno 1.43.0 #23724

Closed
gazerro opened this issue May 7, 2024 · 1 comment · Fixed by #23730
Closed

npx fails to resolve 'esbuild' after updating to Deno 1.43.0 #23724

gazerro opened this issue May 7, 2024 · 1 comment · Fixed by #23730
Assignees
Labels

Comments

@gazerro
Copy link

gazerro commented May 7, 2024

Version: Deno 1.43.0

After updating to Deno 1.43.0, I am experiencing an issue where the npx command fails to resolve the 'esbuild' binary, which was working fine in previous versions up to Deno 1.42.4. This issue occurs when I attempt to run the npx esbuild ... task.

How to reproduce:

  1. mkdir test-deno
  2. cd test-deno
  3. npm init
  4. npm install esbuild
  5. deno init
  6. Add the task "minify": "npx esbuild --version"
  7. deno upgrade --version 1.42.4
  8. deno task minify, it prints: 0.21.0
  9. deno upgrade --version 1.43.0
  10. deno task minify, it prints: npx: could not resolve command 'esbuild'
@bartlomieju
Copy link
Member

CC @dsherret please take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants