Unable to install DetoxRecorder
deksmond opened this issue · comments
Problem
I tried installing the package using npm install detox-recorder --save-dev --no-package-lock
as described on the site into a react native project and it returns a couple npm errors.
Expected Behavior
I expect npm to install the package and run successfully.
Actual Behavior
It returns errors from my node_modules due to react-native-vector-icons and react-native-material-ui and is unable to install, with suggestions to rerun with a --force
or --legacy-peer-deps
flag.
Environment
- macOS: [e.g. 12.0.1]
- Xcode: [e.g. 13.1]
- iOS Simulator Runtime: [e.g. iOS 15.0]
- Detox Recorder Version: [e.g. 1.0.151]
I had this yesterday, and was able to resolve by deleting node-modules, doing an npm install
, pod install
, and using --force
I tried this and had to rebuild my project because npm install updated some packages to the latest version I didnt want.