<?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: Getting Error While deploying data model  to SQLITE in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075101#M4511554</link>
    <description>&lt;P&gt;Still getting same error after following all steps !&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 07:14:51 GMT</pubDate>
    <dc:creator>saurabh009</dc:creator>
    <dc:date>2019-11-06T07:14:51Z</dc:date>
    <item>
      <title>Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaq-p/12075098</link>
      <description>&lt;P&gt;In this Tutorial:&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://developers.sap.com/tutorials/cp-apm-nodejs-create-service.html"&gt;https://developers.sap.com/tutorials/cp-apm-nodejs-create-service.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Step 7.2 : Deploy the data model to an &lt;CODE&gt;SQLite&lt;/CODE&gt; database:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;cds deploy --to sqlite:db/my-bookshop.db&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;How to do that ?&lt;/P&gt;
  &lt;P&gt;I am getting Errors..&lt;A href="https://answers.sap.com/storage/temp/1741850-error-1.jpg"&gt;error-1.jpg&lt;/A&gt;&lt;A href="https://answers.sap.com/storage/temp/1741851-error-2.jpg"&gt;error-2.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 06:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaq-p/12075098</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T06:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075099#M4511552</link>
      <description>&lt;P&gt;The Correct Screesnhot attached (Please ignore others)&lt;A href="https://answers.sap.com/storage/temp/1741852-error.jpg"&gt;error.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 06:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075099#M4511552</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T06:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075100#M4511553</link>
      <description>&lt;P&gt;Hi Saurabh, looks like you have some issues on your Windows machine that is preventing the build of the sqlite3 native components. In your case, I would recommend you take a look at the &lt;A href="https://github.com/SAP-samples/cloud-cap-nodejs-codejam/blob/master/prerequisites.md"&gt;prerequisites for the CAP Node.js CodeJam&lt;/A&gt;, where the instructions take you through a nice way of installing the build tools for that OS, using the Chocolatey package manager. Then you can restart or continue with &lt;SPAN class="mention-scrubbed"&gt;rene.jeglinsky&lt;/SPAN&gt; 's tutorial. HTH! &lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 06:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075100#M4511553</guid>
      <dc:creator>qmacro</dc:creator>
      <dc:date>2019-11-06T06:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075101#M4511554</link>
      <description>&lt;P&gt;Still getting same error after following all steps !&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075101#M4511554</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T07:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075102#M4511555</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is most certainly caused by the Node.js version 13 that you use.  I guess for Node.js 13 there is no SQLite binary available (yet).&lt;/P&gt;&lt;P&gt;In general we recommend only to use long-term support (LTS) versions of Node.js.  Version 12 is the latest LTS version, so my advice is to use this one (see &lt;A href="https://nodejs.org/en/about/releases/"&gt;LTS release timeline&lt;/A&gt;).  It's also this version that is advertised on Node.js's download page as "Recommended for most users".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075102#M4511555</guid>
      <dc:creator>chgeo</dc:creator>
      <dc:date>2019-11-06T07:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075103#M4511556</link>
      <description>&lt;P&gt;Saurabh, can you share with us what the output of the following was when you ran the following (from the prerequisites page)? &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;choco install nodejs-lts&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075103#M4511556</guid>
      <dc:creator>qmacro</dc:creator>
      <dc:date>2019-11-06T07:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075104#M4511557</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/1741875-capture.jpg"&gt;capture.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the output&lt;/P&gt;&lt;P&gt;node.js already installed&lt;/P&gt;&lt;P&gt;Check the version in 2nd screenshot&lt;A href="https://answers.sap.com/storage/attachments/1741876-nodejs-version.jpg"&gt;nodejs-version.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075104#M4511557</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T07:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075105#M4511558</link>
      <description>&lt;P&gt;yes i have node.js 13 version only&lt;/P&gt;&lt;P&gt;thanks  @&lt;A href="https://answers.sap.com/users/51904/christian.georgi.html"&gt;Christian Georgi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075105#M4511558</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T07:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075106#M4511559</link>
      <description>&lt;P&gt;on another note: you have to install the sqlite package within your CAP project directory. don't think your project directory is called saurabh.sharma1?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075106#M4511559</guid>
      <dc:creator>maxstreifeneder</dc:creator>
      <dc:date>2019-11-06T07:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075107#M4511560</link>
      <description>&lt;P&gt;Both commands need to be executed within the created CAP project. Doesn't seem you are executing them in the CAP project directory. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;npm install -D sqlite3&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;cds deploy --to sqlite:db/my-bookshop.db&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075107#M4511560</guid>
      <dc:creator>maxstreifeneder</dc:creator>
      <dc:date>2019-11-06T07:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075108#M4511561</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;iinside&lt;/SPAN&gt;  What do you meant by "CAP project directory" ? i am not clear&lt;/P&gt;&lt;P&gt;i am running command from Project path only&lt;/P&gt;&lt;P&gt;this one ran successfully:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;npm install -D sqlite3&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but this one giving error still even after node.js 12 version installed:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ds deploy --to sqlite:db/my-bookshop.db&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 08:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075108#M4511561</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T08:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075109#M4511562</link>
      <description>&lt;P&gt;Successfully done with:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;choco install nodejs-lts&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;npm install -D sqlite3&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Still giving Error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;cds deploy --to sqlite:db/my-bookshop.db&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 08:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075109#M4511562</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T08:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075110#M4511563</link>
      <description>&lt;P&gt;SAME ERROR&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 08:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075110#M4511563</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T08:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075111#M4511564</link>
      <description>&lt;P&gt;still getting error&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 08:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075111#M4511564</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T08:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075112#M4511565</link>
      <description>&lt;P&gt;Also getting this erro now inside VSC&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/1741879-new-error.jpg"&gt;new-error.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 08:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075112#M4511565</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T08:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075113#M4511566</link>
      <description>&lt;P&gt;I assume it is because you are running it in PowerShell. Please try to change your default Shell in VSCode to Bash. &lt;BR /&gt;otherwise your cds executable is not installed. (npm install -g  @sap/cds-dk)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1740910-default-shell.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075113#M4511566</guid>
      <dc:creator>maxstreifeneder</dc:creator>
      <dc:date>2019-11-06T11:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Error While deploying data model  to SQLITE</title>
      <link>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075114#M4511567</link>
      <description>&lt;P&gt;RESOLVED now on my own.&lt;/P&gt;&lt;P&gt;What i did ? Delete and re-run all steps.&lt;/P&gt;&lt;P&gt;Where was error: File directory and 1 intermediate step was not performed properly.&lt;/P&gt;&lt;P&gt;Thanks to all for your kind support !&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/1744450-resolved-now.jpg"&gt;resolved-now.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 17:59:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/getting-error-while-deploying-data-model-to-sqlite/qaa-p/12075114#M4511567</guid>
      <dc:creator>saurabh009</dc:creator>
      <dc:date>2019-11-06T17:59:05Z</dc:date>
    </item>
  </channel>
</rss>

