npm ci does not progress

713
3
Jump to solution
06-26-2024 02:24 PM
Brian_McLeer
Frequent Contributor

My issue sounds similar to the one at this post: Attempted to Install Experience Builder - Developer v1.2 : failed at npm. 

When trying to do a new install Experience Builder Developer Edition 1.14. I have Node.js v 22.3.0 and it is installed in the x86 folder. When I run step 10 on the workflow below, the slash bar spins for a very long time and nothing reports. Has anybody else experienced this? 

https://developers.arcgis.com/experience-builder/guide/install-guide/

Brian
0 Kudos
1 Solution

Accepted Solutions
Brian_McLeer
Frequent Contributor

I updated the Node.js version to the V18 after looking at the supported version table. It looks like the fix relates to this article by using the below code before npm ci.

npm config set strict-ssl false

 

Brian

View solution in original post

3 Replies
Junshan_Liu
Frequent Contributor

The recommended Node.js version for 1.14 is V18, can you check whether it works on V18?

See this version doc: https://developers.arcgis.com/experience-builder/guide/release-versions/

0 Kudos
Brian_McLeer
Frequent Contributor

I updated the Node.js version to the V18 after looking at the supported version table. It looks like the fix relates to this article by using the below code before npm ci.

npm config set strict-ssl false

 

Brian
TimWestern
Frequent Contributor

You know what I didn't think about that, you were doing a fresh install, in a new folder or on a new system.  I have many memories of having to figure out how to get certs accepted by both Exb and the browser to get things to work,  I didn't realize NPM might also have some protections there.  Great find!.