Skip to content

Module not found: Error: Can't resolve '@twilio-paste/color-contrast-utils' #1657

Answered by SiTaggart
mel510 asked this question in Q&A
Discussion options

You must be logged in to vote

So, yes, a couple of things are happening here. It is related to the 5.3.0 release of theme, but according to your lockfile you are pinned to 5.1.0

  "@twilio-paste/theme": {
      "version": "5.1.0",
      "resolved": "https://registry.npmjs.org/@twilio-paste/theme/-/theme-5.1.0.tgz",
      "integrity": "sha512-j0IRywTJogN7xA1x/Kxu/sAgFHRepOY6x2gjf+cQfqmolI3HXAruLFteUE9KxKcA8LoFGBhnxq1GvXrTm5dtaQ=="
    },

And running locally this seems to work just fine. Is it on a branch? Also has someone blown away a lockfile recently?

Unless npm is different to yarn, when you install, even if the peer dep is listed as "^5.1.0" in core, it shouldn't be trying to get the latest because the lockfile is…

Replies: 5 comments 5 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
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 SiTaggart
Comment options

You must be logged in to vote
4 replies
@SiTaggart
Comment options

@mel510
Comment options

@mel510
Comment options

@SiTaggart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants