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

Task :shopify_flash-list:testDebugUnitTest FAILED #799

Closed
1 task
abdullahIsa opened this issue Mar 24, 2023 · 6 comments · Fixed by #815
Closed
1 task

Task :shopify_flash-list:testDebugUnitTest FAILED #799

abdullahIsa opened this issue Mar 24, 2023 · 6 comments · Fixed by #815
Labels
bug Something isn't working

Comments

@abdullahIsa
Copy link

Hello i updated flashList to the latest version and getting this when i do ./gradlew build, how to fix?

Current behavior

image

Expected behavior

To build correctly without errors.

To Reproduce

Install "@shopify/flash-list": "^1.4.2" with "react-native": "0.70.6"

Platform:

  • iOS
  • [ yes] Android

Environment

"@shopify/flash-list": "^1.4.2"
"react-native": "0.70.6"

@abdullahIsa abdullahIsa added the bug Something isn't working label Mar 24, 2023
@andrespch
Copy link

Hey @abdullahIsa, can you please provide an example project that demonstrates this issue? we would then try to look into this soon.

@Streudal
Copy link

I had the same issue today but it was working for the past few weeks and I never updated versions. The version I'm on is "@shopify/flash-list": "^1.4.1" but I removed the caret from the version number and now everything is fine... No idea why this has an effect but sometimes it does when using npm. So in the package.json it now reads "@shopify/flash-list": "1.4.1" (notice the caret is now removed). I tested this even further by upgrading to 1.4.2 (with and without the caret) and both versions failed to build on Android (iOS works) and resulted in the same error. Removing node_modules, package.lock, both build folders (android/app/build & android/build), wiping emulator data, killing the everything and starting over did not fix the issue either.

@abdullahIsa
Copy link
Author

Hey @abdullahIsa, can you please provide an example project that demonstrates this issue? we would then try to look into this soon.

Hello, i downgraded back to "@shopify/flash-list": "^1.4.1" since not getting the error so not sure what cause it in the latest version.

@nullatnothing
Copy link

Same issue with:

"@shopify/flash-list": "^1.4.2"
"react-native": "^0.71.6"

@shensven
Copy link

same one, see more detail here #756 (comment)

@VictorPulzz
Copy link

Same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants