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
./.temp/miniprogram_npm/vant-weapp/action-sheet/index.js
Module not found: Can't resolve '../loading/index' in '/Users/lijicheng/work/consumer-mp/miniprogram/taroConvert/.temp/miniprogram_npm/vant-weapp/action-sheet'
这个目录
miniprogram_npm/vant-weapp/
实际上是有loading这个目录的。截图如下:
而
转过来的的这个.temp/目录下却没有loading这个文件夹了。不知道是什么原因
复现步骤
taro convert
cd taroConvert
npm install
4.npm run dev:h5
然后就报错了
// 代码涉及的有点多,就暂时不复制了
期望行为
希望能把loading这个目录弄过来,不报错 报错信息
`
./.temp/miniprogram_npm/vant-weapp/action-sheet/index.js
Module not found: Can't resolve '../loading/index' in '/Users/lijicheng/work/consumer-mp/miniprogram/taroConvert/.temp/miniprogram_npm/vant-weapp/action-sheet'
问题描述
用有赞的ui vant-weapp做的微信小程序,想转成h5,在转换的过程中出现了报错:
这个目录
实际上是有loading这个目录的。截图如下:
而
转过来的的这个.temp/目录下却没有loading这个文件夹了。不知道是什么原因
复现步骤
taro convert
cd taroConvert
npm install
4.npm run dev:h5
然后就报错了
// 代码涉及的有点多,就暂时不复制了
期望行为
希望能把loading这个目录弄过来,不报错
报错信息
`
./.temp/miniprogram_npm/vant-weapp/action-sheet/index.js
Module not found: Can't resolve '../loading/index' in '/Users/lijicheng/work/consumer-mp/miniprogram/taroConvert/.temp/miniprogram_npm/vant-weapp/action-sheet'
`
系统信息
`
➜ ~ taro info
👽 Taro v1.2.12
Taro CLI 1.2.12 environment info:
System:
OS: macOS High Sierra 10.13.6
Shell: 5.3 - /bin/zsh
Binaries:
Node: 11.5.0 - ~/.nvm/versions/node/v11.5.0/bin/node
Yarn: 1.12.3 - ~/.nvm/versions/node/v11.5.0/bin/yarn
npm: 6.5.0 - ~/.nvm/versions/node/v11.5.0/bin/npm
`
补充信息
从有赞的ui库上没有发现明显的问题,第一次执行taro convert的时候因为css报错,修改之后我rm -rf taroConvert 了的 应该没有缓存
The text was updated successfully, but these errors were encountered: