微信小程序转 Taro

eqqqjvef  于 22天前  发布在  其他
关注(0)|答案(3)|浏览(21)

相关平台

微信小程序

复现仓库

https://gitee.com/FE_lwj/wx-convert-taro.git

小程序基础库: 2.9.14
使用框架: React

复现步骤

1.新建一个原生小程序项目
2.在原生小程序项目目录下执行:npx @tarojs/cli-convertor
3.终端提示:typescript is not defined

期望结果

正确执行npx @tarojs/cli-convertor

实际结果

执行npx @tarojs/cli-convertor 不会报错提示typescript is not defined

环境信息

Taro CLI 3.6.16 environment info:
    System:
      OS: macOS 11.6.7
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
      npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm

补充信息

@tarojs/cli@3.6.17 | MIT | deps: 23 | versions: 647
cli tool for taro
https://github.com/NervJS/taro#readme

ruoxqz4g

ruoxqz4g1#

老哥,我跟你碰到同样的问题了

x8diyxa7

x8diyxa72#

害,我是报eslint_1.CLIEngine is not a constructor

相关问题