Closed mocheng closed 10 years ago
What version of npm are you on? Remove ~/.npm
and re-try? Sometimes the cache messes up.
Even reinstall node doesn't get it work.
This seems a known issue for js2coffee.
My bad.
It is due to my local setting alias node="node --harmony"
.
In MacOS 10.9.4, install cson by
npm install cson@1.61
.Test code:
It outputs
Curiously, same version cson works in Linux.
And, if I copy cson package installed in Linux over to Mac. It still works.
It just cannot get properly installed in Mac.