miaolz123 / samaritan

An Algorithmic Trading Framework for Digital Currency.
http://samaritan.stockdb.org
MIT License
588 stars 191 forks source link

工程前端使用cooking无法编译通过 #22

Open xiyanxiyan10 opened 7 years ago

xiyanxiyan10 commented 7 years ago

能否求个前端源码编译的说明,以便确认引起问题原因。

错误如下 cooking build


 ^[[1m^[[33m[big]^[[39m^[[22m
  63                                             ^[[1m^[[32mvs/loader.js^[[39m^[[22m      27 kB        ^[[1m^[[39m^[[22m  ^[[1m^[[32m[emitted]^[[39m^[[22m
  64 
  65 ^[[1m^[[31mERROR in ./src/index.js
  66 Module build failed: TypeError: Path must be a string. Received { __esModule: true,
  67   File: [Getter],
  68   options: [Getter],
  69   buildExternalHelpers: [Getter],
  70   template: [Getter],
  71   resolvePlugin: [Getter],
  72   resolvePreset: [Getter],
  73   version: [Getter],
  74   util:
  75    { __esModule: true,
  76      inherits: [Getter],
  77      inspect: [Getter],
  78      canCompile: { [Function: canCompile] EXTENSIONS: [Object] },
  79      list: [Function: list],
  80      regexify: [Function: regexify],
  81      arrayify: [Function: arrayify],
  82      booleanify: [Function: booleanify],
  83      shouldIgnore: [Function: shouldIgnore] },
  84   messages:
  85    { __esModule: true,
  86      MESSAGES:
  87       { tailCallReassignmentDeopt: 'Function reference has been reassigned, so it will probably be dereferenced, therefore we can\'t optimise this with confidence',
  88         classesIllegalBareSuper: 'Illegal use of bare
miaolz123 commented 7 years ago

是的,现在前端代码确实编译不过了,近期解决~