callerc1 / shipit-npm

Npm tasks for shipit.
MIT License
21 stars 12 forks source link

shipit.config.npm.remote is false try running npm:init before npm:install #5

Closed tim-field closed 9 years ago

tim-field commented 9 years ago

I'm not sure what this message is getting at. I thought shipit-npm itself would call init first ?

Running 'npm:install' task...
shipit.config.npm.remote is false try running npm:init before npm:install
'npm:install' errored after 536 μs
tim-field commented 9 years ago

Its fixed in the latest commit. That first condition doesn't make much sense.

https://github.com/callerc1/shipit-npm/commit/12e0063658ff944ebb395a7f0edadd5ce9233384#diff-edf3ff3592304bb56fae753149eb721cL19

But v.0.1.1 isn't a valid install target currently.

npm ERR! argv "node" "/usr/bin/npm" "install" "shipit-npm@^0.1.1" "--save"
npm ERR! node v0.12.2
npm ERR! npm  v2.8.3
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: shipit-npm@'>=0.1.1 <0.2.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.0.3","0.0.4","0.0.5","0.1.0"]
callerc1 commented 9 years ago

Hi @timbofield looks like i forgot to publish should be all good now.

tim-field commented 9 years ago

Perfect thanks!