Why my nodered cannot detect USB device on my raspberrry pi

Is the USB device plugged into the computer running node-red?

Yes. When I use serial.There will be the output. My device is a barcode scanner

I just follow the guidelines here. Or do I need to configure anything else?