相关平台 微信小程序 复现仓库 https://github.com/Yuansheng-Tech/taro-template 小程序基础库: 2.19.2 使用框架: React 复现步骤 yarn build:weapp 期望结果 不报错 实际结果 node_modules/@tarojs/plugin-mini-ci 下不存在 dist 文件 报错 环境信息 Taro CLI 3.3.9 envir
其实这个问题,本来可以通过给package.json加type: "module"解决的,但是它又反过来要求所有CommonJS模块都以.cjs结尾。 然后我也试过给babel加plugin 希望从ESM转到CommonJS,但是我发现它也没有办法完成转换。 目前这个问题我单方无法解决,因此,求提供一个解决方案。
使用Taro v3.0.0-rc.3 cli开发生成rn端时会报 UnhandledPromiseRejectionWarning: Error: Cannot find module 'babel-plugin-transform-jsx-to-stylesheet' 手动安装后依然无用 复现步骤 使用taro v3-rc3 初始化一个项目react-ts-默认模板的项目之后,直接dev:rn或者build:rn就会触发 /** * 这段注释后可以贴代码...
webpack-plugin": "^1.5.2", "@tarojs/cli": "3.5.2", "@types/webpack-env": "^1.17.0", "@typescript-eslint/eslint-plugin": "^5.32.0", "@typescript-eslint/parser": "^5.32.0", "@vue/babel-plugin-jsx": "^1.1.1", "@vue/compiler-sfc": "^3.2.37", "babel-plugin-...
1.3.44 => 1.3.44 @tarojs/webpack-runner: 1.3.44 => 1.3.44 eslint-config-taro: 1.3.44 => 1.3.44 eslint-plugin-taro: 1.3.44 => 1.3.44 nerv-devtools: ^1.5.5 => 1.5.7 nervjs: ^1.5.5 => 1.5.7 stylelint-config-taro-rn: 1.3.44 => 1.3.44 stylelint-taro-rn: 1.3.44 =...
eslint-config-taro: 1.2.12 => 1.2.12 eslint-plugin-taro: 1.2.12 => 1.2.12 nervjs: ^1.3.9 => 1.3.12 补充信息 [可选] [根据你的调查研究,出现这个问题的原因可能在哪里?] taro-bot commentedon Feb 10, 2019 taro-bot taro-bot