I try to draw the text, but it is not drawn, why the error?
This is my code:
var a = document.getElementById("canvas");
var d = PIXI.autoDetectRenderer(200,200,a);
var ctx = new PIXI.Graphics();
document.body.appendChild(d.view);
var es = new PIXI.TextStyle({fontFamily: 'monospace',fontSize: '20px',fill: 'blue'});
var t = new PIXI.Text('Probando.',es);
t.y = 50;
t.x = 50;
d.stage.addChild(d);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.5.3/pixi.min.js"></script>
<title>JS Bin</title>
</head>
<body>
<canvas id="canvas"></canvas>
</body>
</html>