wix-incubator / DetoxRecorder

Detox Recorder is a utility for recordings steps for a Detox test as you use your app in Simulator. After recording the test, add expectations that check if interface elements are in the expected state.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Screenshots
npm error

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]
commented

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.