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

Yarn.lock & package-lock.json preventing the attempt to run the app #11

Closed
neugomonov opened this issue Jan 6, 2023 · 0 comments · Fixed by #12
Closed

Yarn.lock & package-lock.json preventing the attempt to run the app #11

neugomonov opened this issue Jan 6, 2023 · 0 comments · Fixed by #12

Comments

@neugomonov
Copy link
Contributor

Describe the bug
The updates @michaelessiet made in the package are cool and all, but the newly added lock files from #10 are messing up the initial android build.
I had to remove them both (Yarn.lock & package-lock.json) and reinstall the dependencies (using yarn command, surely) with a new autogenerated yarn-lock file in order to get the project to run (on android 🤖).
After that the yarn android command worked flawlessly.
With the files offered by @michaelessiet it was giving me the error below.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Try to run the app: yarn && yarn android
  3. After bundling is complete, see the error:
 ERROR  TypeError: _reactNativeReanimated.Easing.bezier(0.16, 1, 0.3, 1) is not a function. (In '_reactNativeReanimated.Easing.bezier(0.16, 1, 0.3, 1)(progress.value)', '_reactNativeReanimated.Easing.bezier(0.16, 1, 0.3, 1)' is 
an instance of Object)

This error is located at:
    in AnimatedCheckbox (created by TaskItem)
    in RCTView (created by View)
    in View (created by Pressable)

Expected behavior
No error 🐛

Screenshots
error log

Desktop (please complete the following information):

  • OS: [Windows 10]

Smartphone (please complete the following information):

  • Device: [Android Emulator]
  • OS: [Android 11]

Additional context
#7 could be related, so dear @kokosky93, if you're still confused by the error you received, maybe try deleting the lock files, then run yarn or npm i. It could help. :)

neugomonov added a commit to neugomonov/react-native-animated-todo that referenced this issue Jan 6, 2023
neugomonov added a commit to neugomonov/react-native-animated-todo that referenced this issue Jan 7, 2023
craftzdog pushed a commit that referenced this issue Jan 8, 2023
* fix(dep): remove the lock files (fixes #11)

* fix(dep): update the yarn.lock file (fixes #11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant