Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

travis ci npm release error "missing api_key"

Tags:

npm

travis-ci

See: https://travis-ci.org/Jeff-Tian/tplant/jobs/620447627

I have configured the api_key with

api_key: $NPM_TOKEN

and I am sure that the NPM_TOKEN was set and it can be verified by the echo command: enter image description here enter image description here

So who can help investigate where goes wrong?

The full travis ci config can be checked here:

https://travis-ci.org/Jeff-Tian/tplant/builds/620447623/config

like image 245
Jeff Tian Avatar asked Dec 04 '19 05:12

Jeff Tian


1 Answers

Finally found this thread: https://travis-ci.community/t/no-stash-entries-found-missing-api-key-failed-to-deploy/6029

And fixed by changing the travis.yml as per: https://github.com/Jeff-Tian/tplant/commit/0695ab29bff76a9da3300f549df32d10e4295daf

And opted out from beta by:

enter image description here

like image 108
Jeff Tian Avatar answered Oct 24 '22 17:10

Jeff Tian