首页 > npm problem

npm problem

npm WARN package.json myapp@0.0.0 No repository field.
npm WARN package.json myapp@0.0.0 No README data
npm WARN package.json myapp@0.0.0 No license field.

{
"name": "qixinuegoujie",
"version": "1.0.0",
"description": "qixi activity static page",
"main": "webpack.config.js",
"scripts": {

"build": "NODE_ENV=production webpack -p --config webpack.production.config.js",
"dev": "webpack-dev-server --devtool eval --progress --colors --hot --content-base build"

},
"author": "zhco",
"license": "ISC",
"devDependencies": {

"babel-core": "^5.8.23",
"babel-loader": "^5.3.2",
"css-loader": "^0.16.0",
"file-loader": "^0.8.4",
"jsx-loader": "^0.13.2",
"less": "^2.5.1",
"less-loader": "^2.2.0",
"style-loader": "^0.12.3",
"url-loader": "^0.5.6",
"webpack": "^1.12.0",
"webpack-dev-server": "^1.10.1"

},
"dependencies": {

"ajax": "0.0.4",
"flux": "^2.1.1",
"keymirror": "^0.1.1",
"normalize.css": "^3.0.3",
"object-assign": "^4.0.1",
"react": "^0.13.3"

},
"repository": {

"type": "git",
"url": "https://git.coding.net/zhco/pay.fanqie.im.git"

}
}


这个问题不大,只是说,你的 package.json 里,缺少一些配置。

最好是用 npm init 来创建 package.json 文件。

【热门文章】
【热门文章】