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
Cannot find module d3 or its corresponding type declarations #2362
Comments
I can't reproduce this. My steps:
|
+1 @moklick You need to set |
added @types to |
@moklick - Seems that while adding the @types in V10.3.15 you forced everyone to install @types/react and @types/react-dom v18 which is not compatible with React v16. For now I am going to freeze my application on the previous version to mitigate the problem I'm seeing |
Hi @moklick , It is not necessary to include the |
@barneaoren @sushantdhiman Thanks! This is fixed in v10.3.16 |
Describe the Bug
After updating to v10, builds fail because it fails to find d3 or d3-transitions
I'm using Vite v2.6.4 to build the package.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
tsc && vite build
Expected behavior
Build with no errors
Screenshots or Videos
No response
Platform
react-flow-renderer: v10.3.14
vite: 2.6.3
react: 18.2.0
Additional context
No response
The text was updated successfully, but these errors were encountered: