-
Notifications
You must be signed in to change notification settings - Fork 108
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
pnpm项目使用npm下载插件报错 #166
Comments
Hello @wangmou-cmd. Your feedback has been received, and you will be notified in the issue area when the problem is resolved. |
? 如果不出意外的话,你下载其他依赖包也会报错吧,检查下网络环境看看 |
我的项目是pnpm vite创建的,node版本是16.20.2,npm版本是8.19.4,升级到18.20.2跟10.5.0也是报这个错误 |
我连接的是公司的网,检查网络连接结果是:你已连接到Internet。我们未发现你的网络有任何问题 |
你问题很简单: pnpm vite创建的, 决定了你依赖下载方式是pnpm, 你装包的时候就需要用pnpm 来安装, npm和pnpm的包管理原理你可以去看下 |
好的,谢谢你的解答,我已经成功 |
Version of js-screen-shot
1.9.9-rc.21
Operating system and its version
Windows
Browser and its version
无
Sandbox to reproduce
No response
What happened?
使用npm install js-web-screen-shot --save进行下拉报错:
PS D:\chenm\vue\取号机> npm install js-web-screen-shot --save
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\qd\AppData\Local\npm-cache_logs\2024-10-16T02_40_03_933Z-debug-0.log
PS D:\chenm\vue\取号机>
报错信息
The text was updated successfully, but these errors were encountered: