嗨,我正在升级到Meteor 1.3,并且在我的包上得到了很多与add_file方法相关的错误。
在我的所有包(例如uikit)中,它不再识别这个方法(我假设)。
有没有人碰到这个?
错误:
TypeError: Object [object Object] has no method 'add_file'
at package.js:12:7
at __bottom_mark__ (/tools/utils/parse-stack.js:59:14)
at PackageSource.initFromPackageDir (/tools/isobuild/package-source.js:1046:9)
at /tools/packaging/catalog/catalog-local.js:286:23
at /tools/utils/buildmessage.js:359:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:352:34
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:350:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.enterJob (/tools/utils/buildmessage.js:324:26)
at initSourceFromDir (/tools/packaging/catalog/catalog-local.js:273:20)
at /tools/packaging/catalog/catalog-local.js:346:9
at /tools/utils/buildmessage.js:565:21
at /Users/chazmee/.meteor/packages/meteor-tool/.1.3.0_3.1b03du5++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/ddp/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:33:40更新到METEOR@1.3是不可能的:
While reading package from `/Users/chazmee/placelist/packages/uikit-2`:package.js:12:7:对象没有方法“”add_file“”
发布于 2016-04-02 01:09:27
您的Meteor包中的api.add_file()应该更新为api.addFiles()。
https://stackoverflow.com/questions/36342400
复制相似问题