E
E
evgenusov2015-03-02 00:46:59
CoffeeScript
evgenusov, 2015-03-02 00:46:59

Coffee-script doesn't compile. What is the problem?

Hello. In general, I installed coffee-script:
npm -g install coffee-script
Installed version 1.9.1
But, immediately strangeness when checking the version through the
root console LapTop :/home/evgen/coffee# coffee -v
root LapTop :/home/evgen/ coffee#
Okay. Trying to compile
root LapTop :/home/evgen/coffee# ls src/
main.coffee
root LapTop :/home/evgen/coffee# ls lib/
root LapTop :/home/evgen/coffee# coffee --compile --output lib/ src/
root LapTop :/home/evgen/coffee#
root LapTop :/home/evgen/coffee# ls lib/
rootLapTop :/home/evgen/coffee#
How can I fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
evgenusov, 2015-03-03
@evgenusov

Solved by compiling NodeJS from source.

R
rapkin, 2015-03-02
@rapkin

coffee --output lib --compile src

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question