Hi jejuro,
I used kokolegorille’s trick: I added at the end of the /assets/app.js the line window.phoenix = require("phoenix");.
Then, in the browser’s console I called the socket like this:
var socket = new window.phoenix.Socket("/socket", {})
It worked for me and I finished the exercise from the book ![]()


















