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

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


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..



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?



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.

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


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