这是indexloc提供的服务,不要输入任何密码
Skip to content

Error when trying to run demo #2

@BetaStacks

Description

@BetaStacks

I am trying to run the demo and receiving the following error.

pi@raspberrypi:~/annyang-node/demo $ node app.js
/home/pi/annyang-node/demo/app.js:14
annyang.init(commands);
^

TypeError: annyang.init is not a function
at Object. (/home/pi/annyang-node/demo/app.js:14:9)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Function.Module.runMain (module.js:701:10)
at startup (bootstrap_node.js:194:16)
at bootstrap_node.js:618:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions