You may face this error when you add a Dojo component to a normal DOM element using the appendChild DOM API. This post shows you how to fix this issue: http://www.technicaladvices.com/2012/08/01/could-not-convert-javascript-argument-arg-0-nsidomhtmldivelement-appendchild/
Tags: 
nsidomhtmldivelement.appe...
convert
javascript
appendchild
domnode
argument
could
not