<?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: XSA: Configure error. Node js module failed on build in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238399#M4581978</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;florian.pfeffer&lt;/SPAN&gt;, I am not sure which linked documentation you are talking about, the above link which you provided in first answer is blog post where solution marked as right is the one suggesting to remove dev dependencies from package.json file.&lt;/P&gt;&lt;P&gt;In my case i cant do it because i need $.Session variable to work&lt;/P&gt;&lt;P&gt;If we remove dev dependencies according to your one of the the answer we can't fetch the values.&lt;/P&gt;&lt;P&gt;Can you please let me know in which file i can add UPSTREAM link in my project in webide pleaseee.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2020 08:31:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-08-26T08:31:02Z</dc:date>
    <item>
      <title>XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaq-p/12238386</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I have created a simple node.js module in HANA 2.0 SPS04, When i try to build it it get failed. I don't understand why it failed.&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Error is&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1835589-error-nodejs-build.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;P.S : I don't have CLI tool so i don't know if by default it is creating defining right versions in Package.json, If there is any other way to find the version like by some sql statement let me know.&lt;/P&gt;
  &lt;P&gt;but as much i know about node js if give "^" symbol before version it automatically pickup latest version, That's why not sure what is the problem, Kindly HELP!!&lt;/P&gt;
  &lt;P&gt;Here is my package.json&lt;BR /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1835562-package.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;and here is my server.js&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1835561-server.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" style="font-size: 14px;" /&gt;&lt;/P&gt;
  &lt;P&gt;my MTA.yaml looks like&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1835560-mta.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;IMG alt="" style="font-size: 15px; color: rgb(60, 60, 60);" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 18:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaq-p/12238386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-19T18:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238387#M4581966</link>
      <description>&lt;P&gt;And what is the error you get? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 18:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238387#M4581966</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-08-19T18:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238388#M4581967</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;&lt;BR /&gt;Please provide the error screenshot you are getting ??&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 20:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238388#M4581967</guid>
      <dc:creator>Yogananda</dc:creator>
      <dc:date>2020-08-19T20:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238389#M4581968</link>
      <description>&lt;P&gt;Sorry, I missed the error screenshot somehow but now I have updated the question with error screenshot.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 06:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238389#M4581968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-20T06:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238390#M4581969</link>
      <description>&lt;P&gt;The issue was already discussed &lt;A href="https://answers.sap.com/questions/13005676/failed-at-the.html" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You set already node version 10.x. The module  @sap/xsjs-test must be set to at least 3.&lt;STRONG&gt;1&lt;/STRONG&gt;.2.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 07:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238390#M4581969</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-08-20T07:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238391#M4581970</link>
      <description>&lt;P&gt;Thanks Florian, &lt;/P&gt;&lt;P&gt;I tried the solution here is the error i am getting after changing the version as &lt;STRONG&gt;"@sap/xsjs-test": "^3.1.2"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1835598-version-error.jpg" /&gt;&lt;/P&gt;&lt;P&gt;The final solution that marked as green in the answer you shared is that they have removed below code, But in my case if i removed this code I will not get the values of &lt;STRONG&gt;$.session.getUsername()&lt;/STRONG&gt; as you mentioned in another post of yours.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; "devDependencies": {
    "@sap/xsjs-test": "^3.0.2"
  },
