but I have no success.
Does it require a feature service?
Solved! Go to Solution.
No more errors but not showing me clusters.
I have got this strange proxy issue:
esri.config.defaults.io.proxyUrl is not set. If making a request to a CORS enabled server, please push the domain into esri.config.defaults.io.corsEnabledServers.
I am not dealing withe external data so not too sure why I would need a proxy.