Skip to content

Error on build #783

Nov 8, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Not sure about the issue with rc-10, does upgrading to the last release candidate (rc-15) fix the issue?

The issue when updating to 2.0.2 is because the plugin you're using pinia-plugin-persist hasn't been updated yet to work with the pinia 2 release. It's importing an internal type that has been deprecated in v2. You can:

  1. Disable the type checking of node packages with "skipLibCheck": true in the compilerOptions of your tsconfig.json. This will ignore the type issue (see https://www.typescriptlang.org/tsconfig#skipLibCheck)
  2. Even if the above works, raise an issue in that repo asking for full support for pinia 2: https://github.com/Seb-L/pinia-plugin-persist/issues

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hi-reeve
Comment options

Answer selected by hi-reeve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants