Can't properly load "ZigbeeDriver" to work in prod

Beginner here, sorry if question is basic :innocent:
Developing an app to support a zigbee window covering modules (brand: Yokis). Went through everything, and it works in the testing environnement (homey app run) but not in prod (either homey app install or homey app run --remote).
Homey Pro 2023. Working from a Mac.

Here’s the catch, it depends also on how I reference the ZigbeeDriver at the top of my device.js

  • With const { ZigBeeDevice } = require("homey-zigbeedriver");
    (which should be the proper way to do it according to the API docs)
    DEV = :no_entry: [err] [ManagerDrivers] [Driver:yokis-blinds] Error Initializing Device: ReferenceError: ZigbeeDevice is not defined
    PROD = :no_entry: [err] [ManagerDrivers] [Driver:yokis-blinds] Error Initializing Device: ReferenceError: ZigbeeDevice is not defined

  • With const ZigbeeDevice = require('homey-zigbeedriver/lib/ZigbeeDevice');
    DEV = :white_check_mark:
    PROD = :no_entry: [err] [ManagerDrivers] [Driver:yokis-blinds] Error Initializing Device: Error: Cannot find module 'homey-zigbeedriver/lib/ZigbeeDevice'

I’ve gone through all the hoops I thought of (npm install, checking dependencies list in package.json, removing & reinstalling with npm install --save homey-zigbeedriver zigbee-clusters. The homey-zigbeedriver folder is present in the node_modules build folders of course.

Let me insist that with homey app run and declaring with const ZigbeeDevice = require('homey-zigbeedriver/lib/ZigbeeDevice');, my app and my device work perfectly (I can send commands, it responds…).

Any idea what I’m doing wrong?
Thanks!

Hi, solved the problem myself, and it was a basic mistake indeed.
I was using class YokisBlindsDevice extends ZigbeeDevice { instead of class YokisBlindsDevice extends ZigBeeDevice { (capital ā€œBeeā€). So a basic capitalisation mistake
Sorry for the unnecessary post.