使用es6-promise会出现问题
Closed this issue · 3 comments
codering commented
我在js中这样使用
require('es6-promise').polyfill()
fis3编译会报如下错误
[ERROR] preprocessor.js-require-css: Cannot read property '1' of null [xxxxxx]
fis3: 3.3.23
fis3-hook-node_modules: 1.1.5
codering commented
换成
require('es6-promise/dist/es6-promise.min').polyfill()
是可以的
andycall commented
es6-promise 里面竟然有这么一段
var r = require;
var vertx = r('vertx');
无法理解作者的想法。。
报错的问题已经解决了。
2betop commented
版本不对吧,没有复现啊
On Apr 15, 2016, at 3:35 PM, Justin notifications@github.com wrote:
2.x版本页有这个问题,麻烦fix下吧。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #16 (comment)