我如何首先使用 VulcanJS 启动项目?

How can I first launch the project with VulcanJS?

我刚刚开始在我的电脑上安装 Vulcan Js。所以我按照官方网站上的教程进行操作。 在我执行 npm start 之后,出现了这个错误。

> npm start

> vulcan-meteor@1.16.1 start
> meteor --settings settings.json

[[[[[ ~/Sites/Vulcan/Vulcan ]]]]]             

=> Started proxy.                             
=> Started MongoDB.                                                                
W20210326-10:29:14.756(1)? (STDERR) /Users/imac/.meteor/packages/meteor-tool/.2.1.0.23f9er.0sbtf++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
W20210326-10:29:14.872(1)? (STDERR)                         throw(ex);
W20210326-10:29:14.873(1)? (STDERR)                         ^
W20210326-10:29:14.873(1)? (STDERR) 
W20210326-10:29:14.873(1)? (STDERR) TypeError: Cannot read property 'upsert' of undefined
W20210326-10:29:14.873(1)? (STDERR)     at packages/vulcan:accounts/imports/oauth_config.js:8:41
W20210326-10:29:14.874(1)? (STDERR)     at Array.forEach (<anonymous>)
W20210326-10:29:14.874(1)? (STDERR)     at module (packages/vulcan:accounts/imports/oauth_config.js:7:25)
W20210326-10:29:14.874(1)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:336:7)
W20210326-10:29:14.874(1)? (STDERR)     at Module.require (packages/modules-runtime.js:238:14)
W20210326-10:29:14.875(1)? (STDERR)     at Module.moduleLink [as link] (/Users/imac/.meteor/packages/modules/.0.16.0.3rozyi.4j6sy++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/reify/lib/runtime/index.js:52:22)
W20210326-10:29:14.875(1)? (STDERR)     at module (packages/vulcan:accounts/main_server.js:1:356)
W20210326-10:29:14.875(1)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:336:7)
W20210326-10:29:14.875(1)? (STDERR)     at Module.require (packages/modules-runtime.js:238:14)
W20210326-10:29:14.876(1)? (STDERR)     at require (packages/modules-runtime.js:258:21)
W20210326-10:29:14.876(1)? (STDERR)     at /Users/imac/Sites/Vulcan/Vulcan/.meteor/local/build/programs/server/packages/vulcan_accounts.js:3282:15
W20210326-10:29:14.876(1)? (STDERR)     at /Users/imac/Sites/Vulcan/Vulcan/.meteor/local/build/programs/server/packages/vulcan_accounts.js:3287:3
W20210326-10:29:14.876(1)? (STDERR)     at /Users/imac/Sites/Vulcan/Vulcan/.meteor/local/build/programs/server/boot.js:401:38
W20210326-10:29:14.876(1)? (STDERR)     at Array.forEach (<anonymous>)
W20210326-10:29:14.877(1)? (STDERR)     at /Users/imac/Sites/Vulcan/Vulcan/.meteor/local/build/programs/server/boot.js:226:21
W20210326-10:29:14.877(1)? (STDERR)     at /Users/imac/Sites/Vulcan/Vulcan/.meteor/local/build/programs/server/boot.js:464:7
W20210326-10:29:14.877(1)? (STDERR)     at Function.run (/Users/imac/Sites/Vulcan/Vulcan/.meteor/local/build/programs/server/profile.js:280:14)
W20210326-10:29:14.877(1)? (STDERR)     at /Users/imac/Sites/Vulcan/Vulcan/.meteor/local/build/programs/server/boot.js:463:13
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

我不知道该怎么办。

按照我的配置: 流星版本:2.1 NPM 版本:7.7.4 Vulcan git 分支:devel

确保按照指定的安装步骤进行操作:

  1. 安装节点和 npm - 我更喜欢使用 n
curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
bash n lts
  1. 安装流星
curl https://install.meteor.com/ | sh

  1. 克隆入门代码库
git clone https://github.com/VulcanJS/Vulcan-Starter && cd Vulcan-Starter
  1. simple_settings.json 重命名为 settings.json
mv sample_settings.json settings.json

  1. 安装 npm 包
meteor npm install
  1. 启动应用程序
meteor npm start

您的应用程序应该在 http://localhost:3000/

运行