Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信小程序编译失败 #5264

Closed
lkkunheiheihei opened this issue Jan 7, 2020 · 4 comments
Closed

微信小程序编译失败 #5264

lkkunheiheihei opened this issue Jan 7, 2020 · 4 comments
Assignees

Comments

@lkkunheiheihei
Copy link

lkkunheiheihei commented Jan 7, 2020

{
  "name": "web_app",
  "version": "1.0.0",
  "private": true,
  "description": "Web端",
  "templateInfo": {
    "name": "redux",
    "typescript": true,
    "css": "sass"
  },
  "scripts": {
    "build:weapp": "taro build --type weapp",
    "build:swan": "taro build --type swan",
    "build:alipay": "taro build --type alipay",
    "build:tt": "taro build --type tt",
    "build:h5": "taro build --type h5",
    "build:rn": "taro build --type rn",
    "build:qq": "taro build --type qq",
    "build:quickapp": "taro build --type quickapp",
    "dev:weapp": "npm run build:weapp -- --watch",
    "dev:swan": "npm run build:swan -- --watch",
    "dev:alipay": "npm run build:alipay -- --watch",
    "dev:tt": "npm run build:tt -- --watch",
    "dev:h5": "npm run build:h5 -- --watch",
    "dev:rn": "npm run build:rn -- --watch",
    "dev:qq": "npm run build:qq -- --watch",
    "dev:quickapp": "npm run build:quickapp -- --watch"
  },
  "author": "",
  "license": "MIT",
  "dependencies": {
    "@tarojs/async-await": "2.0.0-beta.13",
    "@tarojs/components": "2.0.0-beta.13",
    "@tarojs/components-qa": "2.0.0-beta.13",
    "@tarojs/redux": "2.0.0-beta.13",
    "@tarojs/redux-h5": "2.0.0-beta.13",
    "@tarojs/router": "2.0.0-beta.13",
    "@tarojs/taro": "2.0.0-beta.13",
    "@tarojs/taro-alipay": "2.0.0-beta.13",
    "@tarojs/taro-h5": "2.0.0-beta.13",
    "@tarojs/taro-qq": "2.0.0-beta.13",
    "@tarojs/taro-quickapp": "2.0.0-beta.13",
    "@tarojs/taro-swan": "2.0.0-beta.13",
    "@tarojs/taro-tt": "2.0.0-beta.13",
    "@tarojs/taro-weapp": "2.0.0-beta.13",
    "babel-runtime": "^6.26.0",
    "clipboard": "^2.0.4",
    "lodash-decorators": "^6.0.1",
    "moment": "^2.24.0",
    "nerv-devtools": "^1.5.6",
    "nervjs": "^1.5.6",
    "redux": "^4.0.5",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.3.0",
    "taro-ui": "^2.2.4"
  },
  "devDependencies": {
    "@tarojs/mini-runner": "2.0.0-beta.13",
    "@tarojs/webpack-runner": "2.0.0-beta.13",
    "@types/clipboard": "^2.0.1",
    "@types/react": "^16.9.17",
    "@types/webpack-env": "^1.15.0",
    "@typescript-eslint/eslint-plugin": "^2.15.0",
    "@typescript-eslint/parser": "^2.15.0",
    "babel-eslint": "^10.0.3",
    "babel-plugin-transform-class-properties": "^6.24.1",
    "babel-plugin-transform-decorators-legacy": "^1.3.5",
    "babel-plugin-transform-jsx-stylesheet": "^0.6.9",
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-preset-env": "^1.7.0",
    "eslint": "^6.8.0",
    "eslint-config-prettier": "^6.9.0",
    "eslint-config-taro": "2.0.0-beta.13",
    "eslint-plugin-import": "^2.19.1",
    "eslint-plugin-react": "^7.17.0",
    "eslint-plugin-react-hooks": "^2.3.0",
    "eslint-plugin-taro": "2.0.0-beta.13",
    "stylelint": "^12.0.1",
    "stylelint-config-recess-order": "^2.0.3",
    "stylelint-config-standard": "^19.0.0",
    "stylelint-config-taro-rn": "2.0.0-beta.13",
    "stylelint-order": "^4.0.0",
    "stylelint-taro-rn": "2.0.0-beta.13",
    "typescript": "^3.7.4"
  }
}

�🙅 编译失败

Cannot read property 'add' of undefined 求解

@taro-bot
Copy link

taro-bot bot commented Jan 7, 2020

CC @Chen-jj

@taro-bot
Copy link

taro-bot bot commented Jan 7, 2020

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@Garfield550
Copy link
Collaborator

请按照 Issue 模版提供复现代码,操作步骤等信息,并且注意代码格式。

@taro-bot taro-bot bot added the to be closed label Jan 7, 2020
@taro-bot
Copy link

taro-bot bot commented Jan 7, 2020

Hello~

您的问题所提供的信息不足,我们无法定位到具体的问题。如果有空的话还请拔冗提供更具体的信息,否则这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants