2017-04-06 3 views
4

enter image description here"npm install"はエラーメッセージ "invalid"を返します。それは何ですか?

画像を確認してください。

私はそれがpackage.jsonに関係しているとは思いますが、あまりよく分かりません。当初、私はmaterial-uiをインストールしてより多くの情報

のためにコメントへの返信


詳細なメッセージはここにある:

I:\> NPM-定型文を反応させるI材料-UI

[email protected]インストール:\反応し、定型

+を - [email protected]

| + - [email protected]

| + - [email protected]

| + - UNMET PEER DEPENDENCY [email protected]^15.4.2

| + - [email protected]

| + - [email protected]

| + - [email protected]

| | + - UNMET PEER DEPENDENCY [email protected]^15.4.2

| | ' - [email protected]

| + - [email protected]

| | ` - [email protected]

| ` - [email protected]

+ - 満たされていないPEER依存[email protected]^2.0.1

` - 満たされていないPEER依存[email protected]。 3

私はUNMET PEER DEPENDENCYをnpm installで修正しようとしていました。

最初の試みは、この与える:

[email protected] I:\反応し、定型

+ - 無効[email protected]

+ - 反応します[email protected]

` - UNMET PEER DEPENDENCY [email protected]。3

` - [email protected]

あなたは、これは私が出会った最初のinvalidで見ることができるように。

だから私はなぜこのinvalidがなぜ飛び出し、それを修正するのかを理解しようとしています。ここで詳細

にコメントに返信


package.jsonであり、セクション

"依存性" 依存性:{ "バベル-ポリフィル":「6.20。 0 "、 " chalk ":" 1.1.3 "、 "圧縮 ":" 1.6.2 "、 " cross-env ":" 3.1.3 "、 " express ":" 4.14.0 "、 "フォン「2.2.1」、「1.2.1」、「1.2.3」、「1.2.1」、「1.2.1」、「1.2.1」、「1.2.1」、「1.2.1」、 4 "、 " lodash ":" 4.17.2 "、 " minimist ":" 1.2.0 "、 " react ":" 15.4.1 "、 " react-dom ":" 15.4.1 "、 "react-helmet": "3.2.2"、 "react-intl": "2.1.5"、 "react-redux": "4.4.6"、 "react-router": "3.0.0" 、 "react-router-redux": "4.0.6"、 "react-router-scroll": "0.4.1"、 "redux": "3.6.0"、 "redux-immutable": " 3.08 "、 " redux-saga ":" 0.14.0 "、"1.0"、 "styled-components": "1.1.2"、 "警告": "3.0.0"、 " WHATWGフェッチ ": "2.0.1"}、

とdevDependencies部

"devDependencies":{ "バベル-CLI": "6.18.0"、 " babel- "6.2.1.0"、 "babel-eslint": "7.1.1"、 "babel-loader": "6.2.10"、 "babel-plugin-dynamic-import-node": "1.0" .0 "、"babel-plugin-react-intl": "2.2.0"、 "babel-plugin-react-transform": "2.0.2"、 "babel-plugin-react-intl": "babel-plugin-react-intl" 「6.9.1」、 「babel-plugin-transform-react-inline-elements」:「6.8.0」、 「babel-plugin-transform-react-constant-elements」"babel-preset-latest": "6.16.0"、 "babel-pre-set-react": "6.16.0"、 "babel-preset-react-hmre": "1.1.1"、 "babel-preset-stage-0": "6.16.0"、 "cheerio": "0.22.0"、 "循環依存性-plugin ":" 2.0.0 "、 " coveralls ":" 2.11.15 "、 " css-loader ":" 0.26.1 」、 「酵素」:「2.6.0」、 「eslint」:「3.11.1」、 「eslint-config-airbnb」:「13.0.0」、 「eslint-config-airbnb-base」: "10.0.1"、 "eslint-import-resolver-webpack": "0.8。0 "、 " eslint-plugin-import ":" 2.2.0 "、 " eslint-plugin-jsx-a11y ":" 2.2.3 "、 " eslint-plugin-react ":" 6.7.1 "、"eslint-plugin-redux-saga": "0.1.5"、 "eventsource-polyfill": "0.9.6"、 "exports-loader": "0.6.3"、 "ファイルローダー": "0.9.0"、 "html-loader": "0.4.4"、 "html-webpack-plugin": "2.24.1"、 "image-webpack-loader": "2.0.0"、 "import-loader": "0.6.5"、 "jest-cli": "18.0.0"、 "lint-staged": "3.2.1"、 "ngrok": "2.2.4"、 "node-plop": "0.5.4"、 "null-loader": "0.1.1"、 "offline-plugin": "4.5.2"、 "plop": "1.7.3"、 "pre-commit": "1.1.3"、 "react-addons-test-utils": "15.4 .1 "、 " rimraf ":" 2.5.4 "、 " shelljs ":" 0.7.5 "、 " sinon ":" 2.0.0-pre "、 " style-loader ":" 0.13.1 "、" Webpack-dev-middleware ":" 1.9.0 "、 " webpack-hot -middleware ":" 2.15.0 "}

+0

詳細情報を提供できますか?それ以外のものは上の出力とそれより下に出力されましたか? –

+0

@ E_net4もっと情報を追加しました! –

+0

プロジェクトのpackage.json、または少なくとも登録されている依存関係も含めてください。 –

答えて

関連する問題