Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Error: Cannot find module 'dota2' #44

Closed
clarityworld opened this issue Aug 1, 2014 · 2 comments
Closed

Error: Cannot find module 'dota2' #44

clarityworld opened this issue Aug 1, 2014 · 2 comments
Labels

Comments

@clarityworld
Copy link

When i try to start with:
var Steam = require('steam'),
steamClient = new Steam.SteamClient(),
dota2 = require('dota2'),
Dota2 = new dota2.Dota2Client(steamClient, true);

I get this error:
Error: Cannot find module 'dota2'

@bontscho
Copy link
Contributor

bontscho commented Aug 1, 2014

to install node packages, use npm, e.g. npm install dota2

to install all packages for a certain library, execute npm install in the respective directory (where the package.json is)

you can read up on npm or node on the official pages or take this article for refererence: http://howtonode.org/introduction-to-npm

@bontscho bontscho closed this as completed Aug 1, 2014
@clarityworld
Copy link
Author

Yea this thats exactly what i did! I know how to install packages.
I even installed the jason in the test folder.

Its so strange

This are the modules it installed for me.
http://puu.sh/aAKC1/708c03db1a.png

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants