<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue Installing NPM on Server for ArcGIS Experience Builder Developer Edition in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/issue-installing-npm-on-server-for-arcgis/m-p/1480204#M12834</link>
    <description>&lt;P&gt;So I have seen some weird things from time to time with npm.&amp;nbsp; Usually fresh folder install fixes things.&lt;BR /&gt;&lt;BR /&gt;The logs you post mention folders with files that end in debug-0.log&lt;BR /&gt;&lt;BR /&gt;did you open those and see what they said?&amp;nbsp; They might give you an idea if it was a particular package at issue.&lt;BR /&gt;&lt;BR /&gt;One more thing... it says you were running this in:&lt;BR /&gt;&lt;BR /&gt;12 verbose stack Error: Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\ArcGISExperienceBuilder\package.json'&lt;BR /&gt;&lt;BR /&gt;Two thoughts.&amp;nbsp; 1 do you the D : indicates this is an additional hard drive or mounted drive, and 2, its saying package.json doesn't exist there.&lt;BR /&gt;&lt;BR /&gt;If you did a fresh unzip you should find package.json in either the client or server sub folders/directories&amp;nbsp; and it should be in one of those folders that you run npm install or npm ci&lt;BR /&gt;&lt;BR /&gt;Try running inside the server directory first, as is outlined in the setup instructions here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/experience-builder/guide/install-guide/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/experience-builder/guide/install-guide/&lt;/A&gt;&amp;nbsp; (first step 9)&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 14:36:25 GMT</pubDate>
    <dc:creator>TimWestern</dc:creator>
    <dc:date>2024-05-29T14:36:25Z</dc:date>
    <item>
      <title>Issue Installing NPM on Server for ArcGIS Experience Builder Developer Edition</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/issue-installing-npm-on-server-for-arcgis/m-p/1479700#M12818</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, I am having a 4058 error code during installation. After doing all of the standard troubleshooting for the issue (Delete the package-lock.json, reinstall, restart, switch arcGIS experience builder versions, switch node.js versions, etc., global installation) I cannot get it to run npm install or npm ci on the folder directory. Here are the logs &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0 verbose cli D:\nodejs\node.exe D:\nodejs\node_modules\npm\bin\npm-cli.js&lt;BR /&gt;1 info using npm@10.7.0&lt;BR /&gt;2 info using node@v18.20.3&lt;BR /&gt;3 silly config:load:file:D:\nodejs\node_modules\npm\npmrc&lt;BR /&gt;4 silly config:load:file:D:\ArcGISExperienceBuilder\.npmrc&lt;BR /&gt;5 silly config:load:file:C:\Users\username\.npmrc&lt;BR /&gt;6 silly config:load:file:C:\Users\username\AppData\Roaming\npm\etc\npmrc&lt;BR /&gt;7 verbose title npm start&lt;BR /&gt;8 verbose argv "start"&lt;BR /&gt;9 verbose logfile logs-max:10 dir:C:\Users\username\AppData\Local\npm-cache\_logs\2024-05-28T17_05_35_716Z-&lt;BR /&gt;10 verbose logfile C:\Users\username\AppData\Local\npm-cache\_logs\2024-05-28T17_05_35_716Z-debug-0.log&lt;BR /&gt;11 silly logfile start cleaning logs, removing 1 files&lt;BR /&gt;12 verbose stack Error: Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\ArcGISExperienceBuilder\package.json'&lt;BR /&gt;13 verbose cwd D:\ArcGISExperienceBuilder&lt;BR /&gt;14 verbose Windows_NT 10.0.20348&lt;BR /&gt;15 verbose node v18.20.3&lt;BR /&gt;16 verbose npm v10.7.0&lt;BR /&gt;17 error code ENOENT&lt;BR /&gt;18 error syscall open&lt;BR /&gt;19 error path D:\ArcGISExperienceBuilder\package.json&lt;BR /&gt;20 error errno -4058&lt;BR /&gt;21 error enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\ArcGISExperienceBuilder\package.json'&lt;BR /&gt;22 error enoent This is related to npm not being able to find a file.&lt;BR /&gt;22 error enoent&lt;BR /&gt;23 verbose exit -4058&lt;BR /&gt;24 verbose code -4058&lt;BR /&gt;25 error A complete log of this run can be found in: C:\Users\username\AppData\Local\npm-cache\_logs\2024-05-28T17_05_35_716Z-debug-0.log&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 18:24:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/issue-installing-npm-on-server-for-arcgis/m-p/1479700#M12818</guid>
      <dc:creator>SciotoCoJT</dc:creator>
      <dc:date>2024-05-28T18:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Installing NPM on Server for ArcGIS Experience Builder Developer Edition</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/issue-installing-npm-on-server-for-arcgis/m-p/1480204#M12834</link>
      <description>&lt;P&gt;So I have seen some weird things from time to time with npm.&amp;nbsp; Usually fresh folder install fixes things.&lt;BR /&gt;&lt;BR /&gt;The logs you post mention folders with files that end in debug-0.log&lt;BR /&gt;&lt;BR /&gt;did you open those and see what they said?&amp;nbsp; They might give you an idea if it was a particular package at issue.&lt;BR /&gt;&lt;BR /&gt;One more thing... it says you were running this in:&lt;BR /&gt;&lt;BR /&gt;12 verbose stack Error: Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\ArcGISExperienceBuilder\package.json'&lt;BR /&gt;&lt;BR /&gt;Two thoughts.&amp;nbsp; 1 do you the D : indicates this is an additional hard drive or mounted drive, and 2, its saying package.json doesn't exist there.&lt;BR /&gt;&lt;BR /&gt;If you did a fresh unzip you should find package.json in either the client or server sub folders/directories&amp;nbsp; and it should be in one of those folders that you run npm install or npm ci&lt;BR /&gt;&lt;BR /&gt;Try running inside the server directory first, as is outlined in the setup instructions here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/experience-builder/guide/install-guide/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/experience-builder/guide/install-guide/&lt;/A&gt;&amp;nbsp; (first step 9)&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 14:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/issue-installing-npm-on-server-for-arcgis/m-p/1480204#M12834</guid>
      <dc:creator>TimWestern</dc:creator>
      <dc:date>2024-05-29T14:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Installing NPM on Server for ArcGIS Experience Builder Developer Edition</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/issue-installing-npm-on-server-for-arcgis/m-p/1480797#M12847</link>
      <description>&lt;P&gt;Are you able to install ArcGIS Experience Builder Developer edition on different machine? If yes, you can try copy paste node-modules folders for both /client and /server, then just npm start for both.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 07:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/issue-installing-npm-on-server-for-arcgis/m-p/1480797#M12847</guid>
      <dc:creator>JanSarata</dc:creator>
      <dc:date>2024-05-30T07:10:45Z</dc:date>
    </item>
  </channel>
</rss>

