Download Experience Builder via CMD

345
4
03-05-2024 07:49 AM
jasminearora
New Contributor

Please help to fix below issue while downloading experience Builder via cmd 


$ npx arcgis-lib-downloader -p arcgis-experience-builder -v 1.13
Product arcgis-experience-builder is not available.



Script contents:
npx arcgis-lib-downloader -p arcgis-experience-builder -v 1.13
========================== Starting Command Output ===========================
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/260ffc52-1fe2-4e5a-b10a-0ed4eef4e254.sh
npm WARN exec The following package was not found and will be installed: arcgis-lib-downloader@2.3.0
Product arcgis-experience-builder is not available.



0 Kudos
4 Replies
JoshGore
New Contributor III

Also started having this issue today. It's broken all our devops pipelines. @GavinRehkemper has something changed? I get an empty list when running --list-products.

0 Kudos
jasminearora
New Contributor

@JoshGore Did you get any solution for this. If yes, Please share.

0 Kudos
GavinRehkemper
Esri Contributor

Hi, it looks like the way of downloading the libraries changed. Here's how I changed my sample:

https://github.com/gavinr-maps/experience-builder-devops-example/blob/4a856844af8a2c11ece1c6abeb00c5...

 

 

JoshGore
New Contributor III

Nice thanks for that!

For us as an alternative I've uploaded exb as a npm package to our private npm feed and then run a post install script to copy it to the location we want it in. This means we can treat exb as a dependency like every other dependency, and can bundle in any patches the team has put up on GitHub, but also means we have to manually update the package every time there's a release. Shouldn't break if something changes though!