Missing required tag to publish?


#1

apm publish reports missing required tag to publish, but does not say which tag!

package.json looks like:

{
  "name": "rgb",
  "version": "0.1.0",
  "description": "Converts any color to RGB.",
  "main": "./lib/rgb",
  "license": "MIT",
  "repository": "https://github.com/hemanth/atom-rgb",
  "private": true,
  "activationEvents": [
    "RGB"
  ],
  "author": {
    "name": "Hemanth HM",
    "url": "http://h3manth.com"
  },
  "engines": {
    "atom": ">0.50.0"
  },
  "dependencies": {
    "rgb": "^0.0.1"
  }
}

What am I missing?


#2

My bad! Need a version.


#3

Having the same Problem here. Repo is:

Content of my package.json is, as follows

{
  "name": "atom-language-xquery",
  "version": "0.1.0",
  "description": "XQuery language support in Atom",
  "repository": {
    "type": "git",
    "url": "https://github.com/arolle/atom-language-xquery/"
  },
  "license": "GPLv3", 
  "engines": {
    "atom": "*"
  },
  "dependencies": {
  }
}

According to the docs on publishing a package all required fields exist. Though

$ apm publish

just returns

Missing required tag to publish

#4

apm publish 0.1.0 did it.