"npm install" gives the error message "invalid", what is it?

enter image description here

Please check the image.

I think this is due to package.json, but I'm not very sure.


Reply to comment for more information.

At first I installed material-ui.

Detailed posts are here:

I: \ reaction-template> npm install material-ui

reaction -boilerplate@3.4.0 I: \ reaction-pattern

+ - material-ui@0.17.1

| + - keycode@2.1.8

| + - lodash.throttle@4.1.1

| + - INDEPENDENT INDEPENDENCE RECOMMENDATIONS @@ 1515.2

| + - react-addons-create-fragment@15.4.2

| + - react-addons-transition-group@15.4.2

| + - react-event-listener@0.4.3

| | + - @@1515.2

| | `- react-addons-shallow-compare@15.4.2

| + - recompose@0.22.0

| | `- change-emitter@0.1.3

| `- simple-assign@0.1.0

+ - -tap-event-plugin@^2.0.1

`- webpack@2.2.0-rc.3

UNMET npm install .

:

-boilerplate@3.4.0 I:\-

+ - react@15.4.2

+ - react-tap-event-plugin@2.0.1

`- webpack@2.2.0-rc.3

`- webpack-sources@0.1.5

, invalid, .

, , invalid .


package.json,

"": {      "babel- polyfill": "6.20.0",      "": "1.1.3",      "": "1.6.2",      "cross-env": "3.1.3",      "": "4.14.0",      "fontfaceobserver": "2.0.7",      "": "3.8.1",      "intl": "1.2.5",      "": "2.2.2",      "ip": "1.1.4",      "lodash": "4.17.2",      "minimist": "1.2.0",      "": "15.4.1" ,      "": "15.4.1" ,      " ": "3.2.2",      "-intl": "2.1.5",      "-": "4.4.6",      "-": "3.0.0",      "--": "4.0.6",      "--": "0,4,1",      "redux": "3.6.0",      "redux-immutable": "3.0.8",      "redux-saga": "0.14.0",      " ": "2.5.4",      "sanitize.css": "4.1.0",      " ": "1.1.2",      "": "3.0.0",      "whatwg-fetch": "2.0.1" },

devDependencies

"devDependencies": {      "babel-cli": "6.18.0",      "babel-core": "6.21.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-transform-es2015-modules-commonjs": "6.18.0",      "babel-plugin-transform-react-constant-elements": "6.9.1",      "babel-plugin-transform-react-inline-elements": "6.8.0",      "babel-plugin-transform-react-remove-prop-types": "0.2.11",      "babel-preset-latest": "6.16.0" ,      "babel-preset-": "6.16.0" ,      "babel-preset-react-hmre": "1.1.1",      "babel-preset-stage-0": "6.16.0" ,      "cheerio": "0.22.0",      "round-dependency-plugin": "2.0.0",      "": "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",      "export-loader": "0.6.3",      "-": "0.9.0",      "html-loader": "0.4.4",      "html-webpack-plugin": "2.24.1",      "image-webpack-loader": "2.0.0",      "-": "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",      "---": "15.4.1" ,      "rimraf": "2.5.4",      "shelljs": "0,7,5",      "sinon": "2.0.0-pre",      "-": "0.13.1",      "url-loader": "0.5.7",      "webpack": "2.2.0-rc.3",      "webpack-dev-middleware": "1.9.0",      "webpack-hot-middleware": "2.15.0" }

+4
2

, ​​ . webpack@2.2.0-rc3, ​​ 2.2.1. , (^) (~), , 2.2.1 .

React, 15.4.1 ^15.4.2, (, material-ui).

(/ ), (--save/-S --save-dev/-D).

npm install -S react@^15.4.2

, react-tap-event-plugin 2.2.0-rc3 webpack, webpack. npm update --dev, , . , , - node_modules .

+3

npm install Path\Filename.tgz, npm install, .

, Windows, \filename .

, , , . invalid .

package.json , .

0

Source: https://habr.com/ru/post/1674181/


All Articles