NPM – How to fix “No readme data”

I have a simple package.json:

{
  "name": "camapaign",
  "version": "0.0.1",
  "scripts": {
    "start": "node app.js"
  },
  "engines": {
    "node": "0.10.15",
    "npm": "1.3.5"
  },
  "repository": { 
    "type": "svn",
    "url": ""
  }
}

When I execute “npm install” i get the following warning which I would like to fix:

"npm WARN package.json [email protected] No readme data."

I have tried adding “README.md” & “readme.txt” to the same dir as the package but with no joy. What am I missing?

6 Answers
6

Leave a Comment