Coffee script path.exists deprecated notification from node.js

  • OSX 10.6
  • CoffeeScript 1.2.0
  • node.js v0.7.7-pre

I see a deprecation notification every time I run a coffee command. The notice is as follows:

path.exists is deprecated. It is now called `fs.exists`.

I know this is happening because node.js has deprecated path.exists. Cm

https://github.com/joyent/node/pull/2587

I would think that there will be a lot of information about this, but all I see is an indirect link related to a more serious problem saying that this will not be "fixed":

https://github.com/jashkenas/coffee-script/issues/2113

Am I the only one who has this problem? Does anyone have a suggestion on how I can leave this?

+5
source share
4 answers

https://github.com/jashkenas/coffee-script/blob/master/lib/coffee-script/command.js#L323

coffeescript path.exists.

, node 0,6 ( ) fs.exists null, .

, 0,6, 0,7.

, 0,8, - coffeescript, fs.exists 0,6

+6

0.8 OSX , path.exists fs.exists ( ):

/opt/local/lib/node_modules/coffee-script/lib/coffee-script/command.js

root- .

+3

?

0

All Articles