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
./src/components/NumberDisplay.vue?vue&type=template&id=6aab00b9&bindings={"getNumbers":"setup"})
Module not found: Can't resolve '@vue/server-renderer' in '/Users/linfuchuan/taro/test/src/components'
监听文件修改中...
./src/components/NumberDisplay.vue?vue&type=template&id=6aab00b9&bindings={"getNumbers":"setup"} (./node_modules/@tarojs/mini-runner/node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--10-0!./src/components/NumberDisplay.vue?vue&type=template&id=6aab00b9&bindings={"getNumbers":"setup"})
Module not found: Error: Can't resolve '@vue/server-renderer' in '/Users/linfuchuan/taro/test/src/components'
resolve '@vue/server-renderer' in '/Users/linfuchuan/taro/test/src/components'
。。。。
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'isSupportRecursivendefined
at new TaroMiniPlugin (G:\workspace\taro-2020.9.24-issue\node_modules\@tarojs\mini-runner\src\s\MiniPlugin.ts:121:18)
相关平台
微信小程序
复现仓库
https://github.com/linfun486/taro-2020.9.24-issue
小程序基础库: 2.13.0
使用框架: Vue 3
复现步骤
taro init 的vue3-vuex 就存在此问题
步骤1: taro init 然后选 Vue3/ ts[Y] / Sass / Gitee / vue3-vuex
步骤2: taro build --type weapp --watch
就报错了,项目中也是同样的错误
期望结果
能正常跑起来build
实际结果
生成 工具配置 /Users/linfuchuan/taro/test/dist/project.config.json
编译 发现入口 src/app.ts
编译 发现页面 src/pages/index/index.vue
🙅 编译失败.
./src/components/NumberDisplay.vue?vue&type=template&id=6aab00b9&bindings={"getNumbers":"setup"})
Module not found: Can't resolve '@vue/server-renderer' in '/Users/linfuchuan/taro/test/src/components'
监听文件修改中...
./src/components/NumberDisplay.vue?vue&type=template&id=6aab00b9&bindings={"getNumbers":"setup"} (./node_modules/@tarojs/mini-runner/node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--10-0!./src/components/NumberDisplay.vue?vue&type=template&id=6aab00b9&bindings={"getNumbers":"setup"})
Module not found: Error: Can't resolve '@vue/server-renderer' in '/Users/linfuchuan/taro/test/src/components'
resolve '@vue/server-renderer' in '/Users/linfuchuan/taro/test/src/components'
。。。。
环境信息
补充信息
在2020.9.14 通过3.0.10 完成init 没有任何问题,但是昨天(2020.9.23)想打包发线上预览报错,getCurrentInstance获取到的ctx 与开发环境不一致,于是想reinstall,于是出现这个错误,尝试过3.0.9, 3.0.10, 3.0.11都是相同的情况,期间没有更改过package.json
怀疑taro相关的依赖更新后产生的问题。
The text was updated successfully, but these errors were encountered: