Open luckyadam opened 6 years ago
请问是否会加入react的新特性 useState
useEffect
useContext
?
@qq1311256696 你的版本太旧了
@yoohan-dex 未来会同步 react 的一些新特性
@qinyang1980 andy 感觉可能不大,flutter要是支持js 那估计有戏。
我就是用flutter的,但是项目需要做小程序,才找到taro。flutter 要是支持编译成小程序和H5,那就牛大了。很期待,但是希望渺茫。flutter这边有一个butterfly , https://github.com/yjbanov/butterfly 可以去参考一下。
👽 Taro v1.1.4
开始编译项目 myApp 创建 发现文件 src/app.scss 创建 发现文件 src/app.tsx 创建 发现文件 src/index.html 创建 发现文件 src/pages/index/index.scss 创建 发现文件 src/pages/index/index.tsx
🙅 Failed to compile.
./.temp/app.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
ReferenceError: Unknown plugin "transform-decorators-legacy" specified in "/Users/zhangjinxiu/.babelrc" at 0, attempted to resolve relative to "/Users/zhangjinxiu"
at Array.map (
小程序可以运行起来,但是h5就会失败
编译成小程序总是报这个错,官方例子
编译h5 总这个样子 node 10.13.0 npm6.4.1.
扫码 回复 Taro 加群,没反应呢?
@qiuhd2015 缺少npm包@tarojs/webpack-runner,开始安装... 这个如何解决的,今天刚装也是这个问题
百度开发者工具刚打开就编译失败:提示child exit with error code 1。什么原因呢?
找了一下没找到框架对原生值的通信机制,比如我想弄个第三方登录这个该怎么搞···
加群的二维码过期了
不支持 behavior 转换是啥意思?是小程序中有这样的代码就无法编译通过么?这个项目里用的很多诶
error: taro-build(1) does not exist, try --help 请问:报这个错是怎么回事呢
peerDependencies WARNING @tarojs/transformer-wx@1.2.3 › eslint-plugin-taro@1.2.3 requires a peer of babel-eslint@^8.2.3 but babel-eslint@10.0.1 was installed peerDependencies WARNING @tarojs/transformer-wx@1.2.3 › eslint-plugin-taro@1.2.3 requires a peer of eslint@^4.15.0 but eslint@5.11.1 was installed deprecate babel-plugin-remove-dead-code@^1.3.2 use babel-plugin-minify-dead-code-elimination and babel-plugin-minify-guarded-expressions deprecate @tarojs/transformer-wx@1.2.3 › eslint@5.11.1 › file-entry-cache@2.0.0 › flat-cache@1.3.4 › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor. Recently updated (since 2018-12-26): 10 packages (detail see file D:\software\nodejs\node_global\node_modules\@tarojs\cli\node_modules.recently_updates.txt) 一直使用不了,这个是怎么解决呢
各个小程序授权机制都不一样 在源码中怎么区分
拉我下 加个群 timger
原生小程序转成taro编译的时候. wx:if竟然还存在结果编译就会报错怎么解决? 原生代码: 转成taro之后编译h5版本报错:
taro用less 如何引用taro-ui样式(scss)
Taro在官方文档中有写到如何引入插件,而我是开发插件的,目录结构也是如同官方小程序插件给出的,然而plugin的目录就是不会被编译,这可如何是好。
我想问一下,我现在是已经用原生开发完成的微信小程序,我想引入taro进行后续的开发,有没有人知道我改怎么玩,急急急啊!!!
我想问一下,我现在是已经用原生开发完成的微信小程序,我想引入taro进行后续的开发,有没有人知道我改怎么玩,急急急啊!!! @luckyadam
官方文档仔细看看,支持后续开发的,不过建议从头至尾全部用taro
在 2019年3月20日,下午4:12,张永刚 notifications@github.com 写道:
我想问一下,我现在是已经用原生开发完成的微信小程序,我想引入taro进行后续的开发,有没有人知道我改怎么玩,急急急啊!!!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NervJS/taro/issues/198#issuecomment-474728733, or mute the thread https://github.com/notifications/unsubscribe-auth/AT71j9oX07HTtT_n3tmWsd5f14hcl0b5ks5vYe1VgaJpZM4U2BCD.
官方文档仔细看看,支持后续开发的,不过建议从头至尾全部用taro … 在 2019年3月20日,下午4:12,张永刚 @.***> 写道: 我想问一下,我现在是已经用原生开发完成的微信小程序,我想引入taro进行后续的开发,有没有人知道我改怎么玩,急急急啊!!! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#198 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AT71j9oX07HTtT_n3tmWsd5f14hcl0b5ks5vYe1VgaJpZM4U2BCD.
按照官方文档撸了一遍,确实不行,原来开发的小程序内用到了分包加载、背景图片用到了base64的背景图,全部报错了,可能这就是缺陷吧。确实不如从头开发来的好,但是重构又很 耗时、、、唉
回复Taro,小助手回复的信息,没有加群的信息呀
我的项目在h5运行时接口无法访问,出现跨域问题,怎么解决?
我的项目在h5运行时接口无法访问,出现跨域问题,怎么解决?怎么是指跨域的反向代理????
文档里有说支持自定义tagbar,custom=true以后需要怎么做
加好友 十几天都不通过??
componentDidMount在h5端 为什么每次进去都会执行 不是说对应着小程序的onLaunch么
会考虑支持VUE吗
h5无法编译啊
taro-ui 官网https://taro-ui.aotu.io/#/;按照这个安装即可,兼容基本没什么问题
------------------ 原始邮件 ------------------ 发件人: "张富"; 发送时间: 2019年5月21日(星期二) 下午3:36 收件人: "NervJS/taro"; 抄送: "踏雪污痕"1063560061@qq.com;"Comment"; 主题: Re: [NervJS/taro] 官方交流群 (#198)
请问插件开发如何使用taro-ui?
插件开发使用@tarojs/async-await?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
扫码 回复 Taro 加群,没反应呢?
加一
微信: uleechao 谁能拉我进群,谢谢了
@blackRe 在插件开发使用@tarojs/async-await,打包后微信开发工具提示regeneratorRuntime is not defined
, 追踪了打包后的代码,发现里面直接使用regeneratorRuntime方法, 但发现regeneratorRuntime在global下,直接使用会报错regeneratorRuntime is not defined
,只能写一个const regeneratorRuntime = global.regeneratorRuntime;
解决这个问题?
这是我使用方式有问题吗?
@qinyang1980 暂时没有计划支持 flutter 哦
咨询一下,请问对快应用的支持大约什么时候可以落地呢,我们正在做技术选型?
@luckyadam 扫码后没通过,麻烦处理下
@luckyadam 您好,想问一下如何引入vconsole,我在index.html中引入,但是没有生效
@freecodemans 你的 node 版本太低了
大佬,taro中如何使用快应用原生组件
目前 Taro 交流主要在微信群
- Taro 开发交流 1⃣️ 群(已满)
- Taro 开发交流 2⃣️ 群(已满)
- Taro 开发交流 3⃣️ 群(已满)
- Taro 开发交流 4️⃣ 群(已满)
- Taro 开发交流 5️⃣ 群(已满)
- Taro 开发交流 6️⃣ 群(已满)
- Taro 开发交流 7️⃣ 群(已满)
- Taro 开发交流 8️⃣ 群(已满)
- Taro 开发交流 9️⃣ 群(已满)
- Taro 开发交流 🔟 群(已满)
- Taro 开发交流 1⃣️1⃣️ 群(等待加入)
加群请扫码
目前 Taro 交流主要在微信群
- Taro 开发交流 1⃣️ 群(已满)
- Taro 开发交流 2⃣️ 群(已满)
- Taro 开发交流 3⃣️ 群(已满)
- Taro 开发交流 4️⃣ 群(已满)
- Taro 开发交流 5️⃣ 群(已满)
- Taro 开发交流 6️⃣ 群(已满)
- Taro 开发交流 7️⃣ 群(已满)
- Taro 开发交流 8️⃣ 群(已满)
- Taro 开发交流 9️⃣ 群(已满)
- Taro 开发交流 🔟 群(已满)
- Taro 开发交流 1⃣️1⃣️ 群(等待加入)
加群请扫码
大佬,taro 中如何全用快应用原生组件。
C:\Users\msi01\Desktop\Taro>taro init demo 👽 Taro v1.3.9
Taro即将创建一个新项目! Need help? Go and open issue: https://github.com/NervJS/taro/issues/new
√ 拉取远程模板仓库成功!
? 请输入项目介绍! demo01
? 是否需要使用 TypeScript ? No
? 请选择 CSS 预处理器(Sass/Less/Stylus) Less
? 请选择模板 默认模板
{ AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Users\msi01\AppData\Roaming\npm\node_modules\@tarojs\cli\templates\default.npmrc
at EditionInterface.exports.copy (C:\Users\msi01\AppData\Roaming\npm\node_modules\@tarojs\cli\node_modules\mem-fs-editor\lib\actions\copy.js:48:3)
at EditionInterface.module.exports [as copyTpl] (C:\Users\msi01\AppData\Roaming\npm\node_modules\@tarojs\cli\node_modules\mem-fs-editor\lib\actions\copy-tpl.js:29:8)
at Project.template (C:\Users\msi01\AppData\Roaming\npm\node_modules\@tarojs\cli\dist\create\creator.js:56:17)
at Object.
Trying to copy from a source that does not exist: C:\Users\Administrator\AppData\Roaming\npm\node_modules\@tarojs\cli\templates\default.npmrc 安装提示报这个错误,请问下有人遇到过吗?看路径的确没有.npmrc文件
C:\Users\msi01\Desktop\Taro>taro init demo 👽 Taro v1.3.9
Taro即将创建一个新项目! Need help? Go and open issue: https://github.com/NervJS/taro/issues/new
√ 拉取远程模板仓库成功! ? 请输入项目介绍! demo01 ? 是否需要使用 TypeScript ? No ? 请选择 CSS 预处理器(Sass/Less/Stylus) Less ? 请选择模板 默认模板 { AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\templates\default.npmrc at EditionInterface.exports.copy (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules\mem-fs-editor\lib\actions\copy.js:48:3) at EditionInterface.module.exports [as copyTpl] (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules\mem-fs-editor\lib\actions\copy-tpl.js:29:8) at Project.template (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\creator.js:56:17) at Object. (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:118:21) at Generator.next () at C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:7:71 at new Promise () at __awaiter (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:3:12) at Object.createApp (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:105:12) at Project.write (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\project.js:187:16) generatedMessage: false, name: 'AssertionError [ERR_ASSERTION]', code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } 创建项目时一直报这个,项目安装不了,请问是怎么回事
我也遇到同样的问题,请问有人知道怎么解决吗
这个我是这样解决的,有大佬说把别的文件夹里的.npmrc文件拷贝到taro的default下就可以了,我也是这么解决的,但是npm run dev:h5的时候,不知道又报什么错,反正各种报错
------------------ 原始邮件 ------------------ 发件人: "tomorrowGooddays"notifications@github.com; 发送时间: 2019年7月17日(星期三) 晚上7:59 收件人: "NervJS/taro"taro@noreply.github.com; 抄送: " "599526934@qq.com; "Comment"comment@noreply.github.com; 主题: Re: [NervJS/taro] 官方交流群 (#198)
C:\Users\msi01\Desktop\Taro>taro init demo 👽 Taro v1.3.9
Taro即将创建一个新项目! Need help? Go and open issue: https://github.com/NervJS/taro/issues/new
√ 拉取远程模板仓库成功! ? 请输入项目介绍! demo01 ? 是否需要使用 TypeScript ? No ? 请选择 CSS 预处理器(Sass/Less/Stylus) Less ? 请选择模板 默认模板 { AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\templates\default.npmrc at EditionInterface.exports.copy (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules\mem-fs-editor\lib\actions\copy.js:48:3) at EditionInterface.module.exports [as copyTpl] (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\node_modules\mem-fs-editor\lib\actions\copy-tpl.js:29:8) at Project.template (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\creator.js:56:17) at Object. (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:118:21) at Generator.next () at C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:7:71 at new Promise () at __awaiter (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:3:12) at Object.createApp (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\init.js:105:12) at Project.write (C:\Users\msi01\AppData\Roaming\npm\node_modules@tarojs\cli\dist\create\project.js:187:16) generatedMessage: false, name: 'AssertionError [ERR_ASSERTION]', code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==' } 创建项目时一直报这个,项目安装不了,请问是怎么回事
我也遇到同样的问题,请问有人知道怎么解决吗
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@tarojs/cli/templates/taro-temp'我更新成v1.3.13后会有这个问题
请问一下,有在生产环境用 Taro 开发快应用的吗?
@qinyang1980 andy 感觉可能不大,flutter要是支持js 那估计有戏。
qq 团队已经搞出来了啊https://github.com/TGIF-iMatrix/MXFlutter
这个预计什么时候能支持京东小程序?http://mp.jd.com/
目前 Taro 交流主要在微信群
其他交流群