[Tex/LaTex] apalike Bibliographystyle error with website link reference

apa-stylebibliographiesnatbib

I want to cite a website link as a reference using apalike bibliographystyle.
I have to use apalike as requested by the conference.

Here is the code:

\documentclass[times,10pt,twocolumn]{article}
\usepackage{PRADSConference}
\usepackage{times}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage[draft]{hyperref}
\usepackage{url}
\usepackage{authblk}
\pagestyle{empty}
\usepackage[round]{natbib}
\bibliographystyle{apalike}
\usepackage{amsmath} 
\usepackage{cleveref} 

\citep{lithium}
\bibliography{refs}
\end{document}

However, The output is not numbered as the rest of references as shown below

enter image description here

I wrote the reference in the bib file as follows

@Misc{lithium,
Title                    = {Lithium-ion Specifications},
HowPublished             = {\url{http://optimum-china.en.alibaba.com/product/437274726-212297973/rechargeable_HEV_EV_bus_battery_pack_of_lifepo4_600v_500ah.html}},
Note                     = {Accessed on: 10/02/2016}}

I also receive this error:

package natbib error bibliography not compatible with author-year citations

when I remove the website link reference from the .tex file, No errors are there and all reference are shown in author-year style as it should be as shown in picture

enter image description here

Best Answer

The apalike bibliography style is designed to create authoryear-style citation call-outs. However, the lithium entry is lacking both the author field and the year field. What is poor natbib -- at heart a citation management package -- supposed to do?

I suggest you create suitable author and year fields for the lithium entry, delete all aux files, and recompile your document fully (LaTeX, BibTeX, and LaTeX twice more.

Related Question