Code Monkey home page Code Monkey logo

taro-msparis's People

Contributors

easytuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

taro-msparis's Issues

h5运行后白屏报错:index.js?1e21:1504 Uncaught TypeError: arr[Symbol.iterator] is not a function

index.js?1e21:1504 Uncaught TypeError: arr[Symbol.iterator] is not a function
    at _iterableToArrayLimit (index.js?e6ae:105)
    at _slicedToArray (index.js?e6ae:91)
    at eval (index.js?e6ae:750)
    at Array.some (<anonymous>)
    at Router._this2.hasPage (index.js?e6ae:749)
    at Router._this2.navigate (index.js?e6ae:798)
    at Router.componentDidMount (index.js?e6ae:867)
    at eval (index.js?1e21:1583)
    at errorCatcher (index.js?1e21:1481)
    at eval (index.js?1e21:1582)

taro 1.2.11beta版本,h5运行后白屏报错

进入商品详情页面,点击右上角的分享图标,没有分享效果

问题描述
[问题描述:进入商品详情页面,点击右上角的分享图标,没有分享效果]

复现步骤
[复现问题的步骤]

  1. 扫码,进入首页
  2. 点击第一个商品,进入商品详情页
  3. 点击图片右上角的分享图标,没有任何分享效果

期望行为
点击分享图片,能出来分享到好友或群的界面。

系统信息

  • 操作系统: 安卓6.0
  • 报错平台 h5

login页面里 render 写setState, 迭代渲染, 停留在该页面时间长很耗内存的

如果是提交 bug,请搜索文档和 issue,确认以下事项:

  • 该问题没有在其他 issue 和文档讨论到,不属于重复内容

  • 分割线以下的模板除了「 补充信息」每一样都必填

🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。

问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

复现步骤
[复现问题的步骤]

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[或者可以直接贴源代码,能贴文字就不要截图]

// 这里可以贴代码

期望行为
[这里请用简洁清晰的语言描述你期望的行为]

报错信息

[这里请贴上你的完整报错截图或文字]

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.1.1.5]
  • Node.js 版本 [e.g. v10.13.0]
  • 报错平台 [h5, weapp]

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]

npm run dev:h5 白屏

问题描述

npm run dev:h5 出现白屏

复现步骤

  1. npm run dev:h5
  2. See error

报错信息

image

系统信息

  • 操作系统: [e.g. macOS 10.12]
  • Taro 版本 [e.g. v.1.2.0-beta.11]
  • Node.js 版本 [e.g. v10.11.0]
  • 报错平台 [h5]
  • 浏览器 [Chrome 72.0.3626.7]

编译出现error

ESLint(null) 错误:Parsing error: Using the export keyword between a decorator and a class is not allowed. Please use export @dec class instead.

7 | ...user,
8 | }))

9 | export default class User extends Component {
| ^
10 | config = {
11 | navigationBarTitleText: 'user',
12 | };


如何正确的登录

登录功能目前是没有开放吗?如果是的话,很多功能(页面)都无法实现(看见)。

Help, React Native build failed.

I have some problem running the project, could you help me

taro build --type rn --watch

here is the result.

Unable to resolve .styles/base_styles from ".//app.js": The module `./styles/base_styles` could not be found.

image

image

地址选择器BUG

问题描述
选择地址,在选择市的时候,会出现区不匹配的问题
复现步骤
[复现问题的步骤]

  1. 选择除了北京市的任意省份
  2. 选择除了第一个城市外的其他城市
  3. See error
    image

期望行为
正确显示省市区

系统信息

  • 操作系统: [macOS 10.12]
  • Taro 版本 [v.1.2.7]
  • Node.js 版本 [v10.11.0]
  • 报错平台 [h5, weapp]

install完之后,启动H5,报错(node:3732) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'uglify' of undefined

问题描述
install完之后,启动H5,报错

复现步骤
[复现问题的步骤]
1、npm install
2、npm run dev:h5

期望行为
npm run dev:h5启动成功

报错信息

(node:3732) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'uglify' of undefined
at Object.default_1 [as default] (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\config\dll.conf.js:20:38)
at Promise (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:43:48)
at new Promise ()
at Object. (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:42:12)
at Generator.next ()
at F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:7:71
at new Promise ()
at __awaiter (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:3:12)
at buildDll (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:39:30)
at Object. (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:127:15)
at Generator.next ()
at F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:7:71
at new Promise ()
at __awaiter (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:3:12)
at exports.default (F:\www\taro-msparis\node_modules@tarojs\webpack-runner\dist\index.js:122:31)
at Compiler. (C:\Users\ThinkPad\AppData\Local\Yarn\Data\global\node_modules@tarojs\cli\dist\h5\index.js:153:13)
at Generator.next ()
at fulfilled (C:\Users\ThinkPad\AppData\Local\Yarn\Data\global\node_modules@tarojs\cli\dist\h5\index.js:4:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:3732) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:3732) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v1.3.0]
  • Node.js 版本 [e.g. v10.16.0]
  • 报错平台 [h5]

