Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

error fresh install


Hi,

I try to install metronic laravel 8.1.7 and i have an error with : npm run dev

npm run dev

> dev
> npm run development


> development
> mix


✖ Mix
Compiled with some errors in 22.64s

1 WARNING in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)

ERROR in ./resources/assets/core/plugins/custom/typedjs/typedjs.js 3:15-47
Module not found: Error: Package path ./lib/typed.js is not exported from package C:\Users\Guillaume\Documents\laravel_wineos\node_modules\typed.js (see exports field
in C:\Users\Guillaume\Documents\laravel_wineos\node_modules\typed.js\package.json)

webpack compiled with 1 error and 1 warning


Thank you for your help

Regards


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 (6)


Hello,

To address the issue, I suggest deleting the node_modules folder and running npm install again to reinstall all packages from scratch. This should resolve the error you're encountering.

Please let me know if you have any further questions or concerns.

Thank you,



That's it.

Thank you very much happy



You're welcome! I'm glad I could help. Don't hesitate to reach out if you have any more questions or concerns. Have a great day! happy


Your Support Matters!

We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.

I'm in the exact same situation, but the proposed solution didn't fix the problem here.

I tried installing the dependencies with yarn and npm install.

Between attempts delete the node_modules folder and the package-lock.json file

Can you help me to resolve this?



Hi Leonardo Souza,

There is another known issue. The issue you experienced was due to a problem with the latest version of the typed.js library. To resolve this issue, you should downgrade the package to version 2.0.12 by running the following command:


npm install typed.js@2.0.12



npm run dev


Thank you.



I got same error, I have already downgrade type.js to v2.0.12 but still error like this


[webpack-cli] [Error: ENOENT: no such file or directory, open ".\node_modules\typed.js\lib\typed.js"]


Please help me..


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  :(