Updated on 2024-11-26 GMT+08:00

Missing Modules (SDK for Node.js)

Problem: When OBS Node.js SDK is used for secondary development, an error message was displayed indicating that a module was missing, for example, "Cannot find module 'xml2js'".

Solution:

  1. Check whether the version of the local Node.js SDK is the latest.
  2. Ensure that the dependency libraries have been correctly installed. For details, see Installing the SDK (SDK for Node.js).