Create Mapview on Angular Universal Error: export 'chartColorSets'

541
1
Jump to solution
10-26-2021 07:15 PM
YunusAhmadBaktir
New Contributor

Hello,

 

I have issue when add mapview using angular universal

Error when I run: npm run dev:ssr

./node_modules/@arcgis/core/widgets/support/chartUtils.js:138:12-18 - Error: export 'chartColorSets' (imported as 'n') was not found in '@esri/calcite-colors' (module has no exports)

 

0 Kudos
1 Solution

Accepted Solutions
AndyGup
Esri Regular Contributor

Hi @YunusAhmadBaktir we don't currently support using SSR with the ArcGIS JS API. Here is a blog post that might provide some hints: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/ssr-esm/.

View solution in original post

1 Reply
AndyGup
Esri Regular Contributor

Hi @YunusAhmadBaktir we don't currently support using SSR with the ArcGIS JS API. Here is a blog post that might provide some hints: https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/ssr-esm/.