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

Midway hooks引入tabestore后,dev启动报错 #3203

Open
xddcode opened this issue Aug 28, 2023 · 1 comment
Open

Midway hooks引入tabestore后,dev启动报错 #3203

xddcode opened this issue Aug 28, 2023 · 1 comment

Comments

@xddcode
Copy link

xddcode commented Aug 28, 2023

  • Node Version: v16.20.0
  • Midway Version(Decorator/Core): "@midwayjs/hooks": "^3.1.0"
  • Component Name/Version: "@midwayjs/tablestore": "^3.12.3"
  • Platform: windows和mac
  • Mini Showcase Repository:
    "dependencies": {
    "@midwayjs/hooks": "^3.1.0",
    "@midwayjs/hooks-kit": "^3.1.0",
    "@midwayjs/jwt": "^3.11.15",
    "@midwayjs/koa": "^3.10.6",
    "@midwayjs/redis": "^3.11.15",
    "@midwayjs/rpc": "^3.1.0",
    "@midwayjs/serve": "^3.1.0",
    "@midwayjs/tablestore": "^3.12.3",
    "@prisma/client": "3.8.1",
    "isomorphic-unfetch": "^3.1.0",
    "koa-bodyparser": "^4.4.1",
    "moment": "^2.29.4",
    "moment-timezone": "^0.5.43",
    "mysql2": "^3.6.0",
    "postcss-px-to-viewport-8-plugin": "^1.2.2",
    "vant": "^4.6.4",
    "vue": "^3.2.25",
    "vue-router": "^4.2.4"
    },
    "devDependencies": {
    "@types/bcrypt": "^5.0.0",
    "@typescript-eslint/eslint-plugin": "^5.13.0",
    "@typescript-eslint/parser": "^5.13.0",
    "@vitejs/plugin-vue": "^4.0.0",
    "@vue/eslint-config-typescript": "^10.0.0",
    "eslint": "^8.10.0",
    "eslint-config-prettier": "^8.4.0",
    "eslint-define-config": "^1.2.5",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-vue": "^8.5.0",
    "less": "^4.1.3",
    "less-loader": "^11.1.0",
    "postcss": "^8.4.27",
    "postcss-focus": "^7.0.0",
    "postcss-loader": "^6.1.1",
    "prettier": "^2.5.1",
    "prisma": "^3.8.1",
    "typescript": "^4.9.4",
    "unplugin-vue-components": "^0.25.1",
    "vue-eslint-parser": "^8.3.0"
    }

image
image
dev启动的时候报错:
image
但是build后,用start启动就不报错,搞得没法本地调试了

@czy88840616
Copy link
Member

像是前端启动使得库 tablestore 判断错了环境。

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

No branches or pull requests

2 participants