0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

UbuntuのCoffeeScriptがよくわからんエラーを吐くようになった時の対処法

Last updated at Posted at 2013-10-18

Ubuntu の Coffee Script がこんなよくわからんエラーを吐くようになって全く使えないので困っていた。

/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:321
        throw e;
              ^
Error: watch Unknown system errno 28
    at errnoException (fs.js:636:11)
    at FSWatcher.start (fs.js:663:11)
    at Object.watch (fs.js:691:11)
    at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:287:27
    at Object.oncomplete (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:100:11)

解決策

npmやcoffeeを再インストールしても上手く動かないし、質問を投げても解決しないので困り果てていた所、偶然解決策が見つかった。

```
sudo apt-get update
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs


とまあ、こんな感じで nodejs 自体のバージョンを上げる必要があったようだ。
Ubuntuの標準パッケージは `0.6.x` なのでこれが`0.10.x` に上がって自分のエラーと同じ原因だったならこれで問題が解決するはず。

## 参考

Installing Node.js via package manager · joyent/node Wiki
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager

npm - How to update coffee script? - Ask Ubuntu
http://askubuntu.com/questions/353853/how-to-update-coffee-script/360720#360720
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?