lovegnep/myblog_react

npm i好像不成功

Opened this issue · 1 comments

➜  myblog git:(master) npm i
npm WARN react-markdown-editor@0.6.2 requires a peer of react@^15.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-markdown-editor@0.6.2 requires a peer of react-addons-test-utils@^15.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-markdown-editor@0.6.2 requires a peer of react-dom@^15.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN reflux@0.4.1 requires a peer of react@>=0.13.0 <16 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: arr-flatten@1.1.0 (node_modules/arr-flatten):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: Cannot cd into '/Users/nali/myProject/myblog_react/myblog/node_modules/.staging/arr-flatten-ab1a4118'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: istanbul-lib-source-maps@1.2.4 (node_modules/istanbul-api/node_modules/istanbul-lib-source-maps):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: Cannot cd into '/Users/nali/myProject/myblog_react/myblog/node_modules/.staging/istanbul-lib-source-maps-ada568d2'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: npmlog@4.1.2 (node_modules/npmlog):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: Cannot cd into '/Users/nali/myProject/myblog_react/myblog/node_modules/.staging/npmlog-05708a2f'

npm ERR! Unexpected end of JSON input while parsing near '...0","compression":"^1.'

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/nali/.npm/_logs/2018-04-08T02_37_17_381Z-debug.log

you should install the react first by follow:
npm install -g react