$ 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]但我有一個新的版本
- 3. npm WARN棄用[email protected]:使用uuid模塊代替
- 4. NPM WARN棄用[email protected]:使用UUID模塊代替
- 5. angular2 2.0.0 UNMET PEER DEPENDENCY [email protected],npm WARN [email protected]需要[email protected]的同行
- 6. npm install -g [email protected]
- 7. NPM WARN [email protected]需要[email protected]^6.0.0的同行,但被安裝任何
- 8. npm WARN [email protected]需要[email protected]^1.0.0的同行,但沒有安裝
- 9. 如何解決「npm WARN [email protected]沒有存儲庫字段。」
- 10. Gulp安裝警告:「請更新到minimatch 3.0.2」
- 11. npm ERR!無關:[email protected]
- 12. React Native 0.43升級:[email protected]不滿足其兄弟姐妹
- 13. npm WARN棄用xxx:我該怎麼辦?
- 14. 版本未找到:[email protected]
- 15. [email protected]無效
- 16. 從路由器棄用的2.0.0-rc.2遷移到[email protected]
- 17. npm找不到模塊'minimatch'
- 18. 使用[email protected]從「typings」移植到「@types」
- 19. 在使用npm install buefy和npm install font-awesome時顯示[email protected]無關的` - [email protected]無關
- 20. NPM WARN棄用[email protected]:感謝您使用巴貝爾:我們建議現在用巴貝爾預設-ENV:請閱讀babeljs.io/env更新
- 21. [email protected]
- 22. 錯誤[email protected] 7
- 23. [email protected]需要[email protected]的同行,但沒有安裝
- 24. GAE發送郵件 - >如何更換[email protected]到[email protected]
- 25. 添加[email protected]到SVN
- 26. CREATE TABLE [email protected](..)
- 27. [email protected]與JAMES
- 28. 未找到兼容版本:[email protected]
- 29. 什麼是「[email protected]需要[email protected]~4.1.2同行,但沒有安裝」
- 30. [email protected]引起:java.io.NotSerializableException:
npm WARN棄用[email protected]:請更新至minimatch 3.0.2或更高版本以避免RegExp DoS問題 –
這很好。你有問題嗎?這個網站是編程問題,而不是轉儲一些終端輸出的地方。 –
是的我的問題是你之前遇到過這個問題還是有一個想法如何解決它 –