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

3.13.3前端编译失败 #8259

Open
zhuwei432 opened this issue Nov 11, 2024 · 1 comment
Open

3.13.3前端编译失败 #8259

zhuwei432 opened this issue Nov 11, 2024 · 1 comment
Assignees

Comments

@zhuwei432
Copy link

[email protected] build

node builder/build.js BUILD_OUTPUT=/opt/bk-cmdb-release-v3.13.3/src/bin/build/

internal/modules/cjs/loader.js:934
throw err;
^

Error: Cannot find module 'http-proxy-middleware'
Require stack:

  • /opt/bk-cmdb-release-v3.13.3/src/ui/builder/config/index.js
  • /opt/bk-cmdb-release-v3.13.3/src/ui/builder/webpack/index.js
  • /opt/bk-cmdb-release-v3.13.3/src/ui/builder/build.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:931:15)
    at Function.Module._load (internal/modules/cjs/loader.js:774:27)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at Object. (/opt/bk-cmdb-release-v3.13.3/src/ui/builder/config/index.js:16:28)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Module.require (internal/modules/cjs/loader.js:1003:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/opt/bk-cmdb-release-v3.13.3/src/ui/builder/config/index.js',
    '/opt/bk-cmdb-release-v3.13.3/src/ui/builder/webpack/index.js',
    '/opt/bk-cmdb-release-v3.13.3/src/ui/builder/build.js'
    ]
    }
    make: *** [ui] Error 1
@yangyy
Copy link
Collaborator

yangyy commented Dec 10, 2024

请参考 #7873 解决

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