-
Notifications
You must be signed in to change notification settings - Fork 36
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
No package can be imported from CRA + TS projects #754
Comments
This seems to be a known issue with facebook/create-react-app#10356 I am currently looking into how we can avoid this, while not breaking platforms such as Node.js... |
Awesome, thank you. Please let me know when you publish the fix. |
I encouter similar error when trying to import some hooks from @shopify/react-form and use them in my CRA + TS project.
|
@stsiarzhanau While this is being fixed, you can try this ugly hack: formatjs/formatjs#1395 (comment) |
Thanks. That helped. |
Hey @stsiarzhanau and @ostrebler! Can you please confirm the package versions published here #755 (comment) work for you? |
Yes it absolutely works! |
Using the latest react-scripts and TypeScript versions, importing something from
graphql-live-query-patch-json-patch
for example seems to fail no matter what.Copy/pasting from the doc:
I get the following error:
I tried several import strategies (
* as jsonPatch
, importing sub-paths, etc.), the problem stays the same. It happens for all graphql-live-query packages I tried.The text was updated successfully, but these errors were encountered: