Question: > 
> TypeError: global.\_\_reanimatedWorkletInit is not a function. (In 'global.\_\_reanimatedWorkletInit(\_f)', 'global.\_\_reanimatedWorkletInit' is undefined)
> 
> 
> 

I am using `React Native` (not expo). I don't even have `reanimated` downloaded. I had it downloaded then I removed it and rebuilt the app, and it's giving me this error now.

Things I've tried:

> 
> deleting `node_modules` and `re-running` yarn install
> -git reset HEAD~ to a prev commit where I didn't install the reanimated2 packages
> 
> 
>

Answer: 
I had a require cycle warning from a git submodule inside the src folder which I thought wasn't doing any harm but turns out fixing that solved this issue. I am unsure why the require cycle was causing so much grief but I guess if you've got a require cycle in your output try solving that and it may fix this.
I Just solved this issue by doing these steps:

1. close Metro bundler
2. run this command

> 
> npm start -- --reset-cache
> 
> 
> 

> 
> react-native start --reset-cache
> 
> 
> 

3. rebuild the project again