transtone opened a new issue #127: build error in linux
URL: https://github.com/apache/incubator-apisix-dashboard/issues/127
 
 
   yarn run v1.21.1
   $ vue-cli-service build
   
   ⠙  Building for production...Starting type checking service...
   Using 1 worker with 2048MB memory limit
   ⠸  Building for production...
   
    ERROR  Failed to compile with 2 errors                                      
                                                                           
12:40:44 P$
    error  in 
/mnt/d/code/github/incubator-apisix-dashboard/src/components/HeaderSearch/index.vue
   
   ERROR in 
/mnt/d/code/github/incubator-apisix-dashboard/src/components/HeaderSearch/index.vue
   76:18 Generic type 'Fuse<T, O>' requires 2 type argument(s).
       74 |   private options: RouteConfig[] = []
       75 |   private searchPool: RouteConfig[] = []
     > 76 |   private fuse?: Fuse<RouteConfig>
          |                  ^
       77 |
       78 |   get routes() {
       79 |     return PermissionModule.routes
   
    error  in 
/mnt/d/code/github/incubator-apisix-dashboard/src/views/login/index.vue
   
   ERROR in 
/mnt/d/code/github/incubator-apisix-dashboard/src/views/login/index.vue
   105:10 Module '"../../../node_modules/vuex/types"' has no exported member 
'Dictionary'.
       103 | import { Component, Vue, Watch } from 'vue-property-decorator'
       104 | import { Route } from 'vue-router'
     > 105 | import { Dictionary } from 'vuex'
           |          ^
       106 | import { Form as ElForm, Input } from 'element-ui'
       107 | import { UserModule } from '@/store/modules/user'
       108 | import { isValidUsername } from '@/utils/validate'
   
    ERROR  Build failed with errors.
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to