Undefined is not an object (this.peerconnection.addTrack)

I am experienced this issue when I am trying to use my own package-lock.json

Steps to reproduce it:

  1. I pull source code from https://github.com/jitsi/jitsi-meet
  2. Run npm install (package-lock.json from repo -> number of lines: 18k ++)
  3. Run on device and it is worked
  4. Delete existing package-lock.json
  5. Run npm install (generated package-lock.json -> number of lines: 14k ++)
  6. Run on device and got error (undefined is not an object (evaluating this.peerconnection.addTrack)

Anyone can give me some suggestions how to solve it ?

1 Like