这里是仓库地址
先后尝试过 node 14.19.0 和 16.15.0
先后尝试过pnpx
和 npx
。
主要错误信息:
$ npx storybook init
storybook init - the simplest way to add a Storybook to your project.
• Detecting project type. ✓
• Adding Storybook support to your "Create React App" based project
attention => Storybook now collects completely anonymous telemetry regarding usage.
This information is used to shape Storybook's roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://storybook.js.org/telemetry
npm ERR! Cannot read properties of null (reading 'matches')
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\An\AppData\Local\npm-cache\_logs\2022-10-18T14_00_26_611Z-debug-0.log
An error occurred while installing dependencies.
老师可以帮忙看看吗?