domenic / count-to-6

An intro to some ES6 features via a set of self-guided workshops.
Other
325 stars 76 forks source link

can not start #46

Closed sevku closed 6 years ago

sevku commented 6 years ago

Can't start it. It shows a Reference Error: count is not defined when I enter count-to-6 in node

zbicin commented 6 years ago

I'm not sure what do you mean by

when I enter count-to-6 in node

Have you installed the package globally from your terminal (mind the -g switch)

npm install -g count-to-6

and then ran it using

count-to-6

?

sevku commented 6 years ago

Basically the second command doesn't work. Sorry as you could probably guess, I'm a complete noob. But I can install it but not run it.

sevku commented 6 years ago

It's alright. I typed it directly into node. Sorry.

zbicin commented 6 years ago

No worries, happens to everyone. ;)