补充信息

Error: module "npm/dva-core/index.js" is not defined

大佬我把你的项目copy下来, 没有做任何的改动, 也把taro/cli的版本更换到1.2.2了, 并且确认了taro的版本确实是V1.2.2

然而小程序编译的时候直接报错

image

感觉是dva嵌入的问题, 把dva注入全部注释掉就不会报错了

不是我的账号开发的,在小程序里面打不开啊,这个怎么整?

如果是提交 bug,请搜索文档和 issue,确认以下事项:

  • 该问题没有在其他 issue 和文档讨论到,不属于重复内容

  • 分割线以下的模板除了「 补充信息」每一样都必填

🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。

问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

复现步骤
[复现问题的步骤]

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[或者可以直接贴源代码,能贴文字就不要截图]

// 这里可以贴代码

期望行为
[这里请用简洁清晰的语言描述你期望的行为]

报错信息

[这里请贴上你的完整报错截图或文字]

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.1.1.5]
  • Node.js 版本 [e.g. v10.13.0]
  • 报错平台 [h5, weapp]

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]

为什么下不下来

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

登陆接口不开放了吗

code: "10000", message: "接口只适用于学习,部分功能受限!"

部分接口不开放了吗?抱歉初学者

regeneratorRuntime is not defined

按照您给的配置方案,执行以后报错:

image

我也不知道哪里缺少模块,麻烦您能不能把整个配置过程给详细介绍一下,谢谢!

npm run dev:h5 后 h5 异常

Failed to compile.

./.temp/pages/about/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: ENOENT: no such file or directory, open '/Users/mac/Downloads/taro-msparis-master/.temp/pages/about/index.js'

如何做小程序分包处理

您好现在想做想程序分包处理,遇到了点问题,在models 引入 分包的model 显示在不同的分包中
image

经常执行npm run dev:weapp 会重复各种莫名的error, 但重新执行数次npm run dev后又正常了

如果是提交 bug,请搜索文档和 issue,确认以下事项:

  • 该问题没有在其他 issue 和文档讨论到,不属于重复内容

  • 分割线以下的模板除了「 补充信息」每一样都必填

🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。

问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

复现步骤
[复现问题的步骤]

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[或者可以直接贴源代码,能贴文字就不要截图]

// 这里可以贴代码

期望行为
[这里请用简洁清晰的语言描述你期望的行为]

报错信息

[这里请贴上你的完整报错截图或文字]

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.1.1.5]
  • Node.js 版本 [e.g. v10.13.0]
  • 报错平台 [h5, weapp]

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]

您这个数据的参考是哪里来的呢,方便提供吗

如果是提交 bug,请搜索文档和 issue,确认以下事项:

  • 该问题没有在其他 issue 和文档讨论到,不属于重复内容

  • 分割线以下的模板除了「 补充信息」每一样都必填

🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。

问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

复现步骤
[复现问题的步骤]

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[或者可以直接贴源代码,能贴文字就不要截图]

// 这里可以贴代码

期望行为
[这里请用简洁清晰的语言描述你期望的行为]

报错信息

