问:SimpleSchema.extendOptions不是函数,这为什么?

时间:2018-08-14 20:01:05

标签: meteor

我正在跟Lynda上的流星课程一起学习,但是在尝试运行我的应用程序时出现此错误:

/Users/dan/.meteor/packages/meteor-tool/.1.7.0_4.h9dep8.vdm4s++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
throw(ex);
^

TypeError: SimpleSchema.extendOptions is not a function
at members.js (imports/api/members.js:4:14)
at fileEvaluate (packages/modules-runtime.js:322:7)
at Module.require (packages/modules-runtime.js:224:14)
at require (packages/modules-runtime.js:244:21)
at main.js (server/main.js:1:100)
at fileEvaluate (packages/modules-runtime.js:322:7)
at Module.require (packages/modules-runtime.js:224:14)
at require (packages/modules-runtime.js:244:21)
at /Users/dan/Desktop/hotel/.meteor/local/build/programs/server/app/app.js:164:15
at /Users/dan/Desktop/hotel/.meteor/local/build/programs/server/boot.js:411:36
at Array.forEach ()
at /Users/dan/Desktop/hotel/.meteor/local/build/programs/server/boot.js:220:19
at /Users/dan/Desktop/hotel/.meteor/local/build/programs/server/boot.js:471:5
at Function.run (/Users/dan/Desktop/hotel/.meteor/local/build/programs/server/profile.js:510:12)
at /Users/dan/Desktop/hotel/.meteor/local/build/programs/server/boot.js:470:11
Exited with code: 1
Your application is crashing. Waiting for file change.

作为一个对此很陌生的人,我不知道问题是什么。我的 软件包已正确安装:

aldeed:collection2-core
"simpl-schema": "^1.5.3"

请有人帮忙吗?谢谢!

0 个答案:

没有答案