在“ base”中指定为0的未知插件“ external-helpers”,这甚至意味着什么?

时间:2018-12-30 19:22:18

标签: ecmascript-6 babeljs

我正在构建这样的glimmerjs应用程序:

ember build --environment test

错误是:

Build failed.
Build Error (RollupWithDependencies)

Unknown plugin "external-helpers" specified in "base" at 0, attempted to resolve relative to "/Users/givanse/code/pretender"

Stack Trace and Error Report: /var/folders/6y/8lyh7xn954v714ktlj5nmndw0000gn/T/error.dump.099d52a5b4b21a993722a86f9f2693ec.log

在日志中:

nodeAnnotation: RollupWithDependencies                                                                                
  - nodeName: RollupWithDependencies                                                                                      
  - originalErrorMessage: Unknown plugin "external-helpers" specified in "base" at 0, attempted to resolve relative to "/Users/givanse/code/pretender"
  - stack: Error: Unknown plugin "external-helpers" specified in "base" at 0, attempted to resolve relative to "/Users/givanse/code/pretender"
    at error (/Users/givanse/code/project-pulse/node_modules/rollup/dist/rollup.js:170:12)
    at /Users/givanse/code/project-pulse/node_modules/rollup/dist/rollup.js:8937:6                                        
    at <anonymous>

该堆栈跟踪与rollup/blob/v0.41.6/src/utils/transform.js#L95中的transform函数相对应

在其中添加一些日志记录表明,调用babel.transform时会发生错误。

发布不是希望得到答案,而只是线索或理论。

0 个答案:

没有答案