While processing files with ecmascript (for target os.linux.x86_64):
native: Unexpected end of input
at Object.parse (native)
at BabelCompiler.BCp._inferFromBabelRc
(packages/babel-compiler/babel-compiler.js:182:1)
at BabelCompiler.BCp.inferExtraBabelOptions
(packages/babel-compiler/babel-compiler.js:172:1)
at BabelCompiler.BCp.processOneFileForTarget
(packages/babel-compiler/babel-compiler.js:115:1)
at BabelCompiler.
(packages/babel-compiler/babel-compiler.js:40:1)
at Array.forEach (native)
at BabelCompiler.BCp.processFilesForTarget
(packages/babel-compiler/babel-compiler.js:39:1)
`
When you see errors like Unexpected end of input at Object.parse (native), it’s usually an error parsing JSON somewhere. You can see from the next line that it occurred while processing your .babelrc. In cases like this, an online JSON validator like http://jsonlint.com/ can be really helpful. Try pasting your .babelrc there and see if it’s clear what the problem is. If it’s not, let us know.
While processing files with ecmascript (for target web.browser):
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:329:12:
/imports/ui/App.jsx: Cannot read property ‘0’ of null
at CodeGenerator._push
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:329:12)
at CodeGenerator.push
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:298:10)
at CodeGenerator.Identifier
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/types.js:44:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.ImportSpecifier
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/modules.js:22:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.printJoin
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:213:12)
at CodeGenerator.ImportDeclaration
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/modules.js:142:12)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.printJoin
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:213:12)
at CodeGenerator.printSequence
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:267:17)
at CodeGenerator.Program
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/base.js:20:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.File
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/base.js:11:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.generate
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/index.js:176:10)
at exports.default
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/index.js:20:14)
at File.generate
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:694:48)
at File.transform
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:553:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/pipeline.js:73:19
at File.wrap
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:563:16)
at Pipeline.transformFromAst
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/pipeline.js:70:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/index.js:60:8
at Cache.Cp.get
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/cache.js:94:19)
at Object.compile
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/index.js:47:23)
at Object.Babel.compile (packages/babel-compiler/babel.js:26:1)
at packages/babel-compiler/babel-compiler.js:109:1
at Function.time (/tools/tool-env/profile.js:305:10)
at profile (packages/babel-compiler/babel-compiler.js:139:1)
at BabelCompiler.BCp.processOneFileForTarget (packages/babel-compiler/babel-compiler.js:108:1)
at BabelCompiler. (packages/babel-compiler/babel-compiler.js:21:1)
at Array.forEach (native)
at BabelCompiler.BCp.processFilesForTarget (packages/babel-compiler/babel-compiler.js:20:1)
While processing files with ecmascript (for target os.linux.x86_64):
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:329:12:
/imports/ui/App.jsx: Cannot read property ‘0’ of null
at CodeGenerator._push
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:329:12)
at CodeGenerator.push
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:298:10)
at CodeGenerator.Identifier
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/types.js:44:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.ImportSpecifier
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/modules.js:22:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.printJoin
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:213:12)
at CodeGenerator.ImportDeclaration
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/modules.js:142:12)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.printJoin
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:213:12)
at CodeGenerator.printSequence
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:267:17)
at CodeGenerator.Program
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/base.js:20:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.File
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/generators/base.js:11:8)
at CodeGenerator._print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:177:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:113:14
at CodeGenerator.withSource
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/buffer.js:275:5)
at CodeGenerator.print
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/printer.js:112:10)
at CodeGenerator.generate
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/index.js:176:10)
at exports.default
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/node_modules/babel-generator/lib/index.js:20:14)
at File.generate
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:694:48)
at File.transform
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:553:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/pipeline.js:73:19
at File.wrap
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:563:16)
at Pipeline.transformFromAst
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/pipeline.js:70:17)
at
/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/index.js:60:8
at Cache.Cp.get
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/cache.js:94:19)
at Object.compile
(/home/developer/.meteor/packages/ecmascript/.0.4.5.1qjeacz++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/index.js:47:23)
at Object.Babel.compile (packages/babel-compiler/babel.js:26:1)
at packages/babel-compiler/babel-compiler.js:109:1
at Function.time (/tools/tool-env/profile.js:305:10)
at profile (packages/babel-compiler/babel-compiler.js:139:1)
at BabelCompiler.BCp.processOneFileForTarget (packages/babel-compiler/babel-compiler.js:108:1)
at BabelCompiler. (packages/babel-compiler/babel-compiler.js:21:1)
at Array.forEach (native)
at BabelCompiler.BCp.processFilesForTarget (packages/babel-compiler/babel-compiler.js:20:1)
=> Your application has errors. Waiting for file change.
As given by https://www.npmjs.com/package/babel-plugin-antd
I’m getting the same error, however if I change the style property to “css” all workes well but with unstyled theme, thus the primary-color is not replace.
Concerning customizing theme I prefer Overriding Less variables https://ant.design/docs/react/customize-theme
Also the Ant Design documentation mentions the package.theme method depends on atool-build, but Meteor has its own build system.
Note: If you are using babel-plugin-import, remove the style property from the pluginoptions in the .beblrc file. i.e :
{
“plugins”: [[“import”, { “libraryName”: “antd”}]]
}