Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7813475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:52:49+00:00 2026-06-02T04:52:49+00:00

I have installed nodejs, installed coffee using npm and registered the environment variables and

  • 0

I have installed nodejs, installed coffee using npm and registered the environment variables and am now ready to compile my CoffeeScript into JavaScript for the first time.

I am running the following command in c:\MyCoffeeScriptProject\

coffee --compile --output js/

What happens next is that I get the interactive window and nothing in the “js” folder.

coffee>

I was expecting all .coffee files to be compiled into the “js” folder as .js files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T04:52:50+00:00Added an answer on June 2, 2026 at 4:52 am

    You didn’t tell it which files to compile.

    Usage: coffee [options] path/to/script.coffee [args]
    

    Append a single period to the end for the current directory.

    coffee --compile --output js/ .
    

    It’s easier to read if you rearrange it though.

    coffee --output js/ --compile .
    

    compiles all coffee files in . to js/

    A common usage pattern is to have a src folder.

    coffee --output js/ --compile src/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running node.js on OSX and have just installed mongodb using command npm install
Just installed nodeJS and NPM and nodesupervisor via Terminal in OS 10.5.8. I have
I have installed nodejs and mysql(also the work bench) I am building a server
I have website built by html5 and served by Apache, I have installed Nodejs
I've installed nodeJS ( from http://nodejs.org/ ). This has installed nodeJS & npm. Then
I have finished installing RabbitMQ using the following RPM http://www.rabbitmq.com/releases/rabbitmq-server/v2.7.1/rabbitmq-server-2.7.1-1.noarch.rpm i installed it like
I have installed the latest node.js from here . I see the %Path% variables
I have NodeJS and Mocha installed and working on Windows 7 x64 - so
I have just installed MongoDB in my machine (Windows 7) and installed node-mongodb-native using
Is it possible to have different versions of NodeJS installed on the same machine?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.