Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The compiled zcl folder is missing. #7578

Open
liubotongs opened this issue May 30, 2024 · 1 comment
Open

The compiled zcl folder is missing. #7578

liubotongs opened this issue May 30, 2024 · 1 comment

Comments

@liubotongs
Copy link
Contributor

zigbee-herdsman-converters@19.45.0 build
src/devices/sonoff.ts:2:32 - error TS2307: Cannot find module 'zigbee-herdsman/dist/zcl/definition/buffaloZclDataType' or its corresponding type declarations.
I observed that... The /zigbee-herdsman-converters/node_modules/zigbee-herdsman/dist path is missing the zcl folder, resulting in the above compilation error.

@LaurentChardin
Copy link

LaurentChardin commented Jun 3, 2024

import {BuffaloZclDataType} from 'zigbee-herdsman/dist/zspec/zcl/definition/enums';
It should be fixed in the latest version: 19.49.0 as there was some refactoring some time ago from the ZCL folder.

You are basically compiling an old codebase of ZHC with a newer version of ZH. You might want to update your dependencies (and your codebase)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants