Hi bro, I do follow this: npm install node-onvif But when build, I had error: [webpack-cli] [31mModuleNotFoundError: Module not found: Error: Can't resolve 'dgram' in …. Please support me fix it. Thank you very much!
I believe that dgram is a node module that will only run server side, but you are trying to use it as part of a widget that runs client side. I don’t think the module you are trying to use is designed to run in a browser.