Closed JQiue closed 4 years ago
使用npm或yarn安装该插件到项目中编译会出现错误 warning An error was encountered in plugin "vuepress-plugin-helper-live2d" 创建一个干净的vuepress项目也是如此
warning An error was encountered in plugin "vuepress-plugin-helper-live2d"
在config.js中的配置如下
plugins: [ [ 'vuepress-plugin-helper-live2d', { live2d: { enable: true, model: 'hibiki', display: { position: "right", width: 135, height: 300, hOffset: 65, vOffset: 0, }, mobile: { show: false }, react: { opacity: 0.8 } } } ] ]
Node.js & npm version
node 11.11.0 npm 6.7.0 yarn 1.22.4
方便贴下报错的详细信息吗?
很抱歉的是,控制台只提示这么一段信息
主页有我联系方式,你加下我,如果方便远程调试下
缺少vuepress关键模块,参考https://github.com/JoeyBling/vuepress-theme-yilia-plus/issues/1
vuepress
解决方法 npm install vuepress --save
解决方法
npm install vuepress --save
❓问题
使用npm或yarn安装该插件到项目中编译会出现错误
warning An error was encountered in plugin "vuepress-plugin-helper-live2d"
创建一个干净的vuepress项目也是如此在config.js中的配置如下
🐥环境 & 设置
Node.js & npm version