0

I'm working on an ancient react native project, it was absolutely working, then when I wanted to continue working on it, I had this problem,

enter image description here

This is the package.json file. enter image description here

I ve tried this solution here, deleting the package-lock.json file and re executing

npm install

but it doesn't work for me.

Rafik
  • 395
  • 1
  • 2
  • 12

1 Answers1

0

I've tried to uninstall react-native-cli gloabally with

sudo npm uninstall -g react-native-cli

and than install it globally

sudo npm insatll -g react-native-cli

and now it works perfectly :)

Rafik
  • 395
  • 1
  • 2
  • 12