<?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 Getting error &amp;quot;internal/modules/cjs/loader.js:883&amp;quot;when running the now-cli -develop in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145717#M802643</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to develop the comment from my location machine for that i have to install the nmp and now cli in my location machine but then I am running the below code I am getting the below error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Command: &lt;STRONG&gt;now-cli develop&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;C:\SnowDoctor&amp;gt;now-cli develop
Running component locally...
internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'C:\SnowDoctor\node_modules\@servicenow\cli-component-archetype-dev\conf\develop\pre\run'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
[builder:builder-core:end:4768] Task: run develop:pre, Error: Command failed: cmd /d /s /c node node_modules/@servicenow/cli-component-archetype-dev/conf/develop/pre/run

[builder:builder-core:end:10612] Task: run develop:trace, Error: Command failed: cmd /d /s /c builder run develop:pre&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ramesh R&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2020 05:55:35 GMT</pubDate>
    <dc:creator>ramesh_r</dc:creator>
    <dc:date>2020-12-29T05:55:35Z</dc:date>
    <item>
      <title>Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145717#M802643</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to develop the comment from my location machine for that i have to install the nmp and now cli in my location machine but then I am running the below code I am getting the below error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Command: &lt;STRONG&gt;now-cli develop&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;C:\SnowDoctor&amp;gt;now-cli develop
Running component locally...
internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'C:\SnowDoctor\node_modules\@servicenow\cli-component-archetype-dev\conf\develop\pre\run'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
[builder:builder-core:end:4768] Task: run develop:pre, Error: Command failed: cmd /d /s /c node node_modules/@servicenow/cli-component-archetype-dev/conf/develop/pre/run

[builder:builder-core:end:10612] Task: run develop:trace, Error: Command failed: cmd /d /s /c builder run develop:pre&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ramesh R&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 05:55:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145717#M802643</guid>
      <dc:creator>ramesh_r</dc:creator>
      <dc:date>2020-12-29T05:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145718#M802644</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I had a similar issue, when I installed on a fresh Windows 10 machine.&lt;/P&gt;
&lt;P&gt;After testing and trying a lot, I thought what was different to my old installation.&lt;/P&gt;
&lt;P&gt;Then, I came up, that GIT was not yet installed.&lt;/P&gt;
&lt;P&gt;So, I installed GIT and REINSTALLED NODE + NPM and NOW-CLI&lt;/P&gt;
&lt;P&gt;Then, everything worked fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also have a look at my articles on the NOW UI Experience:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=9cd7b58adbfe94d0b1b102d5ca961952" rel="nofollow"&gt;Article #11 - Fast Track to your first "Now Experience UI Framework Component"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give that a shot and let me know.&lt;/P&gt;
&lt;P&gt;Let me know if that answers your question and mark my answer as correct and helpful.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Dirk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 06:18:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145718#M802644</guid>
      <dc:creator>DirkRedeker</dc:creator>
      <dc:date>2020-12-29T06:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145719#M802645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Dirk,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your response.&lt;/P&gt;
&lt;P&gt;I have reinstall npm and node. but still, I am facing the same issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 08:19:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145719#M802645</guid>
      <dc:creator>ramesh_r</dc:creator>
      <dc:date>2020-12-29T08:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145720#M802646</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Did you Install "GIT" then as well?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://git-scm.com/download" rel="nofollow"&gt;https://git-scm.com/download&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;THAT was the solving point for me!&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Dirk&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 14:50:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145720#M802646</guid>
      <dc:creator>DirkRedeker</dc:creator>
      <dc:date>2020-12-29T14:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145721#M802647</link>
      <description>&lt;P&gt;Hi Dirk,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have installed GIT also but still issue not resolved&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ramesh R&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 06:52:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145721#M802647</guid>
      <dc:creator>ramesh_r</dc:creator>
      <dc:date>2020-12-30T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145722#M802648</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;OK, thanks for that update.&lt;/P&gt;
&lt;P&gt;Can you please check, if you have the following file (see screenshot):&lt;/P&gt;
&lt;P&gt;yours should be in the folder:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;C:\SnowDoctor\node_modules\@servicenow\cli-component-archetype-dev\conf\develop\pre&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67604i3ADB4E7A7A1BEAE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Just let me know, if that file exists on your machine?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Dirk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 09:56:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145722#M802648</guid>
      <dc:creator>DirkRedeker</dc:creator>
      <dc:date>2020-12-30T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145723#M802649</link>
      <description>&lt;P&gt;Hi Dirk.&lt;/P&gt;
&lt;P&gt;No the '&lt;STRONG&gt;cli-component-archetype-dev' folder is not exist&lt;/STRONG&gt;. can you help me how to bring this folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/67603i05746E606EA06E65/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Ramesh R&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 10:14:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145723#M802649</guid>
      <dc:creator>ramesh_r</dc:creator>
      <dc:date>2020-12-30T10:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145724#M802650</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;That is interesting.&lt;/P&gt;
&lt;P&gt;I do not know all the dependencies yet, but I am&amp;nbsp;trying to find out the root cause.&lt;/P&gt;
&lt;P&gt;As said, I had similar issues, and installed the following Software AGAIN in the following order:&lt;/P&gt;
&lt;P&gt;&amp;gt; GIT&lt;/P&gt;
&lt;P&gt;&amp;gt; NODE with NPM&lt;/P&gt;
&lt;P&gt;&amp;gt; NOW-CLI&lt;/P&gt;
&lt;P&gt;AFTER THAT, I created a "brand-new" project and called the "npm install" after doing the scaffolding.&lt;/P&gt;
&lt;P&gt;That finally solved my issue, so something with these dependencies sorted this out.&lt;/P&gt;
&lt;P&gt;Maybe (I know, this may be annoying, but maybe it also solves your issue) you can try this in THAT order (WITH a NEW Project please) on your machine.&lt;/P&gt;
&lt;P&gt;I hope this will help also on your computer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am very interested in learning about the dependencies, existing.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Please let me know, if that gave some success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Dirk&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 18:03:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145724#M802650</guid>
      <dc:creator>DirkRedeker</dc:creator>
      <dc:date>2020-12-30T18:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "internal/modules/cjs/loader.js:883"when running the now-cli -develop</title>
      <link>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145725#M802651</link>
      <description>&lt;P&gt;Did anyone found the root cause?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:38:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/getting-error-quot-internal-modules-cjs-loader-js-883-quot-when/m-p/2145725#M802651</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2021-07-27T14:38:46Z</dc:date>
    </item>
  </channel>
</rss>

