Unpublish package


#1

I can’t unpublish package.

linter-clojure git/master
❯ apm unpublish

/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/lib/unpublish.js:110
version = name.substring(atIndex + 1);
^
TypeError: Cannot call method ‘substring’ of undefined
at Unpublish.module.exports.Unpublish.run (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/lib/unpublish.js:110:24)
at Object.module.exports.run (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/lib/apm-cli.js:221:32)
at Object. (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/lib/cli.js:6:7)
at Object. (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/lib/cli.js:17:4)
at Module._compile (module.js:456:26)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)

I what to republish it with different name


#2

The error looks like your package is missing a version value, which APM expects?


#3

sloved by apm unpublish linter-clj


#4

This thread might also help:


(scroll to end)