Opened 9 years ago

Last modified 6 years ago

#46893 closed defect

coffee-script does not compile js anymore — at Version 1

Reported by: andrew@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc:
Port: coffee-script

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi

The latest updates seem to have broken coffeescript.

$ coffee -b -c -o working/js coffee
TypeError: undefined is not a function
    at writeJs (/opt/local/lib/coffee-script/lib/coffee-script/command.js:413:17)
    at compileScript (/opt/local/lib/coffee-script/lib/coffee-script/command.js:185:18)
    at /opt/local/lib/coffee-script/lib/coffee-script/command.js:150:18
    at fs.js:336:14
    at FSReqWrap.oncomplete (fs.js:99:15)

Change History (1)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: coffeescript coffee-script removed
Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal
Summary: Coffescript does not compile js anymorecoffee-script does not compile js anymore

I have not updated the coffee-script port in years, because it really needs to be installed with npm, using its dependency engine. I have long wanted to build an npm portgroup to make it possible to add npm-using ports to MacPorts, but have not done so yet. For now, your best bet is to install coffee-script with npm and forget about the coffee-script port in MacPorts.

Note: See TracTickets for help on using tickets.