以下是我所知道的:
这是我不知道的:
以下是我的尝试:
我不确定如何隔离哪个软件包更新导致了这个问题,因为我没有更新内容的日志(我不会再犯一个错误!)。我在我的gitignore中有软件包版本文件(基本上是按照最佳实践),所以我无法查看git历史记录以查看哪些软件包已更新并可能导致问题。
错误:
W20170713-10:43:06.627(-5)? (STDERR) /Users/[redacted]/Source/[redacted]/app/.meteor/local/build/programs/server/boot.js:391
W20170713-10:43:06.654(-5)? (STDERR) }).run();
W20170713-10:43:06.655(-5)? (STDERR) ^
W20170713-10:43:06.656(-5)? (STDERR)
W20170713-10:43:06.656(-5)? (STDERR) TypeError: module.makeNsSetter is not a function
W20170713-10:43:06.657(-5)? (STDERR) at meteorInstall.node_modules.meteor.shell-server.main.js (packages/shell-server/main.js:1:55)
W20170713-10:43:06.657(-5)? (STDERR) at fileEvaluate (packages/modules-runtime.js:333:9)
W20170713-10:43:06.657(-5)? (STDERR) at require (packages/modules-runtime.js:228:16)
W20170713-10:43:06.658(-5)? (STDERR) at /Users/[redacted]/Source/[redacted]/app/.meteor/local/build/programs/server/packages/shell-server.js:568:15
W20170713-10:43:06.658(-5)? (STDERR) at /Users/[redacted]/Source/[redacted]/app/.meteor/local/build/programs/server/packages/shell-server.js:574:3
W20170713-10:43:06.658(-5)? (STDERR) at /Users/[redacted]/Source/[redacted]/app/.meteor/local/build/programs/server/boot.js:338:34
W20170713-10:43:06.658(-5)? (STDERR) at Array.forEach (native)
W20170713-10:43:06.659(-5)? (STDERR) at Function._.each._.forEach (/Users/[redacted]/.meteor/packages/meteor-tool/.1.5.0.edxpxb++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20170713-10:43:06.659(-5)? (STDERR) at /Users/[redacted]/Source/[redacted]/app/.meteor/local/build/programs/server/boot.js:158:5
W20170713-10:43:06.660(-5)? (STDERR) at /Users/[redacted]/Source/[redacted]/app/.meteor/local/build/programs/server/boot.js:387:5
答案 0 :(得分:0)
我终于通过焦土方法解决了我的问题,基本上只是创建一个新的流星项目并单独复制我的应用程序源,然后安装原始项目和包文件中列出的所有包。我不知道我原来的问题是什么,但现在一切正常。