Select to view content in your preferred language

Exp Builder 1.1.5 offline install fails with "npm error code ENOTCACHED, cache mode is 'only-if-cached' but no cached response is available." error

1032
14
Jump to solution
08-06-2024 05:11 AM
Labels (1)
Asrujit_SenGupta
MVP Regular Contributor

We are trying to configure the ArcGIS Experience Builder 1.15 Dev Edition offline and running into errors while installing npm from cache.

D:\ArcGISExperienceBuilder_1_15\server>npm install --offline
npm error code ENOTCACHED
npm error request to https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz failed: cache mode is 'only-if-cached' but no cached response is available.

npm error A complete log of this run can be found in: C:\Users\user_name\AppData\Local\npm-cache\_logs\2024-08-06T11_44_07_985Z-debug-0.log

We already have Exp Builder 1.14 running on the same server.

Node.js is version 18.20.3 (We understand that version 20 is recommended for ExpB 1.15, but I want to check if this is the cause or something else)

Found this post Solved: EB Offline installation - Esri Community however I don't really see a solution there. Is the issue highlighted in that post fixed? Is there a solution/workaround that I missed?

Any suggestions are welcome.

 

14 Replies
wadsonmakari
Occasional Contributor

This is what I get in console. I am on a dev machine without access to the internet and I am not concerned about the cert error which  I suspect is because it is self signed.

wadsonmakari_0-1723711319787.png

 

The network requests are as shown above and there are  no failed requests. I can see requests to locally hosted API and requests to local ArcGIS Enterprise. The last request on the Network tab is the last request I see and nothing happens after that. The IU looks like this and becomes unresponsive

wadsonmakari_1-1723712518261.png

 

 

0 Kudos
BolanChen
Occasional Contributor

BolanChen_0-1723713924156.png

I think your problem is because the lock layout is turned on. You can try turning it off.

0 Kudos
wadsonmakari
Occasional Contributor

@BolanChen I have switch off  the lock layout but it is still not going any further.

wadsonmakari_0-1723720596453.png

 

0 Kudos
SerjStol
Frequent Contributor

Issue still exists in v1.14

0 Kudos
SerjStol
Frequent Contributor

I can confirm I am getting the same error when installing v1.14 ExB Dev Edition , the offline cache provided seems incorrect. I had no issues when I installed v1.15 offline, which seems like it was fixed there, but I require v1.14 and its not working for "client" folder install, server has installed correctly. 

0 Kudos