meteor / meteor/vue-tutorial

TypeError: Accounts.findUserByUsername is not a function

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Getting this Error at step 11 or step 12 after running "meteor npm install" and "meteor"

```
TypeError: Accounts.findUserByUsername is not a function
at server/main.js:18:17
at Function.time (/Users/Shared/DEV/meteor/.meteor/local/build/programs/server/profile.js:273:30)
at /Users/Shared/DEV/meteor/.meteor/local/build/programs/server/boot.js:415:15
at /Users/Shared/DEV/meteor/.meteor/local/build/programs/server/boot.js:465:7
at Function.run (/Users/Shared/DEV/meteor/.meteor/local/build/programs/server/profile.js:280:14)
at /Users/Shared/DEV/meteor/.meteor/local/build/programs/server/boot.js:463:13
```
EDIT: from step 7 it works.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at server/main.js:18, where the stack trace reports the failing Accounts.findUserByUsername call. Reproduce the issue by following the tutorial through step 11 or 12 after running "meteor npm install" and "meteor"; done means those steps run without this TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.