problem with dependence
I have this issue
ERROR in ./webpack/plugins/custom/typedjs/typedjs.js 3:15-47
Module not found: Error: Package path ./lib/typed.js is not exported from package /Users/django_demo1/starterkit/_keenthemes/tools/node_modules/typed.js (see exports field in /Users/django_demo1/starterkit/_keenthemes/tools/node_modules/typed.js/package.json)
Replies (5)
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,
I have the same issue. Typed.js is the problem too. And deleting node_modules folder, and after try to install again, its not working.
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 /home/
hi again, i found the problem in the version of typed.js.
Its need to be as this: "typed.js": "2.0.12",
The new version of this dependencie(2.0.132) cause the error when i run "npm run dev". So if you write the old version in your package json, the command before will be okey.
Thanks and regards.
Hello Guillermo Rojo,
Thank you for updating us on the issue you were facing with the typed.js library. It's great to hear that you were able to identify the problem and find a solution.
As you mentioned, the issue was caused by the version of the typed.js library. The newer version (2.0.132) caused an error when running "npm run dev", but downgrading to version 2.0.12 resolved the issue.
Thanks for sharing your solution with us.
Thanks
Thanks @Guillermo Rojo
This is the way how it worked for me :
(1) Downgrade typed.js package
npm install typed.js@2.0.12
(2) Compile
npm run dev