Open liuyunzyj opened 4 years ago
到
尝试使用直接运行etu.ps1,弹出powershell后又马上关闭了
系统:win 10
看起来是权限不够,请参考:https://www.jianshu.com/p/be148bdbe8c2
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午3:35 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "Subscribed"subscribed@noreply.github.com; 主题: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
到
尝试使用直接运行etu.ps1,弹出powershell后又马上关闭了 系统:win 10
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren 还是不行啊
上面有提示:”请以管理员身份运行“
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:06 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 还是不行啊
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren
错误:
随便弄一个mainifest.json进去再试试
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:16 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 错误:
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren 还是一样,是我放的位置不对?
放src下
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:24 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 还是一样,是我放的位置不对?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren 还是不行
还是一样 还是一样:是不是我放的位置不对呢?
------------------ 原始邮件 ------------------ 发件人: "zhangdaren"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:18 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "蒗,,得妮♡"1694382922@qq.com;"Author"author@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
随便弄一个mainifest.json进去再试试
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------
发件人: "liuyunzyj"notifications@github.com;
发送时间: 2019年10月11日(星期五) 下午4:16
收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com;
抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com;
主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 错误:
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
这个是我的锅,居然没发现。。。
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:27 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 还是不行
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
更新一下再试试吧。 npm update wepy-to-uniapp -g
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:28 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
还是一样 还是一样:是不是我放的位置不对呢?
------------------ 原始邮件 ------------------ 发件人: "zhangdaren"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:18 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "蒗,,得妮♡"1694382922@qq.com;"Author"author@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
随便弄一个mainifest.json进去再试试
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------
发件人: "liuyunzyj"notifications@github.com;
发送时间: 2019年10月11日(星期五) 下午4:16
收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com;
抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com;
主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren
错误:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren 更新后的错误:
我把那个文件干掉了,再更新了一版,这个应该不影响后续呗
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:39 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 更新后的错误:
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren 错误
@zhangdaren 不论是执行npm run build:mp-alipay 或者是 npm run build:mp-weixin都会出现上面的那个错误
看起来是语法错误,贴一下list.vue看看
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午4:57 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 错误
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren 那个问题解决了,应该是编译的时候“”的问题导致的,后续又出了一个这样的问题
需要安装在目录下,运行npm i less-loader
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午5:23 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
@zhangdaren 那个问题解决了,应该是编译的时候“”的问题导致的,后续又出了一个这样的问题
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
安装后编译更加错误一堆,是什么东西没有正确引用吗
你可以按提示来嘛,,上面有提示 cannot find module "less",没有安装less,安装一下。less还好,sass就有点麻烦了。后面我可能会逆转换为hbuilderx项目,而不是现在的vue项目。
另外,提示一下,这个转换坑还是有很多要填的,,转换的项目,仅供参考。。。
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------ 发件人: "liuyunzyj"notifications@github.com; 发送时间: 2019年10月11日(星期五) 下午5:27 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
安装后编译更加错误一堆,是什么东西没有正确引用吗
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
装了也还是这个问题,待会我将整个包都删除在试一试吧------------------ 原始邮件 ------------------ 发件人: "zhangdaren"notifications@github.com 发送时间: 2019年10月11日(星期五) 下午5:31 收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com; 抄送: "liuyunzyj"1694382922@qq.com;"Author"author@noreply.github.com; 主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
你可以按提示来嘛,,上面有提示 cannot find module "less",没有安装less,安装一下。less还好,sass就有点麻烦了。后面我可能会逆转换为hbuilderx项目,而不是现在的vue项目。
另外,提示一下,这个转换坑还是有很多要填的,,转换的项目,仅供参考。。。
不管你是逐渐繁华,还是即将枯萎,此时此刻才是你的人生!
------------------ 原始邮件 ------------------
发件人: "liuyunzyj"notifications@github.com;
发送时间: 2019年10月11日(星期五) 下午5:27
收件人: "zhangdaren/wepy-to-uniapp"wepy-to-uniapp@noreply.github.com;
抄送: "张鹏"375890534@qq.com; "Mention"mention@noreply.github.com;
主题: Re: [zhangdaren/wepy-to-uniapp] 系统上禁止这个脚本的运行 (#1)
安装后编译更加错误一堆,是什么东西没有正确引用吗
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@zhangdaren 发现转 了后this都拿不到了,
@zhangdaren 发现转 了后this都拿不到了,
![]()
这个看起来是没有setData()这个函数,我后续把它加上。
可以先手动加上:
setData:function(obj){ let that = this; let keys = []; let val,data; Object.keys(obj).forEach(function(key){ keys = key.split('.'); val = obj[key]; data = that.$data; keys.forEach(function(key2,index){ if(index+1 == keys.length){ that.$set(data,key2,val); }else{ if(!data[key2]){ that.$set(data,key2,{}); } } data = data[key2]; }) }); }
回复this为undefined: 如果根节点上面的函数没法使用箭头函数了,是跟methods平齐的函数吗?
$ cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。 /Users/tangna/2020/node_modules/@dcloudio/vue-cli-plugin-uni/lib/env.js:381 initAutoImportComponents(pagesJsonObj.easycom) ^
TypeError: initAutoImportComponents is not a function
at Object.
这种没遇到过,似乎是编译时uni报的错