ActiveCampaign / postmark-cli

The official CLI tool for Postmark
https://postmarkapp.com
MIT License
79 stars 9 forks source link

Installation fails. #23

Closed weisisheng closed 4 years ago

weisisheng commented 4 years ago

After d'loading from npm, using "postmark" command raises error on Ubuntu 19.04 saying to install postmark using apt get but the referenced package is completely different.

Node.js: 12.16.1, npm 6.13.4

Please advise. Thanks.

derekrushforth commented 4 years ago

@weisisheng can you paste your console logs? What do you see when running which postmark?

weisisheng commented 4 years ago

Thanks for the checking...

npm i postmark-cli -g npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 /home/foo/.nvm/versions/node/v10.14.1/bin/postmark -> /home/foo/.nvm/versions/node/v10.14.1/lib/node_modules/postmark-cli/dist/index.js

then-->

$ postmark

Command 'postmark' not found, but can be installed with:

sudo apt install postmark

***this does not install the right "postmark"

weisisheng commented 4 years ago

I probably angered the node.js gods but installing with sudo on ubuntu 19.04 worked. Thanks!

derekrushforth commented 4 years ago

Got it. Thanks for the update!