bladeX-LINK-UI 进行架构升级——前端升级不成功

Blade 未结 1 30
14988
14988 剑侠 2小时前

一、该问题的重现步骤是什么?

1. 拉取3.x的saber,按照文档,进行架构升级,按照文档的步骤操作运行后报错
    

Error:   Failed to scan for dependencies from entries:

  C:/Work/Front/Poject/testByNew/Saber/index.html

C:/Work/Front/Poject/testByNew/Saber/public/avue-data/index.html

C:/Work/Front/Poject/testByNew/Saber/public/avue-data/cdn/iconfont/demo_index.html


  X [ERROR] ENOENT: no such file or directory, open 'C:\Work\Front\Poject\testByNew\Saber\src\components\code-editor\main.vue' [plugin vite:dep-scan]


2. 

3.


二、你期待的结果是什么?实际看到的又是什么?

进行架构升级,报错

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

bladeX-LINK-UI

四、请提供详细的错误堆栈信息,这很重要。

    script:C:/Work/Front/Poject/testByNew/Saber/src/views/iot/protocol/mapper.vue?id=0:4:23:

      4 │ import CodeEditor from "@/components/code-editor/main.vue";

        ╵                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  This error came from the "onLoad" callback registered here:


    node_modules/vite/node_modules/esbuild/lib/main.js:1293:20:

      1293 │       let promise = setup({

           ╵                     ^


    at setup (file:///C:/Work/Front/Poject/testByNew/Saber/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:52728:19)

    at handlePlugins (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:1293:21)

    at buildOrContextImpl (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:979:5)

    at Object.buildOrContext (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:788:5)

    at C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:2224:68

    at new Promise (<anonymous>)

    at Object.context (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:2224:27)

    at Object.context (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:2048:58)

    at prepareEsbuildScanner (file:///C:/Work/Front/Poject/testByNew/Saber/node_modules/vite/dist/node/chunks/dep-BKbDVx1T.js:52508:26)



    at failureErrorWithLog (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:1651:15)

    at C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:1059:25

    at runOnEndCallbacks (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:1486:45)

    at buildResponseToResult (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:1057:7)

    at C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:1069:9

    at new Promise (<anonymous>)

    at requestCallbacks.on-end (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:1068:54)

    at handleRequest (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:732:17)

    at handleIncomingPacket (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:757:7)

    at Socket.readFromStdout (C:\Work\Front\Poject\testByNew\Saber\node_modules\vite\node_modules\esbuild\lib\main.js:680:7)

五、若有更多详细信息,请在下面提供。

1条回答
  • 拉取的是这里最新的吗:https://center.javablade.com/blade/Saber3

    可以看到截图里是有这个文件夹的

    CleanShot20241128154720@2x.png

    作者追问:1小时前

    拉取的是开源的,https://center.javablade.com/blade/Saber3没有访问权限

    回答: 1小时前

    那就可以直接略过哈,links-ui就是基于开源的saber3开发的,不需要再升级了。

    文档里的升级是针对购买了bladex企业版的场景需要进行升级底层架构到企业版。

    回答: 1小时前

    可以看下这个架构说明

    CleanShot20241128161729@2x.png

    0 讨论(0)
提交回复