Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(