You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my dependencies like follow,but the console still reporting error:
TypeError: Cannot set properties of undefined (setting 'Valine')
"dependencies": {
"vue": "^3.4.27",
"vuepress": "2.0.0-rc.14",
"vuepress-theme-reco": "2.0.0-rc.20",
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/bundler-webpack": "2.0.0-rc.14"
}
I tested it and found that the local development environment was abnormal, but it will work normally after compilation, so you can publish it and try it.
error:Valine.min.js?v=debad364:7 Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'Valine')
package.json:{
"name": "vuepress-theme-reco-demo",
"version": "2.0.0",
"description": "Demo for vuepress-theme-reco@2.x.",
"repository": "git@github.com:recoluan/vuepress-theme-reco-demo.git",
"author": "reco_luan recoluan@outlook.com",
"license": "MIT",
"scripts": {
"dev": "vuepress dev .",
"start": "vuepress dev .",
"build": "vuepress build ."
},
"dependencies": {
"vue": "^3.4.27",
"vuepress": "2.0.0-rc.13",
"vuepress-theme-reco": "2.0.0-rc.16",
"@vuepress/bundler-vite": "2.0.0-rc.13",
"@vuepress/bundler-webpack": "2.0.0-rc.13"
}
}
config.ts:
commentConfig: {
type: 'valine',
options: {
appId: '',
appKey: '',
visitor: true
},
},
npm-v:20.11.0
The text was updated successfully, but these errors were encountered: