<?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>Question Re: MDK xlsx package doesn't work | Deploy Error in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/mdk-xlsx-package-doesn-t-work-deploy-error/qaa-p/12563305#M4710583</link>
    <description>&lt;P&gt;The code to use the library:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;import * as XLSX from  "/extbin/generators/lib/node_modules/xlsx";&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 07 Sep 2022 09:33:04 GMT</pubDate>
    <dc:creator>m_aguilera_zorzo</dc:creator>
    <dc:date>2022-09-07T09:33:04Z</dc:date>
    <item>
      <title>MDK xlsx package doesn't work | Deploy Error</title>
      <link>https://community.sap.com/t5/technology-q-a/mdk-xlsx-package-doesn-t-work-deploy-error/qaq-p/12563304</link>
      <description>&lt;P&gt;Hello experts,&lt;BR /&gt;I'm trying to deploy an already created app that has been working for the last months.&lt;BR /&gt;Everytime we deploy it, we needed to install the xlsx library through "npm install xlsx" in the console.&lt;BR /&gt;Whenever I try to deploy now, this error pops up:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;ModuleNotFoundError: Module not found: Error: Can't resolve '/extbin/generators/lib/node_modules/xlsx' in '/home/user/build.definitions/ZFSA_INT/Rules/CrearP',ModuleNotFoundError: Module not found: Error: Can't resolve '/extbin/generators/lib/node_modules/xlsx' in '/home/user/build.definitions/ZFSA_INT/Rules/Test'&lt;BR /&gt;undefined
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;xlsx is installed correctly:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2091978-imagen.png" /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone knows how to fix this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 09:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mdk-xlsx-package-doesn-t-work-deploy-error/qaq-p/12563304</guid>
      <dc:creator>m_aguilera_zorzo</dc:creator>
      <dc:date>2022-09-07T09:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: MDK xlsx package doesn't work | Deploy Error</title>
      <link>https://community.sap.com/t5/technology-q-a/mdk-xlsx-package-doesn-t-work-deploy-error/qaa-p/12563305#M4710583</link>
      <description>&lt;P&gt;The code to use the library:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;import * as XLSX from  "/extbin/generators/lib/node_modules/xlsx";&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Sep 2022 09:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mdk-xlsx-package-doesn-t-work-deploy-error/qaa-p/12563305#M4710583</guid>
      <dc:creator>m_aguilera_zorzo</dc:creator>
      <dc:date>2022-09-07T09:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: MDK xlsx package doesn't work | Deploy Error</title>
      <link>https://community.sap.com/t5/technology-q-a/mdk-xlsx-package-doesn-t-work-deploy-error/qaa-p/12563306#M4710584</link>
      <description>&lt;P&gt;The answer was to change the call to initialize the library, as stated in the library web:&lt;BR /&gt;&lt;A href="https://www.npmjs.com/package/xlsx" target="test_blank"&gt;https://www.npmjs.com/package/xlsx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2091989-imagen.png" /&gt;&lt;/P&gt;&lt;P&gt;Using var XLSX = requiere("xlsx") fixed the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 11:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mdk-xlsx-package-doesn-t-work-deploy-error/qaa-p/12563306#M4710584</guid>
      <dc:creator>m_aguilera_zorzo</dc:creator>
      <dc:date>2022-09-07T11:19:44Z</dc:date>
    </item>
  </channel>
</rss>

