[MacPorts] #46893: coffee-script does not compile js anymore (was: Coffescript does not compile js anymore)
MacPorts
noreply at macports.org
Wed Feb 18 02:06:30 PST 2015
#46893: coffee-script does not compile js anymore
----------------------------+--------------------------
Reporter: andrew@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: coffee-script |
----------------------------+--------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => ryandesign@…
* priority: High => Normal
* keywords: coffeescript, coffee-script =>
Old description:
> 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)
New description:
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)
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/46893#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list