Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tarang has missing dependency issue on Node < 17 #1

Closed
sudarshansb143 opened this issue Dec 1, 2021 · 3 comments
Closed

Tarang has missing dependency issue on Node < 17 #1

sudarshansb143 opened this issue Dec 1, 2021 · 3 comments

Comments

@sudarshansb143
Copy link

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
Copy link
Owner

Thanks for reporting the issue.
I will check what can be done about it.

@kamalyesh
Copy link
Owner

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants