No command slice2js found error when trying to compile Helloworld application

lovemehtalovemehta Member Love MehtaOrganization: RobocompProject: Robocomp uses ice as its communication middleware

Despite having installed ice and slice2js through npm, I am getting the following error -

Comments

  • lovemehtalovemehta Member Love MehtaOrganization: RobocompProject: Robocomp uses ice as its communication middleware

    OK I reinstalled ice and slice2js after fixing npm permissions and it works fine.

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff

    You need a global install if you want to use the command from the shell

    npm -g install slice2js
    
  • lovemehtalovemehta Member Love MehtaOrganization: RobocompProject: Robocomp uses ice as its communication middleware

    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 -

Sign In or Register to comment.