Skip to content

Cannot read property 'algolia' of undefined #228

Closed
@herrbischoff

Description

Environment

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.4
BuildVersion:	17E199
$ node -v
v8.10.0
$ vuepress -V
0.8.0

Issue

Just installed with yarn global add vuepress and followed the Getting Started instructions. When running vuepress dev or vuepress build the following error is thrown:

Extracting site metadata...TypeError: Cannot read property 'algolia' of undefined
    at resolveOptions (/Users/mbischoff/.config/yarn/global/node_modules/vuepress/lib/prepare.js:124:28)
    at prepare (/Users/mbischoff/.config/yarn/global/node_modules/vuepress/lib/prepare.js:24:25)
    at dev (/Users/mbischoff/.config/yarn/global/node_modules/vuepress/lib/dev.js:21:25)
    at args (/Users/mbischoff/.config/yarn/global/node_modules/vuepress/bin/vuepress.js:104:12)
    at Command.program.command.description.option.option.action (/Users/mbischoff/.config/yarn/global/node_modules/vuepress/bin/vuepress.js:31:21)
    at Command.listener (/Users/mbischoff/.config/yarn/global/node_modules/commander/index.js:315:8)
    at emitTwo (events.js:126:13)
    at Command.emit (events.js:214:7)
    at Command.parseArgs (/Users/mbischoff/.config/yarn/global/node_modules/commander/index.js:651:12)
    at Command.parse (/Users/mbischoff/.config/yarn/global/node_modules/commander/index.js:474:21)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions