Skip to content

Missing combobox package after upgrading @twilio-paste/core #1988

Answered by TheSisb
mohseenrm asked this question in General
Discussion options

You must be logged in to vote

Hi @mohseenrm,

A few observations that may be causing the issue:

  1. Your dependencies list also includes these packages which should instead be retrieved from core. You can remove these:
    "@twilio-paste/badge": "^1.0.1",
    "@twilio-paste/breadcrumb": "^4.0.2",
    "@twilio-paste/checkbox": "^6.0.3",
  1. The main observation is that the Paste import style is inconsistent in many files. I highly recommend spending a few minutes converting it to unbarreled core imports like so (you can use our codemod library to get you part of the way there):

  1. Once the imports are fixed in the code, I recommend clearing node_modules and yarn/npm.lock files before reinstalling.

Let us know if the issue …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mohseenrm
Comment options

You must be logged in to vote
1 reply
@kelseycavitt
Comment options

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