How to update vue-tsc? (Obsolete) #402
johnsoncodehk
started this conversation in
Show and tell
Replies: 3 comments 11 replies
-
Thx~ |
Beta Was this translation helpful? Give feedback.
0 replies
-
This can actually be accomplished without having to blow away your lock file. If you run |
Beta Was this translation helpful? Give feedback.
3 replies
-
pnpm doesn't work with |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
npm:
delete package-lock.json and reinstall it.run
$ npm uninstall vue-tsc && npm cache clean --force && npm install vue-tsc
(thanks to @henribru!)yarn:
delete yarn.lock and reinstall it.
pnpm:
run
$ pnpm up --latest vue-tsc
(thanks to @KyllianV!)If use yarn, you can config
resolutions
in package.json to roll back to a specific version:Beta Was this translation helpful? Give feedback.
All reactions