-
Notifications
You must be signed in to change notification settings - Fork 30
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
[BUG] Cannot find module 'telefunc/react-streaming' or its corresponding type declarations. #76
Comments
The example at I'll need a reproduction.
I'm glad you like them. In case you're able to convince your employer: https://github.com/sponsors/brillout — it makes a big difference! |
Hi @brillout, I noticed that the Here is a screenshot showing the missing package: I am currently using your libraries to build my stack, and if they work perfectly, I would be happy to promote them within the JavaScript community in Vietnam. Thank you! |
It's a peer dependency: make sure to install it.
💯 |
I can assure you that I have the react-streaming package installed. Currently, I have to import the import { useData } from 'telefunc/dist/esm/shared/react-streaming/useData';
|
I'll need a reproduction. |
EnvironmentI used volta to install node and npm. Node: 18.16.1 Examplehttps://github.com/brillout/telefunc/tree/main/examples/react-streaming DependenciesI must install dependencies with the command below, because there is a problem:
StatusThe bug is also in your example: |
Fix released in |
It works! Thank you! |
Hi @brillout,
I find this bug when try to import
telefunc/react-streaming
.Error:
Cannot find module 'telefunc/react-streaming' or its corresponding type declarations.
By the way,
vite
,vite-plugin-ssr
,telefunc
andreact-streaming
are awesome. I really like them ❤The text was updated successfully, but these errors were encountered: