Select to view content in your preferred language

Locale error when creating a map

50
0
yesterday
GauravMunjal
New Member

I am getting an error while loading locale when trying to create a map using local npm install.

See https://github.com/Gaurav0/test-arcgis-no-ember for a complete simplified reproduction that doesn't use any framework.

I have verified that the assetsPath is correct and that the translation is correctly served at http://localhost:9000/assets/esri/widgets/Attribution/t9n/Attribution.json

Steps: clone the repo and run npm installnpm build and then npm run serve.

Versions:

  • Chrome: 142
  • MacOS: 15.6.1 (Arm M1 Pro)
  • Nodejs: 20.19.6

[gaurav.munjal@MacBookPro test-arcgis-no-ember (master)]$ npm ls --all | grep -e @ArcGIS -e @esri 

  • ├─┬ @ArcGIS/core@4.34.8
  • │ ├─┬ @ArcGIS/toolkit@4.34.9
  • │ ├─┬ @esri/arcgis-html-sanitizer@4.1.0
  • │ ├── @esri/calcite-components@3.3.3 deduped
  • ├─┬ @ArcGIS/map-components@4.34.9
  • │ ├── @ArcGIS/core@4.34.8 deduped
  • │ ├─┬ @ArcGIS/lumina@4.34.9
  • │ │ ├── @ArcGIS/toolkit@4.34.9 deduped
  • │ ├── @ArcGIS/toolkit@4.34.9 deduped
  • │ ├── @esri/calcite-components@3.3.3 deduped
  • ├─┬ @esri/calcite-components@3.3.3
  • │ ├── @ArcGIS/lumina@4.34.9 deduped
  • │ ├── @ArcGIS/toolkit@4.34.9 deduped
  • │ ├── @esri/calcite-ui-icons@4.3.0

Gaurav Munjal

Tags (3)
0 Kudos
0 Replies