taro-ui icon indicating copy to clipboard operation
taro-ui copied to clipboard

安装最新版本提示组件未到处错误

Open zhangminggeek opened this issue 3 years ago • 8 comments

问题描述

taro版本:3.0.21 taro-ui版本:3.0.0-alpha.7

./node_modules/taro-ui/dist/index.esm.js 6822:40-51
" '@tarojs/components' does not contain an export named 'MovableArea'.

./node_modules/taro-ui/dist/index.esm.js 6828:40-51
" '@tarojs/components' does not contain an export named 'MovableView'.

复现步骤

// 这里可以贴代码

期望行为

报错信息

系统信息

补充信息

zhangminggeek avatar Jan 01 '21 15:01 zhangminggeek

欢迎提交 Issue~

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

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

Good luck and happy coding~

taro-ui-bot[bot] avatar Jan 01 '21 15:01 taro-ui-bot[bot]

我也遇到了, 这个貌似影响了AtSwipeAction的使用

nocodeempire avatar Jan 04 '21 09:01 nocodeempire

都遇到了

ywzou avatar Jan 07 '21 11:01 ywzou

一样的问题,有木有人管啊,搞个机器人出来最讨厌了 ./node_modules/taro-ui/dist/index.esm.js 6815:40-51 " '@tarojs/components' does not contain an export named 'MovableArea'.

763483000 avatar Jan 11 '21 12:01 763483000

+1 看源代码 似乎没这两个组件

chenxu-javascript avatar Feb 06 '21 08:02 chenxu-javascript

官方是不管了吗?

baijunpeng666 avatar Apr 26 '21 04:04 baijunpeng666

" '@tarojs/runtime' does not contain an export named 'SERVICE_IDENTIFIER'.

./node_modules/@tarojs/router/dist/router.esm.js 2007:35-53 " '@tarojs/runtime' does not contain an export named 'SERVICE_IDENTIFIER'.

./node_modules/@tarojs/taro-h5/src/api/utils/index.js 20:21-30 " '@tarojs/runtime' does not contain an export named 'container'.

./node_modules/@tarojs/router/dist/router.esm.js 2007:21-30 " '@tarojs/runtime' does not contain an export named 'container'. 包代码

{
  "name": "weapp",
  "version": "1.0.0",
  "private": true,
  "description": "gem",
  "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:jd": "taro build --type jd",
    "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:jd": "npm run build:jd -- --watch",
    "dev:quickapp": "npm run build:quickapp -- --watch"
  },
  "browserslist": [
    "last 3 versions",
    "Android >= 4.1",
    "ios >= 8"
  ],
  "author": "",
  "license": "MIT",
  "dependencies": {
    "nervjs": "^1.5.7",
    "react-redux": "^7.2.0",
    "redux": "^4.0.0",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.3.0",
    "@babel/runtime": "^7.7.7",
    "@tarojs/cli": "3.0.7",
    "@tarojs/components": "3.0.7",
    "@tarojs/react": "3.0.7",
    "@tarojs/runtime": "3.0.7",
    "@tarojs/taro": "3.0.7",
    "lodash": "4.17.19",
    "react": "^16.10.0",
    "react-dom": "^16.10.0",
    "taro-ui": "^3.0.0-alpha.3",
    "techarts": "^3.0.3"
  },
  "devDependencies": {
    "@babel/core": "^7.8.0",
    "@tarojs/mini-runner": "3.0.7",
    "@tarojs/webpack-runner": "3.0.7",
    "@types/react": "^16.0.0",
    "@types/webpack-env": "^1.13.6",
    "babel-preset-taro": "^3.0.7",
    "eslint": "^6.8.0",
    "eslint-config-taro": "3.0.7",
    "eslint-plugin-import": "^2.12.0",
    "eslint-plugin-react": "^7.8.2",
    "eslint-plugin-react-hooks": "^1.6.1",
    "stylelint": "9.3.0",
    "@typescript-eslint/parser": "^4.15.1",
    "@typescript-eslint/eslint-plugin": "^4.15.1",
    "typescript": "^4.1.0"
  }
}

首页就会有问题

"taro-ui": "^3.0.0-alpha.3", 更新到9 或者10,都是会报这个问题

zhoulujun avatar Oct 08 '21 04:10 zhoulujun

'@tarojs/components' does not contain an export named 'OpenData'.请问这个问题大家都怎么解决的,我都卡了一天了,我的版本目前是 ``` "@tarojs/cli": "^3.3.12", "@tarojs/components": "3.3.12", "@tarojs/plugin-html": "^3.3.12", "@tarojs/react": "3.3.12", "@tarojs/runtime": "3.3.12", "@tarojs/taro": "3.3.12", "@tarojs/taro-alipay": "^2.2.10", "core-js": "^3.17.3", "nervjs": "^1.5.7", "react": "^17.0.0", "react-dom": "^17.0.0", "taro-ui": "^3.0.0-alpha.10"

meiqinLiu avatar Nov 02 '21 09:11 meiqinLiu