No command slice2js found error when trying to compile Helloworld application

lovemehtalovemehta Love MehtaOrganization: RobocompProject: Robocomp uses ice as its communication middlewareMember

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

Comments

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

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

  • xdmxdm La Coruña, SpainJose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice DeveloperAdministrators, ZeroC Staff ZeroC Staff

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

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

    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.