Meteor教程给出'sanitizeForInObject'错误

问题描述 投票:0回答:1

我已经使用Meteor多年,并在我的Mac上有1.1版本。我创建了一个新目录,输入meteor update并检查meteor --version给Meteor 1.5。

tutorial之后,我输入了meteor create simple-todoscd,并输入了meteor

但流星崩溃 - 请参阅下面的错误。如何让教程运行?我仍然希望能够运行我的旧版Meteor 1.1应用程序。 => Started proxy.
=> Started MongoDB.
W20170605-21:34:04.700(10)? (STDERR) /Users/.../.meteor/packages/meteor-tool/.1.5.0.3kmr7i++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280 W20170605-21:34:04.801(10)? (STDERR) throw(ex); W20170605-21:34:04.801(10)? (STDERR) ^ W20170605-21:34:04.803(10)? (STDERR) W20170605-21:34:04.803(10)? (STDERR) TypeError: Cannot read property 'sanitizeForInObject' of undefined W20170605-21:34:04.804(10)? (STDERR) at [object Object].LocalCollection.insert (packages/minimongo/minimongo.js:569:3) W20170605-21:34:04.805(10)? (STDERR) at [object Object].insert (packages/mongo/collection.js:524:37) W20170605-21:34:04.805(10)? (STDERR) at updateVersions (packages/autoupdate.js:133:20) W20170605-21:34:04.806(10)? (STDERR) at packages/autoupdate.js:197:3 W20170605-21:34:04.806(10)? (STDERR) at Function.time (/Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/profile.js:309:28) W20170605-21:34:04.807(10)? (STDERR) at /Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/boot.js:347:13 W20170605-21:34:04.807(10)? (STDERR) at /Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/boot.js:388:5 W20170605-21:34:04.808(10)? (STDERR) at Function.run (/Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/profile.js:510:12) W20170605-21:34:04.809(10)? (STDERR) at /Users/.../Javascript/meteor/simple-todos/.meteor/local/build/programs/server/boot.js:386:11 => Exited with code: 1 => Your application is crashing. Waiting for file change.

meteor
1个回答
0
投票

我只需按照https://www.meteor.com/install所述重新安装Meteor,然后一切正常。我甚至可以在一个目录中运行Meteor 1.1版,在另一个目录中运行1.6版。

© www.soinside.com 2019 - 2024. All rights reserved.