我正在尝试使用jalik:ufs
Meteor包来实现文件上传,但是在启动Meteor应用程序时看到此错误消息:
错误消息
W20151016-15:55:44.251(-4)? (STDERR) /Users/me/.meteor/packages/meteor-tool/.1.1.9.z0bbxn++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20151016-15:55:44.252(-4)? (STDERR) throw(ex);
W20151016-15:55:44.252(-4)? (STDERR) ^
W20151016-15:55:44.252(-4)? (STDERR) ReferenceError: _ is not defined
W20151016-15:55:44.252(-4)? (STDERR) at new UploadFS.store.Local (packages/jalik_ufs-local/packages/jalik_ufs-local.js:21:1)
W20151016-15:55:44.252(-4)? (STDERR) at is_admin (packages/mypack_biotools/collections.js:12:1)
W20151016-15:55:44.253(-4)? (STDERR) at /Users/me/Documents/meteor/test/.meteor/local/build/programs/server/packages/mypack_biotools.js:271:4
W20151016-15:55:44.253(-4)? (STDERR) at /Users/me/Documents/meteor/test/.meteor/local/build/programs/server/packages/mypack_biotools.js:749:3
W20151016-15:55:44.253(-4)? (STDERR) at /Users/me/Documents/meteor/test/.meteor/local/build/programs/server/boot.js:242:10
W20151016-15:55:44.253(-4)? (STDERR) at Array.forEach (native)
W20151016-15:55:44.253(-4)? (STDERR) at Function..each..forEach (/Users/me/.meteor/packages/meteor-tool/.1.1.9.z0bbxn++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20151016-15:55:44.254(-4)? (STDERR) at /Users/me/Documents/meteor/test/.meteor/local/build/programs/server/boot.js:137:5
=> Exited with code: 8
我的应用程序布局是这样的
main meteor app dir
--packages
----mypack:biotools
----mypack:manage-users
流星列表
其他软件包版本
mypack的Package.js:biotools和mypack:manage-users contains
api.use("underscore@1.0.4");
api.imply("underscore@1.0.4");
mypack的Package.js:biotools包含
api.use("jalik:ufs@0.2.9");
api.use("jalik:ufs-local@0.2.2");
感谢。