$ npm update [email protected]
$ npm update -d
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info attempt registry request try #1 at 5:33:55 PM
npm http request GET https://registry.npmjs.org/jshint
npm http 200 https://registry.npmjs.org/jshint
npm info ok
$ npm install jshint
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[email protected] node_modules\jshint
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], d [email protected], [email protected])
└── [email protected] ([email protected])
4
A
回答
0
试试这个(为OSX)
进入终端须藤乔敦 - R的$ USER的/ usr /本地
+0
虽然这是一种解决这个问题的方法,但我始终认为这是最不利的。而不是更改系统文件的所有者,运行'npm config set prefix $ HOME/.node_modules'更有意义https://docs.npmjs.com/getting-started/fixing-npm-permissions –
0
适用于我降级到节点v4.4.7并在终端中使用sudo chown -R $ USER/usr/local。
1
很抱歉这么晚才回复..
sudo npm install
尝试this..this作品对我来说,安装NPM
要更新使用这个..
sudo npm install -g [email protected]
3
NPM安装-g [email protected]
试试这个....应该工作
0
我可以修复它。 npm install minimatch + [email protected] sudo npm install -g [email protected] 试试这个。它对我有好处。
相关问题
- 1. npm WARN弃用[email protected]
- 2. npm WARN弃用[email protected]:请更新至minimatch 3.0.2或更高版本以避免RegExp DoS问题
- 3. NPM WARN弃用[email protected]但我有一个新的版本
- 4. npm WARN弃用[email protected]:使用uuid模块代替
- 5. NPM WARN弃用[email protected]:使用UUID模块代替
- 6. npm WARN EPEERINVALID [email protected]需要[email protected]^1.11.3但没有安装
- 7. angular2 2.0.0 UNMET PEER DEPENDENCY [email protected],npm WARN [email protected]需要[email protected]的同行
- 8. npm install -g [email protected]
- 9. npm WARN弃用[email protected]:此软件包已重新集成到npm中,现在已经过时npm
- 10. npm WARN:无法在wd中运行[email protected] npm安装semver
- 11. 警告安装NPM(NPM WARN [email protected]没有许可证场。)
- 12. NPM WARN [email protected]需要[email protected]^6.0.0的同行,但被安装任何
- 13. npm WARN [email protected]需要[email protected]^1.0.0的同行,但没有安装
- 14. Ajax请求升级到科尔多瓦5.0后失败+ [email protected]
- 15. 如何解决“npm WARN [email protected]没有存储库字段。”
- 16. 猫鼬 - 不推荐使用[email protected]:请升级到2.2.19或更高版本?
- 17. Gulp安装警告:“请更新到minimatch 3.0.2”
- 18. npm ERR!无关:[email protected]
- 19. [email protected](2016-12-15)NOT npm
- 20. React Native 0.43升级:[email protected]不满足其兄弟姐妹
- 21. npm WARN弃用xxx:我该怎么办?
- 22. Meteor - [email protected] or [email protected] UNMET DEPENDENCY
- 23. 升级到Debian 7.5;现在'[email protected]_2.14'未定义
- 24. 未满足的同级依赖[email protected]
- 25. 版本未找到:[email protected]
- 26. [email protected]无效
- 27. 从路由器弃用的2.0.0-rc.2迁移到[email protected]
- 28. npm找不到模块'minimatch'
- 29. NPM [email protected]无法正常安装
- 30. 使用[email protected]从“typings”移植到“@types”
npm WARN弃用[email protected]:请更新至minimatch 3.0.2或更高版本以避免RegExp DoS问题 –
这很好。你有问题吗?这个网站是编程问题,而不是转储一些终端输出的地方。 –
是的我的问题是你之前遇到过这个问题还是有一个想法如何解决它 –