Despite having installed ice and slice2js through npm, I am getting the following error -
OK I reinstalled ice and slice2js after fixing npm permissions and it works fine.
You need a global install if you want to use the command from the shell
npm -g install slice2js
ok sir there is another problem. after installing I compiled the Printer.ice slice definition and then I tried to run the Client.js by writing node Client.js. This gives the error -