I get this error when I want to use the data forwarder :
[SER] Connecting to /dev/ttyUSB0 (node:28844) UnhandledPromiseRejectionWarning: Error: Could not read serial number for device at getDeviceId (/usr/lib/node_modules/edge-impulse-cli/build/cli/data-forwarder.js:509:15) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async connectLogic (/usr/lib/node_modules/edge-impulse-cli/build/cli/data-forwarder.js:94:24) (Use `node --trace-warnings ...` to show where the warning was created) (node:28844) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:28844) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I use a NodeMCU to record my voice, here the code :
const int picMic = A0;
What can I do to solve this problem ?
Thank you !