Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. `sudo rm -rf node_modules`
  2.  
  3. npm lsでエラーが出るとき
  4.  
  5. ```bash
  6. ex.
  7.  
  8. /Users/cometqp
  9. ├── vue@2.6.10
  10. ├── UNMET PEER DEPENDENCY webpack@^2.0.0 || ^3.0.0 || ^4.0.0
  11. └─┬ workbox-webpack-plugin@4.1.1
  12. ├─┬ @babel/runtime@7.4.2
  13. │ └── regenerator-runtime@0.13.2
  14. ├─┬ json-stable-stringify@1.0.1
  15. │ └── jsonify@0.0.0
  16. └─┬ workbox-build@4.1.1
  17. ├── @babel/runtime@7.4.2 deduped
  18. ├── common-tags@1.8.0
  19. ├─┬ fs-extra@4.0.3
  20. │ ├── graceful-fs@4.1.15
  21. │ ├─┬ jsonfile@4.0.0
  22. │ │ └── graceful-fs@4.1.15 deduped
  23. │ └── universalify@0.1.2
  24. ├─┬ glob@7.1.3
  25. │ ├── fs.realpath@1.0.0
  26. │ ├─┬ inflight@1.0.6
  27. │ │ ├── once@1.4.0 deduped
  28. │ │ └── wrappy@1.0.2
  29. │ ├── inherits@2.0.3
  30. │ ├─┬ minimatch@3.0.4
  31. │ │ └─┬ brace-expansion@1.1.11
  32. │ │ ├── balanced-match@1.0.0
  33. │ │ └── concat-map@0.0.1
  34. │ ├─┬ once@1.4.0
  35. │ │ └── wrappy@1.0.2 deduped
  36. │ └── path-is-absolute@1.0.1
  37. ├─┬ joi@14.3.1
  38. │ ├── hoek@6.1.2
  39. │ ├─┬ isemail@3.2.0
  40. │ │ └── punycode@2.1.1
  41. │ └─┬ topo@3.0.3
  42. │ └── hoek@6.1.2 deduped
  43. ├─┬ lodash.template@4.4.0
  44. │ ├── lodash._reinterpolate@3.0.0
  45. │ └─┬ lodash.templatesettings@4.1.0
  46. │ └── lodash._reinterpolate@3.0.0 deduped
  47. ├── pretty-bytes@5.1.0
  48. ├─┬ stringify-object@3.3.0
  49. │ ├── get-own-enumerable-property-symbols@3.0.0
  50. │ ├── is-obj@1.0.1
  51. │ └── is-regexp@1.0.0
  52. ├─┬ strip-comments@1.0.2
  53. │ ├─┬ babel-extract-comments@1.0.0
  54. │ │ └── babylon@6.18.0
  55. │ └─┬ babel-plugin-transform-object-rest-spread@6.26.0
  56. │ ├── babel-plugin-syntax-object-rest-spread@6.13.0
  57. │ └─┬ babel-runtime@6.26.0
  58. │ ├── core-js@2.6.5
  59. │ └── regenerator-runtime@0.11.1 extraneous
  60. ├─┬ workbox-background-sync@4.1.1
  61. │ └── workbox-core@4.1.1 deduped
  62. ├─┬ workbox-broadcast-update@4.1.1
  63. │ └── workbox-core@4.1.1 deduped
  64. ├─┬ workbox-cacheable-response@4.1.1
  65. │ └── workbox-core@4.1.1 deduped
  66. ├── workbox-core@4.1.1
  67. ├─┬ workbox-expiration@4.1.1
  68. │ └── workbox-core@4.1.1 deduped
  69. ├─┬ workbox-google-analytics@4.1.1
  70. │ ├── workbox-background-sync@4.1.1 deduped
  71. │ ├── workbox-core@4.1.1 deduped
  72. │ ├── workbox-routing@4.1.1 deduped
  73. │ └── workbox-strategies@4.1.1 deduped
  74. ├─┬ workbox-navigation-preload@4.1.1
  75. │ └── workbox-core@4.1.1 deduped
  76. ├─┬ workbox-precaching@4.1.1
  77. │ └── workbox-core@4.1.1 deduped
  78. ├─┬ workbox-range-requests@4.1.1
  79. │ └── workbox-core@4.1.1 deduped
  80. ├─┬ workbox-routing@4.1.1
  81. │ └── workbox-core@4.1.1 deduped
  82. ├─┬ workbox-strategies@4.1.1
  83. │ └── workbox-core@4.1.1 deduped
  84. ├─┬ workbox-streams@4.1.1
  85. │ └── workbox-core@4.1.1 deduped
  86. ├── workbox-sw@4.1.1
  87. └─┬ workbox-window@4.1.1
  88. └── workbox-core@4.1.1 deduped
  89.  
  90. npm ERR! peer dep missing: webpack@^2.0.0 || ^3.0.0 || ^4.0.0, required by workbox-webpack-plugin@4.1.1
  91. npm ERR! extraneous: regenerator-runtime@0.11.1 /Users/cometqp/node_modules/babel-runtime/node_modules/regenerator-runtime
  92. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement