无法在不中断的情况下将Meteor应用程序更新为1.2

时间:2017-01-23 04:57:11

标签: cordova meteor updates babel package.json

尝试更新我的应用程序(我可以达到的最高值是1.1)更高,我得到:

    => Started proxy.                             
    => Started MongoDB.                           
    => Errors prevented startup:                  

   While processing files with ecmascript (for target web.browser):
   native: /Users/Archie/package.json: Error while parsing JSON - Unexpected end
   of input
   at Object.parse (native)
   at OptionManager.addConfig
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:100:62)
   at OptionManager.findConfigs
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:171:32)
   at OptionManager.init
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12)
   at File.initOptions
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:147:75)
   at new File
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:137:22)
   at Pipeline.transform
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/pipeline.js:164:16)
   at
   /Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/index.js:26:18
   at Cache.Cp.get
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/cache.js:89:19)
   at Object.compile
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/index.js:20:23)
   at Object.Babel.compile (packages/babel-compiler/babel.js:42:1)
   at packages/babel-compiler/babel-compiler.js:58:1
   at Array.forEach (native)
   at BabelCompiler.BCp.processFilesForTarget
   (packages/babel-compiler/babel-compiler.js:17:1)


   While processing files with ecmascript (for target web.cordova):
   native: /Users/Archie/package.json: Error while parsing JSON - Unexpected end
   of input
   at Object.parse (native)
   at OptionManager.addConfig
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:100:62)
   at OptionManager.findConfigs
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:171:32)
   at OptionManager.init
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12)
   at File.initOptions
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:147:75)
   at new File
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:137:22)
   at Pipeline.transform
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/pipeline.js:164:16)
   at
   /Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/index.js:26:18
   at Cache.Cp.get
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/cache.js:89:19)
   at Object.compile
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/index.js:20:23)
   at Object.Babel.compile (packages/babel-compiler/babel.js:42:1)
   at packages/babel-compiler/babel-compiler.js:58:1
   at Array.forEach (native)
   at BabelCompiler.BCp.processFilesForTarget
   (packages/babel-compiler/babel-compiler.js:17:1)


   While processing files with ecmascript (for target os.osx.x86_64):
   native: /Users/Archie/package.json: Error while parsing JSON - Unexpected end
   of input
   at Object.parse (native)
   at OptionManager.addConfig
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:100:62)
   at OptionManager.findConfigs
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:171:32)
   at OptionManager.init
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12)
   at File.initOptions
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:147:75)
   at new File
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/file/index.js:137:22)
   at Pipeline.transform
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/node_modules/babel-core/lib/transformation/pipeline.js:164:16)
   at
   /Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/index.js:26:18
   at Cache.Cp.get
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/cache.js:89:19)
   at Object.compile
   (/Users/Archie/.meteor/packages/ecmascript/.0.1.3.11anxi0++os+web.browser+web.cordova/plugin.compile-ecmascript.os/npm/babel-compiler/node_modules/meteor-babel/index.js:20:23)
   at Object.Babel.compile (packages/babel-compiler/babel.js:42:1)
   at packages/babel-compiler/babel-compiler.js:58:1
   at Array.forEach (native)
   at BabelCompiler.BCp.processFilesForTarget
   (packages/babel-compiler/babel-compiler.js:17:1)

当前(破碎)版本是Meteor 1.2

package.json at确实是空白的。不知道为什么它会引用它,因为我从来没有在/Users/Archie/package.json中使用JSON文件用于以前的版本。

非常不确定如何解决此问题或如何更新我的应用程序!我尝试过重新安装Meteor或更新到更高版本但没有运气的事情。

我在同一台桌面上有其他Meteor应用更新到1.4而没有问题,所以不确定为什么会出现这样的问题。

非常感谢任何帮助!

0 个答案:

没有答案