Hi @GiovanniVanore1 that error looks like it has something to do with your Angular configuration. I tried your code in our Angular ESM sample and it worked: https://github.com/Esri/jsapi-resources/tree/master/esm-samples/jsapi-angular-cli.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.