Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Bug: arm服务器上面如何部署? #4333

Closed
5 tasks done
annkoxx opened this issue Sep 6, 2024 · 1 comment
Closed
5 tasks done

Bug: arm服务器上面如何部署? #4333

annkoxx opened this issue Sep 6, 2024 · 1 comment
Labels
bug: pending triage help wanted Extra attention is needed

Comments

@annkoxx
Copy link

annkoxx commented Sep 6, 2024

Version

Vben Admin V5

Describe the bug?

arm服务器上面如何部署?

Reproduction

arm服务器上面如何部署?

System Info

arm服务器上面如何部署?

Relevant log output

root@instance-20240516-2209:/www/wwwroot/vue-vben-admin# pnpm run dev:ele


> vben-admin-pro@5.2.2 dev:ele /www/wwwroot/vue-vben-admin
> pnpm -F @vben/web-ele run dev


> @vben/web-ele@5.2.2 dev /www/wwwroot/vue-vben-admin/apps/web-ele
> pnpm vite --mode development

The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.

 ERROR  failed to load config from /www/wwwroot/vue-vben-admin/apps/web-ele/vite.config.mts                                                                                                       18:10:51


 ERROR  error when starting dev server:                                                                                                                                                           18:10:51
Error: /www/wwwroot/vue-vben-admin/node_modules/.pnpm/@ast-grep+napi-linux-arm64-gnu@0.22.6/node_modules/@ast-grep/napi-linux-arm64-gnu/ast-grep-napi.linux-arm64-gnu.node: undefined symbol: static_assert
    at Module._extensions..node (node:internal/modules/cjs/loader:1464:18)
    at Module.load (node:internal/modules/cjs/loader:1205:32)
    at Module._load (node:internal/modules/cjs/loader:1021:12)
    at Module.require (node:internal/modules/cjs/loader:1230:19)
    at require (node:internal/modules/helpers:179:18)
    at jiti (/www/wwwroot/vue-vben-admin/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/dist/jiti.js:1:244799)
    at /www/wwwroot/vue-vben-admin/node_modules/.pnpm/@ast-grep+napi@0.22.6/node_modules/@ast-grep/napi/index.js:219:31
    at evalModule (/www/wwwroot/vue-vben-admin/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/dist/jiti.js:1:247313)
    at jiti (/www/wwwroot/vue-vben-admin/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/dist/jiti.js:1:245241)
    at /www/wwwroot/vue-vben-admin/node_modules/.pnpm/vite-plugin-lib-inject-css@2.1.1_vite@5.4.3_@types+node@22.5.4_less@4.2.0_sass@1.78.0_terser@5.31.6_/node_modules/vite-plugin-lib-inject-css/dist/index.cjs:39:19

/www/wwwroot/vue-vben-admin/apps/web-ele:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @vben/web-ele@5.2.2 dev: `pnpm vite --mode development`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.
root@instance-20240516-2209:/www/wwwroot/vue-vben-admin# 
root@instance-20240516-2209:/www/wwwroot/vue-vben-admin# 
root@instance-20240516-2209:/www/wwwroot/vue-vben-admin# 
root@instance-20240516-2209:/www/wwwroot/vue-vben-admin# pnpm remove @ast-grep/napi
 ERR_PNPM_CANNOT_REMOVE_MISSING_DEPS  Cannot remove '@ast-grep/napi': no such dependency found

Available dependencies: @changesets/changelog-github, @changesets/cli, @types/jsdom, @types/node, @vben/commitlint-config, @vben/eslint-config, @vben/prettier-config, @vben/stylelint-config, @vben/tailwind-config, @vben/tsconfig, @vben/turbo-run, @vben/vite-config, @vben/vsh, @vitejs/plugin-vue, @vitejs/plugin-vue-jsx, @vue/test-utils, autoprefixer, cross-env, cspell, husky, is-ci, jsdom, lint-staged, rimraf, tailwindcss, turbo, typescript, unbuild, vite, vitest, vue, vue-tsc

Validations

@vince292007 vince292007 added the help wanted Extra attention is needed label Sep 7, 2024
@anncwb
Copy link
Collaborator

anncwb commented Sep 10, 2024

没有arm服务器,我这边也不是很清楚,看看有谁能帮忙排查下。

@vbenjs vbenjs locked and limited conversation to collaborators Sep 14, 2024
@vince292007 vince292007 converted this issue into discussion #4400 Sep 14, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug: pending triage help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants