-
Customer reports he is getting: Unfortunately, I am getting build errors that seems to be due to conflicting versions between
If I choose a
TypeError: Cannot destructure property 'dir' of 'T.package' as it is undefined. I responded to the Customer: Customer responded:
./node_modules/@twilio-paste/combobox/dist/index.es.js 1:8844
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @dmolloy71 There's a few things going on here and it's hard to guess correctly, so I will share some thoughts in the hope it helps. It's a plugin using its own version of Paste, in a Flex app which uses its own version of Paste. There's a possibility of issues in that aspect alone, so I would recommend exploring module resolutions in the
Alternatively you can use the same versions of Paste that Flex app is using. I don't know these versions myself, but you can check with the folks on Flex. Another thought is that we updated our browser targets for our compiled bundles in Lastly, the core and icons package should work relatively loosely, so there should be minimal thrash with version lags. In any case, I would recommend updating core and icons to the latest versions. If those still don't work, it is clear at that point that the paste versions aren't the issue but something else happening at build time. |
Beta Was this translation helpful? Give feedback.
-
Hi I was informed by customer "After more trial and error, I was able to solve the issue using these versions:
And I separately installed a specific version of Regarding your question about RecordIcon, I actually checked the code of the various versions of |
Beta Was this translation helpful? Give feedback.
Hi I was informed by customer "After more trial and error, I was able to solve the issue using these versions:
And I separately installed a specific version of
@twilio-paste/tabs
to insure the same look overall. Other than that, flex was not compatible with the latest version of@twilio-paste/core
, I had to fix the cicd to use the extra flaglegacy-peer-deps
.Regarding your question about RecordIcon, I actually checked the code of the various versions of
@twilio-paste/icons
in npm registry to see how back can I go without losing this icon, but now it works with the newest version, then there is no problem."