custom-cards / custom-card-helpers

Custom Card Helper Functions/Types for Developers
https://custom-cards.github.io/custom-card-helpers/
MIT License
48 stars 29 forks source link

Cannot find module './translations/localize' when updating from 1.7.1 to 1.9 #60

Open reptilex opened 2 years ago

reptilex commented 2 years ago

When I try to update custom-card-helper package I get an error: `Cannot find module './translations/localize' or its corresponding type declarations.

2 import { LocalizeFunc } from "./translations/localize";`

This are my packages and my update instruction:

Screenshot 2022-04-02 at 12 44 04

It seems it requires an update on typescript and this may lead to the error. My packages after the update are:

Screenshot 2022-04-02 at 12 45 03

I know this might be very specific to what I have here, but could you at least point me into the right direction? I suffer with all this typescript babel package stuff. Thanks

reptilex commented 2 years ago

I can update everything red but custom card helpers without any issues:

Screenshot 2022-04-02 at 12 57 13