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
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
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!
Your Support Matters!
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..