storybookjs / frontpage

🌐 The website for storybook.js.org
https://storybook.js.org
MIT License
216 stars 119 forks source link

[Bug] When click in the copy command button in "Addons" section , it copy "npx" instead of "npm" #704

Open claushellsing opened 2 months ago

claushellsing commented 2 months ago

Describe the bug

When click in the copy command button in "Addons" section , it copy "npx" instead of "npm" CleanShot 2024-09-04 at 08 39 20@2x

Steps to reproduce the behavior

  1. Go to 'https://storybook.js.org/addons/chromatic'
  2. Click on 'npm install chromatic' button
  3. Check the copied command
  4. See error

Expected behavior

It should copy 'npm install chromatic' but copy 'npx install chromatic'

Screenshots and/or logs

https://github.com/user-attachments/assets/a16eae3c-d15a-46dc-82f8-7eb7b160bea1