<?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 [webpack-cli] Failed to load 'client\webpack.config.js' config in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1196787#M4996</link>
    <description>&lt;P&gt;Hi. We've built a custom ExB widget. I'm trying modify the setting component to take a URL from the user and store it the config.json file for the widget. I've done this once before and had no problem. I don't know what I did wrong this time, but I can no longer fire up the webpack using npm start.&lt;BR /&gt;&lt;BR /&gt;It starts off saying...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; exb-client@1.8.0 start&lt;BR /&gt;&amp;gt; cross-env NODE_ENV=development webpack --mode development --watch&lt;/P&gt;&lt;P&gt;Then I get this error in ominous red text:&lt;BR /&gt;&lt;BR /&gt;[webpack-cli] Failed to load 'D:\AGEB18\client\webpack.config.js' config&lt;BR /&gt;[webpack-cli] SyntaxError: Unexpected token / in JSON at position 590&lt;BR /&gt;at JSON.parse (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at D:\AGEB18\client\webpack\webpack-extensions.common.js:373:29&lt;BR /&gt;at D:\AGEB18\client\webpack\webpack.common.js:457:11&lt;BR /&gt;at Array.forEach (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at Object.visitFolder (D:\AGEB18\client\webpack\webpack.common.js:452:11)&lt;BR /&gt;at commonChecks (D:\AGEB18\client\webpack\webpack-extensions.common.js:366:17)&lt;BR /&gt;at Object.checkWidgets (D:\AGEB18\client\webpack\webpack-extensions.common.js:353:10)&lt;BR /&gt;at D:\AGEB18\client\webpack\webpack-extensions.config.js:18:56&lt;BR /&gt;at Array.forEach (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at Object.&amp;lt;anonymous&amp;gt; (D:\AGEB18\client\webpack\webpack-extensions.config.js:9:26)&lt;BR /&gt;&lt;BR /&gt;I tried looking at the files listed, but couldn't figure out what's going on. Anybody have any idea? Do I need to delete and reinstall the ExB files? I hope not! Thanks in advance for any insight you have to offer.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 14:58:41 GMT</pubDate>
    <dc:creator>bryc3w</dc:creator>
    <dc:date>2022-07-28T14:58:41Z</dc:date>
    <item>
      <title>[webpack-cli] Failed to load 'client\webpack.config.js' config</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1196787#M4996</link>
      <description>&lt;P&gt;Hi. We've built a custom ExB widget. I'm trying modify the setting component to take a URL from the user and store it the config.json file for the widget. I've done this once before and had no problem. I don't know what I did wrong this time, but I can no longer fire up the webpack using npm start.&lt;BR /&gt;&lt;BR /&gt;It starts off saying...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; exb-client@1.8.0 start&lt;BR /&gt;&amp;gt; cross-env NODE_ENV=development webpack --mode development --watch&lt;/P&gt;&lt;P&gt;Then I get this error in ominous red text:&lt;BR /&gt;&lt;BR /&gt;[webpack-cli] Failed to load 'D:\AGEB18\client\webpack.config.js' config&lt;BR /&gt;[webpack-cli] SyntaxError: Unexpected token / in JSON at position 590&lt;BR /&gt;at JSON.parse (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at D:\AGEB18\client\webpack\webpack-extensions.common.js:373:29&lt;BR /&gt;at D:\AGEB18\client\webpack\webpack.common.js:457:11&lt;BR /&gt;at Array.forEach (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at Object.visitFolder (D:\AGEB18\client\webpack\webpack.common.js:452:11)&lt;BR /&gt;at commonChecks (D:\AGEB18\client\webpack\webpack-extensions.common.js:366:17)&lt;BR /&gt;at Object.checkWidgets (D:\AGEB18\client\webpack\webpack-extensions.common.js:353:10)&lt;BR /&gt;at D:\AGEB18\client\webpack\webpack-extensions.config.js:18:56&lt;BR /&gt;at Array.forEach (&amp;lt;anonymous&amp;gt;)&lt;BR /&gt;at Object.&amp;lt;anonymous&amp;gt; (D:\AGEB18\client\webpack\webpack-extensions.config.js:9:26)&lt;BR /&gt;&lt;BR /&gt;I tried looking at the files listed, but couldn't figure out what's going on. Anybody have any idea? Do I need to delete and reinstall the ExB files? I hope not! Thanks in advance for any insight you have to offer.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 14:58:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1196787#M4996</guid>
      <dc:creator>bryc3w</dc:creator>
      <dc:date>2022-07-28T14:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: [webpack-cli] Failed to load 'client\webpack.config.js' config</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1197597#M5012</link>
      <description>&lt;P&gt;Problem solved. I found this helpful post in Stack Overflow: &lt;A href="https://stackoverflow.com/questions/56920559/syntaxerror-unexpected-token-in-json-at-position-132" target="_blank"&gt;https://stackoverflow.com/questions/56920559/syntaxerror-unexpected-token-in-json-at-position-132&lt;/A&gt;. Turns out that what I did wrong was I commented out some lines in the manifest.json file, and you can't do that. That's what the "Unexpected token / in JSON at position 590" was all about (I commented those lines with two forward slashes - // - as you would do in JavaScript). I deleted those lines and now I'm back in action. Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 20:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1197597#M5012</guid>
      <dc:creator>BryceWhiteside</dc:creator>
      <dc:date>2022-07-29T20:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: [webpack-cli] Failed to load 'client\webpack.config.js' config</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1408825#M12041</link>
      <description>&lt;P&gt;I have just started having this exact same error today on my ExB Dev Edition V1.13 that has been running -fine- for months .. WHY&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 23:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1408825#M12041</guid>
      <dc:creator>FredericPoliart_EsriAU</dc:creator>
      <dc:date>2024-04-11T23:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: [webpack-cli] Failed to load 'client\webpack.config.js' config</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1410924#M12132</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/435620"&gt;@FredericPoliart_EsriAU&lt;/a&gt;,&amp;nbsp;I had a similar error and I found out that it was because for some reason the&amp;nbsp;widgets-info.json file on client/dist/widgets was empty. I removed my custom widgets from dist and copied widgets-info.json file from a clean install. After that, it was running normally.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 14:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/webpack-cli-failed-to-load-client-webpack-config/m-p/1410924#M12132</guid>
      <dc:creator>FernandaBarth_EsriPT</dc:creator>
      <dc:date>2024-04-17T14:11:48Z</dc:date>
    </item>
  </channel>
</rss>

