target container is not a dom element. react portal code example
Example: target container is not a dom element meteor
Add below line in
main.js of client
or
if you have added startup folder with client and server then in client index.js file
import './main.html';