React Native Reanimated

Asked

Viewed 131 times

0

When installing the React-Native-reanimated and launching the application this error is generated: inserir a descrição da imagem aqui

Looking for some on the internet I found this topic Link

Following the information would only be necessary to do the following command in CMD/Powershell but when running it presents the second error

inserir a descrição da imagem aqui

Checking package.json really I don’t have this import in dependencies, I don’t know exactly what I should add here

inserir a descrição da imagem aqui

Note: If I go in the node_modules folder I find the React-Native-reanimated package installed, the last image is the package.json file inside the React-Native-reanimated folder

inserir a descrição da imagem aqui

2 answers

0


to avoid this kind of problem always install as administrator. This way it adds all information automatically

0

The main package.json file needed to add the React-Native-reanimated dependency manually

"react-native-reanimated": "^1.4.0",

After that restarting the machine and using the commands

npm cache clean --force
react-native run-android 

Project started without previously described error

Browser other questions tagged

You are not signed in. Login or sign up in order to post.