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

Using onyx in an app that doesn't use lodash by itself fails #595

Open
hannojg opened this issue Nov 7, 2024 · 0 comments
Open

Using onyx in an app that doesn't use lodash by itself fails #595

hannojg opened this issue Nov 7, 2024 · 0 comments

Comments

@hannojg
Copy link
Contributor

hannojg commented Nov 7, 2024

When trying to use onyx in a blank new app you get failures like these:

CleanShot 2024-11-07 at 07 43 49

I think the main problem / reason for that is that onyx uses these dependencies but doesn't list them as dependency:

"dependencies": {
"ascii-table": "0.0.9",
"fast-equals": "^4.0.3",
"underscore": "^1.13.6"
},

I guess that has been unnoticed as the NewDot app ships with lodash, thus those imports can resolve. I am currently trying to test / use onyx in a separate context than NewDot and this prevents me from using it (will put up a PR in a moment).

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

1 participant