After coffeescript installation coffee error

0

He,

i have a coffeescript question.

I installed coffeescript on my machine, but if i call the „cake“ or „coffee“ command on my commandline tool (Win+R+cmd) i got a error mesage.

-> coffee is not recognized as an internal or external command ...

I installed CoffeeScript via npm:

npm install -g coffeescript

and the installed files in %APPDATA%\npm.

Win 10

Node: v11.4.0

Npm: v6.4.1

Any ideas what I can do?

THX!!!

user982856

Posted 2019-01-09T11:33:34.170

Reputation: 1

Add it to your path. What are PATH and other environment variables, and how can I set or use them?

– DavidPostill – 2019-01-09T11:52:52.283

@DavidPostill Shouldn't npm set the path correctly if properly installed? – slhck – 2019-01-09T12:29:05.683

@slhck I've no idea. I don't use it or CoffeeScript. – DavidPostill – 2019-01-09T12:29:50.117

@DavidPostill I see. Thought I was missing something obvious. But Windows is different here. https://stackoverflow.com/a/9588052/435093 could be related.

– slhck – 2019-01-09T12:34:51.707

@slhck Indeed, that looks like it might be the issue. – DavidPostill – 2019-01-09T12:36:20.723

No answers