Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

NodeJs errors


Hi There,

Our company recently purchase themes with KeenThemes. Happy with the Themes!

For initial setup and demo for POC on another project to be kick off, we are decided to use NodeJs.

Our team found few errors when follow the instructions given setup for NodeJs.

a.) Download NodeJs Demo1
b.) Followed the instructions given as below
https://preview.keenthemes.com/nodejs/metronic/docs/getting-started
c.) after run this command - npm install, we received few errors as below :
sh-3.2# npm install

up to date, audited 1743 packages in 25s

148 packages are looking for funding
run `npm fund` for details

20 vulnerabilities (1 moderate, 13 high, 6 critical)

To address issues that do not require attention, run:
npm audit fix

To address all issues possible (including breaking changes), run:
npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
sh-3.2#

Our team did not do any changes, and even tried the npm audit fix and --force still same thing.

please advise and assist.

Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

Thank you for reaching out to us.

These are dependency vulnerabilities and they shouldn't fail the npm install command, we will check those vulnerabilities in more detail and will try to fix them in the next releases.

Since these vulnerabilities do not fail the command you can ignore them for now and proceed with the steps, try to build assets with gulp --demo1.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



hi Lauris,

Noted and will wait for next released...

anyhow after try the gulp -- demo1 another error

sh-3.2# gulp --demo1
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'lodash' imported from /Applications/MAMP/htdocs/nodejs/myapp/starterkit/_keenthemes/tools/gulp/compile.js
at new NodeError (node:internal/errors:399:5)
at packageResolve (node:internal/modules/esm/resolve:794:9)
at moduleResolve (node:internal/modules/esm/resolve:843:20)
at defaultResolve (node:internal/modules/esm/resolve:1058:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:837:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:418:18)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}



Hi,

Unfourtnetly, we were not able to reproduce this error in the latest Metronic version.

Could you please specify your Metronic version and your Node version?

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(