camera-utils icon indicating copy to clipboard operation
camera-utils copied to clipboard

Issues with dgram

Open ameshkin opened this issue 6 months ago • 0 comments

Analysis

I will fork this repo to get around this issue that I can't figure out. I am using next.js and after fixing other issues, I get to this. I'm also using mac silicon which was another issue with a package homebridge requires.

⨯ ./node_modules/@homebridge/camera-utils/lib/rtp-splitter.js:13:1

Module not found: Can't resolve 'dgram'

Expected Behavior

Homebridge should be able to find required package

Steps To Reproduce

Install homebridge on a next.js site and go to any page

Logs

Import trace for requested module:
./node_modules/@homebridge/camera-utils/lib/index.js
./src/ring-client-api/streaming/streaming-session.ts
./src/ring-client-api/ring-camera.ts
./src/ring-client-api/index.ts
./src/app/admin/home/page.tsx
 ⨯ ./node_modules/@homebridge/camera-utils/lib/rtp-splitter.js:13:1
Module not found: Can't resolve 'dgram'

Configuration

Next.js v13.2.3

Environment

  • OS: MAC
  • Software: Next.js v13.2.3
  • Node: v18.17.0
  • npm: 10.8.0

Process Supervisor

hb-service

Additional Context

No response

ameshkin avatar Aug 02 '24 15:08 ameshkin