Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `sudo rm -rf node_modules`
- npm lsでエラーが出るとき
- ```bash
- ex.
- /Users/cometqp
- ├── vue@2.6.10
- ├── UNMET PEER DEPENDENCY webpack@^2.0.0 || ^3.0.0 || ^4.0.0
- └─┬ workbox-webpack-plugin@4.1.1
- ├─┬ @babel/runtime@7.4.2
- │ └── regenerator-runtime@0.13.2
- ├─┬ json-stable-stringify@1.0.1
- │ └── jsonify@0.0.0
- └─┬ workbox-build@4.1.1
- ├── @babel/runtime@7.4.2 deduped
- ├── common-tags@1.8.0
- ├─┬ fs-extra@4.0.3
- │ ├── graceful-fs@4.1.15
- │ ├─┬ jsonfile@4.0.0
- │ │ └── graceful-fs@4.1.15 deduped
- │ └── universalify@0.1.2
- ├─┬ glob@7.1.3
- │ ├── fs.realpath@1.0.0
- │ ├─┬ inflight@1.0.6
- │ │ ├── once@1.4.0 deduped
- │ │ └── wrappy@1.0.2
- │ ├── inherits@2.0.3
- │ ├─┬ minimatch@3.0.4
- │ │ └─┬ brace-expansion@1.1.11
- │ │ ├── balanced-match@1.0.0
- │ │ └── concat-map@0.0.1
- │ ├─┬ once@1.4.0
- │ │ └── wrappy@1.0.2 deduped
- │ └── path-is-absolute@1.0.1
- ├─┬ joi@14.3.1
- │ ├── hoek@6.1.2
- │ ├─┬ isemail@3.2.0
- │ │ └── punycode@2.1.1
- │ └─┬ topo@3.0.3
- │ └── hoek@6.1.2 deduped
- ├─┬ lodash.template@4.4.0
- │ ├── lodash._reinterpolate@3.0.0
- │ └─┬ lodash.templatesettings@4.1.0
- │ └── lodash._reinterpolate@3.0.0 deduped
- ├── pretty-bytes@5.1.0
- ├─┬ stringify-object@3.3.0
- │ ├── get-own-enumerable-property-symbols@3.0.0
- │ ├── is-obj@1.0.1
- │ └── is-regexp@1.0.0
- ├─┬ strip-comments@1.0.2
- │ ├─┬ babel-extract-comments@1.0.0
- │ │ └── babylon@6.18.0
- │ └─┬ babel-plugin-transform-object-rest-spread@6.26.0
- │ ├── babel-plugin-syntax-object-rest-spread@6.13.0
- │ └─┬ babel-runtime@6.26.0
- │ ├── core-js@2.6.5
- │ └── regenerator-runtime@0.11.1 extraneous
- ├─┬ workbox-background-sync@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-broadcast-update@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-cacheable-response@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├── workbox-core@4.1.1
- ├─┬ workbox-expiration@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-google-analytics@4.1.1
- │ ├── workbox-background-sync@4.1.1 deduped
- │ ├── workbox-core@4.1.1 deduped
- │ ├── workbox-routing@4.1.1 deduped
- │ └── workbox-strategies@4.1.1 deduped
- ├─┬ workbox-navigation-preload@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-precaching@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-range-requests@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-routing@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-strategies@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├─┬ workbox-streams@4.1.1
- │ └── workbox-core@4.1.1 deduped
- ├── workbox-sw@4.1.1
- └─┬ workbox-window@4.1.1
- └── workbox-core@4.1.1 deduped
- npm ERR! peer dep missing: webpack@^2.0.0 || ^3.0.0 || ^4.0.0, required by workbox-webpack-plugin@4.1.1
- npm ERR! extraneous: regenerator-runtime@0.11.1 /Users/cometqp/node_modules/babel-runtime/node_modules/regenerator-runtime
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement