<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Angular 17 would not start the server in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/angular-17-would-not-start-the-server/m-p/1575291#M86378</link>
    <description>&lt;P&gt;Good day everyone,&lt;/P&gt;&lt;P&gt;I am creating angular 17 app, after install esri js module, i get an error; " X [ERROR] No loader is configured for ".svg" files: node_modules/@arcgis/core/assets/esri/themes/base/images/Loading_Indicator_double_32.svg"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to install @angular-builders/custom-webpack, but its not working; below is typescript component&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { Component, OnInit } from '@angular/core';
import Map from '@arcgis/core/Map';
import MapView from '@arcgis/core/views/MapView';

@Component({
selector: 'app-cluster',
templateUrl: './cluster.component.html',
styleUrls: ['./cluster.component.css'],
})
export class ClusterComponent implements OnInit {
constructor() {}

ngOnInit(): void {
// Initialize the ArcGIS Map
const map = new Map({
basemap: 'topo-vector', // Options: 'streets', 'satellite', 'hybrid', etc.
});

const view = new MapView({
container: 'arcgis-map', // This references the div with id="arcgis-map"
map: map,
center: [34.8516, 31.0461], // Longitude, Latitude (example: Israel coordinates)
zoom: 10, // Zoom level
});
}
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;import { Component, OnInit, AfterViewInit } from '@angular/core';
import '@arcgis/core/assets/esri/themes/light/main.css';
import WebMap from "@arcgis/core/WebMap";
import MapView from "@arcgis/core/views/MapView";


@Component({
  selector: 'app-maps',
  templateUrl: './maps.component.html',
  styleUrls: ['./maps.component.css']
})
export class MapsComponent implements OnInit, AfterViewInit {

  constructor() { }

  ngOnInit(): void {
            his.initializeMap();
  }

  ngAfterViewInit(): void {
initialized
    this.initializeMap();
  }

  initializeMap(): void {
    // Create a new WebMap
    const webMap = new WebMap({
      portalItem: { id: 'f' } 
    });
    const mapView = new MapView({
      container: 'mapViewDiv',
      map: webMap 
    });

    mapView.when(() =&amp;gt; {
      console.log('Map and View are ready');
    });
  }

}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2025 14:11:18 GMT</pubDate>
    <dc:creator>Thales</dc:creator>
    <dc:date>2025-01-14T14:11:18Z</dc:date>
    <item>
      <title>Angular 17 would not start the server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/angular-17-would-not-start-the-server/m-p/1575291#M86378</link>
      <description>&lt;P&gt;Good day everyone,&lt;/P&gt;&lt;P&gt;I am creating angular 17 app, after install esri js module, i get an error; " X [ERROR] No loader is configured for ".svg" files: node_modules/@arcgis/core/assets/esri/themes/base/images/Loading_Indicator_double_32.svg"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to install @angular-builders/custom-webpack, but its not working; below is typescript component&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { Component, OnInit } from '@angular/core';
import Map from '@arcgis/core/Map';
import MapView from '@arcgis/core/views/MapView';

@Component({
selector: 'app-cluster',
templateUrl: './cluster.component.html',
styleUrls: ['./cluster.component.css'],
})
export class ClusterComponent implements OnInit {
constructor() {}

ngOnInit(): void {
// Initialize the ArcGIS Map
const map = new Map({
basemap: 'topo-vector', // Options: 'streets', 'satellite', 'hybrid', etc.
});

const view = new MapView({
container: 'arcgis-map', // This references the div with id="arcgis-map"
map: map,
center: [34.8516, 31.0461], // Longitude, Latitude (example: Israel coordinates)
zoom: 10, // Zoom level
});
}
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;import { Component, OnInit, AfterViewInit } from '@angular/core';
import '@arcgis/core/assets/esri/themes/light/main.css';
import WebMap from "@arcgis/core/WebMap";
import MapView from "@arcgis/core/views/MapView";


@Component({
  selector: 'app-maps',
  templateUrl: './maps.component.html',
  styleUrls: ['./maps.component.css']
})
export class MapsComponent implements OnInit, AfterViewInit {

  constructor() { }

  ngOnInit(): void {
            his.initializeMap();
  }

  ngAfterViewInit(): void {
initialized
    this.initializeMap();
  }

  initializeMap(): void {
    // Create a new WebMap
    const webMap = new WebMap({
      portalItem: { id: 'f' } 
    });
    const mapView = new MapView({
      container: 'mapViewDiv',
      map: webMap 
    });

    mapView.when(() =&amp;gt; {
      console.log('Map and View are ready');
    });
  }

}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 14:11:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/angular-17-would-not-start-the-server/m-p/1575291#M86378</guid>
      <dc:creator>Thales</dc:creator>
      <dc:date>2025-01-14T14:11:18Z</dc:date>
    </item>
  </channel>
</rss>

