Tarang has missing dependency issue on Node < 17
Closed this issue · 3 comments
sudarshansb143 commented
Tarang has missing dependencies for node version less than 17.
After installing tarang I got this
./node_modules/tarang/dist/index.modern.js
Module not found: Can't resolve 'd3' in 'D:\project1\node_modules\tarang\dist'
My node version is : 14.0.2
kamalyesh commented
Thanks for reporting the issue.
I will check what can be done about it.
kamalyesh commented
It looks like this occurred because of peerDependency.
As stated in this blog, if you have npm version 1, 2 or 7, these peer dependencies will be automatically installed and the issue will not occur.
sudarshansb143 commented
yeah !
after som googling I have installed NVM and switched to the latest version of Node.js (17.2). by doing this I am able to get it done.