I try to install metronic laravel 8.1.7 and i have an error with : npm run dev
npm run dev
> npm run development
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
webpack compiled with 1 error and 1 warning
Thank you for your help
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.
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!
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 email@example.com
npm run dev
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"]