将meteor从1.4.3.2更新为1.5会导致MacOS上的ecmascript包出现构建错误

时间:2017-06-14 11:01:41

标签: meteor

我已将该项目的流星更新为1.5,并已完成以下操作:

  1. meteor update
  2. 重新安装node_modules
  3. meteor reset
  4. The relevant github issue

    错误消息是:

    While processing files with ecmascript (for target web.browser): /tools/isobuild/compiler-plugin.js:376:52: Cannot read property 'id' of null
    
    at InputFile.resolve (/tools/isobuild/compiler-plugin.js:376:52)
    at InputFile._require (/tools/isobuild/compiler-plugin.js:386:25)
    at InputFile.require (/tools/isobuild/compiler-plugin.js:380:17)
    at requireWithPrefix (packages/babel-compiler.js:428:32)
    at requireWithPath (packages/babel-compiler.js:357:14)
    at resolveHelper (packages/babel-compiler.js:330:22)
    at packages/babel-compiler.js:306:19
    at Array.forEach (native)
    at walkHelper (packages/babel-compiler.js:305:22)
    at walkBabelRC (packages/babel-compiler.js:295:7)
    at resolveHelper (packages/babel-compiler.js:333:11)
    at packages/babel-compiler.js:306:19
    at Array.forEach (native)
    at walkHelper (packages/babel-compiler.js:305:22)
    at walkBabelRC (packages/babel-compiler.js:295:7)
    at BabelCompiler.BCp._inferHelper (packages/babel-compiler.js:380:3)
    at BabelCompiler.BCp._inferFromPackageJson (packages/babel-compiler.js:268:17)
    at BabelCompiler.BCp.inferExtraBabelOptions (packages/babel-compiler.js:237:10)
    at BabelCompiler.BCp.processOneFileForTarget (packages/babel-compiler.js:166:10)
    at BabelCompiler.<anonymous> (packages/babel-compiler.js:109:26)
    at Array.forEach (native)
    at BabelCompiler.BCp.processFilesForTarget (packages/babel-compiler.js:108:14)
    

0 个答案:

没有答案