Error on build #783
-
hello, i got an error while trying to build pinia.
nb: the error above with the pinia 2.0.0.rc-10 i tried upgrading pinia to the latest and i got this error
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not sure about the issue with The issue when updating to
|
Beta Was this translation helpful? Give feedback.
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 usingpinia-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:"skipLibCheck": true
in thecompilerOptions
of your tsconfig.json. This will ignore the type issue (see https://www.typescriptlang.org/tsconfig#skipLibCheck)