"test": "node testrun.js"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think i will ask my Basis team to update the versions of these modules&lt;/P&gt;&lt;P&gt;From node module Package.json&lt;BR /&gt;"@sap/xsjs-test": "3.0.2"&lt;/P&gt;&lt;P&gt;From DB module Package.json&lt;/P&gt;&lt;P&gt;"@sap/hdi-deploy": "3.10.0"&lt;/P&gt;&lt;P&gt;Kindly correct me if i am wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238391#M4581970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-20T08:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238392#M4581971</link>
      <description>&lt;P&gt;I guess you get that error, because your XSA local NPM repo does not container a newer version. As you said you can try to update it in your local NPM repo or you set the &lt;A href="https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.05/en-US/726e5d41462c4eb29eaa6cc83ff41e84.html"&gt;UPSTREAM_LINK&lt;/A&gt; to &lt;A href="https://registry.npmjs.org" target="test_blank"&gt;https://registry.npmjs.org&lt;/A&gt;. All  @sap npm modules are available there too (due to the migration from npm.sap.com).&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238392#M4581971</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-08-20T10:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238393#M4581972</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;florian.pfeffer&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;My basis team updated the version of "@sap/xsjs-test" to "6.14.4"&lt;/P&gt;&lt;P&gt;but even though i am getting the same error&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1835601-package-6144.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238393#M4581972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-20T10:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238394#M4581973</link>
      <description>&lt;P&gt;Don't know what they updated, but at least not  @sap/xsjs-test, because for that module the latest version is 3.1.3 (you can check that with command "npm view @sap/xsjs-test versions".&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 11:36:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238394#M4581973</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-08-20T11:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238395#M4581974</link>
      <description>&lt;P&gt;Thanks &lt;SPAN class="mention-scrubbed"&gt;florian.pfeffer&lt;/SPAN&gt; , I think adding local package might work for me, but i dont have any idea where to add it in which file,can you please share any example...&lt;/P&gt;&lt;P&gt;Do i need CLI tool to do it or adding in the file and building node module can work?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 20:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238395#M4581974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-20T20:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238396#M4581975</link>
      <description>&lt;P&gt;With "local" I do not mean your local workstation or so. I mean the npm registry in your XSA installation (di-local-npm-registry). I don't know how that can be updated (I guess it is not possible w/o updating XSA itself). Setting the upstream link would be much more easier from my point of view.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 04:18:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238396#M4581975</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-08-21T04:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238397#M4581976</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;florian.pfeffer&lt;/SPAN&gt; Can you please help me in which file of the project under WebIde i will use &lt;STRONG&gt;UPSTREAM&lt;/STRONG&gt; link and how, I don't have CLI tool, I think you are saying it can be done somewhere locally.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 19:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238397#M4581976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-25T19:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238398#M4581977</link>
      <description>&lt;P&gt;Please check the linked documentation, there is everything explained.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 04:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238398#M4581977</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-08-26T04:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238399#M4581978</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;florian.pfeffer&lt;/SPAN&gt;, I am not sure which linked documentation you are talking about, the above link which you provided in first answer is blog post where solution marked as right is the one suggesting to remove dev dependencies from package.json file.&lt;/P&gt;&lt;P&gt;In my case i cant do it because i need $.Session variable to work&lt;/P&gt;&lt;P&gt;If we remove dev dependencies according to your one of the the answer we can't fetch the values.&lt;/P&gt;&lt;P&gt;Can you please let me know in which file i can add UPSTREAM link in my project in webide pleaseee.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 08:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238399#M4581978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-26T08:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238400#M4581979</link>
      <description>&lt;P&gt;The link is already in the comments above (&lt;A href="https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.05/en-US/726e5d41462c4eb29eaa6cc83ff41e84.html" target="_blank"&gt;UPSTREAM_LINK&lt;/A&gt;). Was posted 5 days ago. Seems that you do not read carefully what is written.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 09:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238400#M4581979</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-08-26T09:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: XSA: Configure error. Node js module failed on build</title>
      <link>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238401#M4581980</link>
      <description>&lt;P&gt;Hi  &lt;SPAN class="mention-scrubbed"&gt;florian.pfeffer&lt;/SPAN&gt; i read that link and it's talking about .&lt;STRONG&gt;mtaext &lt;/STRONG&gt;and &lt;STRONG&gt;.npmrc&lt;/STRONG&gt; file, I don't found any of these files in my webide, That's why i was asking where i have look for these files&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 13:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xsa-configure-error-node-js-module-failed-on-build/qaa-p/12238401#M4581980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-08-26T13:06:25Z</dc:date>
    </item>
  </channel>
</rss>

