This forum has been archived. Please start a new discussion on GitHub.

No command slice2js found error when trying to compile Helloworld application

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.

  • xdm
    xdm La Coruña, Spain

    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 slice definition and then I tried to run the Client.js by writing node Client.js. This gives the error -