[这里请贴上你的完整报错截图或文字]

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.1.1.5]
  • Node.js 版本 [e.g. v10.13.0]
  • 报错平台 [h5, weapp]

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]

搭建dva时报错,

image

我把dva的配置都配好了,然后在开发者工具跑的时候会报这个错误,是我没安装上吗?

h5页面运行正常,小程序运行报错

问题描述
h5页面运行正常,小程序运行报错
image

复现步骤
[复现问题的步骤]

  1. npm run dev:weapp
  2. open the wx web client-side

期望行为
不是appid的问题,我重新一一检视过appid是否一致

系统信息

  • Taro 版本 1.1.8
  • Node.js 版本 8.9.4
  • 报错平台 weapp

补充信息
不是appid的问题,我重新一一检视过appid是否一致

npm run dev:h5 error

`taro-msparis git:(master) ✗ npm run dev:h5

[email protected] dev:h5 /Users/*/taro-msparis
npm run build:h5 -- --watch

[email protected] build:h5 /Users/*/taro-msparis
taro build --type h5 "--watch"

sh: taro: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build:h5: taro build --type h5 "--watch"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build:h5 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/aopodo/.npm/_logs/2018-11-07T16_45_30_767Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev:h5: npm run build:h5 -- --watch
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev:h5 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/aopodo/.npm/_logs/2018-11-07T16_45_30_785Z-debug.log`

兄弟,为啥我没有taro command?

你好,clone下来后,安装依赖运行Provider of undefined

app.js:41 Uncaught TypeError: Cannot read property 'Provider' of undefined
at app.js:41
at require (VM133 WAService.js:1)
at :1:1
at HTMLScriptElement.scriptLoaded (appservice?t=1574834619056:2068)
at HTMLScriptElement.script.onload (appservice?t=1574834619056:2080)

Unable to install dependencies

问题描述
[问题描述:无法安装项目依赖]

复现步骤
[复现问题的步骤]

  1. git clone https://github.com/EasyTuan/taro-msparis.git
  2. cd taro-msparis
  3. npm install

期望行为
[安装成功]

报错信息

[Unhandled rejection RangeError: Maximum call stack size exceeded
at RegExp.test ()
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\aproba\index.js:38:16
at Array.forEach ()
at module.exports (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\aproba\index.js:33:11)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:37:3)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
at flatNameFromTree (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\lib\install\flatten-tree.js:39:14)
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://npm.community

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2018-12-18T02_08_38_750Z-debug.log]

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [Taro v1.2.0-beta.16]
  • Node.js 版本 [e.g. v8.12.0]
  • npm版本 [6.5.0]

补充信息
[百度是:超过最大调用栈问题;给npm降级到5.4.0或者升级到6.5.0 都没解决问题]

h5里面上拉加载无效。

问题描述
运行在h5端,上拉加载无效,首页只能显示十个商品,而且上拉的时候,tab栏不是固定在底端

期望行为
能否在h5中实现上拉加载,下拉刷新

系统信息

  • 操作系统: mac
  • Taro 版本 v1.2.4
  • Node.js 版本 v11.6.0
  • 报错平台 h5

npm install -g @tarojs/cli后报错

npm WARN deprecated [email protected]: use babel-plugin-minify-dead-code-elimination and babel-plugin-minify-guarded-expressions
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @tarojs/[email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@tarojs/cli'
npm ERR! notarget

site 文件夹怎么打包出来的?

如果是提交 bug,请搜索文档和 issue,确认以下事项:

  • 该问题没有在其他 issue 和文档讨论到,不属于重复内容

  • 分割线以下的模板除了「 补充信息」每一样都必填

🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。

问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

复现步骤
[复现问题的步骤]

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[或者可以直接贴源代码,能贴文字就不要截图]

// 这里可以贴代码

期望行为
[这里请用简洁清晰的语言描述你期望的行为]

报错信息

[这里请贴上你的完整报错截图或文字]

系统信息

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.1.1.5]
  • Node.js 版本 [e.g. v10.13.0]
  • 报错平台 [h5, weapp]

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.