Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
E:\Users\jinhetech.com>g:
G:\>cd nestle
G:\nestle>cd react-reactRouter-redux-bootstrap
G:\nestle\react-reactRouter-redux-bootstrap>npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for definitive documentation on these fields
and exactly what they do.
Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
name: (react-reactRouter-redux-bootstrap)
Sorry, name can no longer contain capital letters.
name: (react-reactRouter-redux-bootstrap) react
version: (1.0.0)
description: this is a demo for react-reactRouter-redux-ES6-webpack
entry point: (index.js)
test command: jingchenxu
git repository: (https://github.com/jingchenxu/react-reactRouter-redux-bootstrap
.git)
keywords: react|react-router|redux|ES6|webpack
author: jingchenxu
license: (ISC)
About to write to G:\nestle\react-reactRouter-redux-bootstrap\package.json:
{
"name": "react",
"version": "1.0.0",
"description": "this is a demo for react-reactRouter-redux-ES6-webpack",
"main": "index.js",
"scripts": {
"test": "jingchenxu"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jingchenxu/react-reactRouter-redux-bootstrap.
git"
},
"keywords": [
"react|react-router|redux|ES6|webpack"
],
"author": "jingchenxu",
"license": "ISC",
"bugs": {
"url": "https://github.com/jingchenxu/react-reactRouter-redux-bootstrap/issu
es"
},
"homepage": "https://github.com/jingchenxu/react-reactRouter-redux-bootstrap#r
eadme"
}
Is this ok? (yes) yes
G:\nestle\react-reactRouter-redux-bootstrap>npm install react --save
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "E:\\Program Files\\nodejs\\node.exe" "E:\\Users\\jinhetech.com\\A
ppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "react" "--s
ave"
npm ERR! node v4.4.4
npm ERR! npm v4.0.1
npm ERR! code ENOSELF
npm ERR! Refusing to install react as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! G:\nestle\react-reactRouter-redux-bootstrap\npm-debug.log
G:\nestle\react-reactRouter-redux-bootstrap>