Archived

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

Installing slice2js gives errors.

I am running ubuntu 16.04.2 and trying to install slice2js. I am getting the attached log and the following error:

Comments

  • xdm
    xdm La Coruña, Spain
    edited July 2017

    seems a permission issue what is the output of

    ls -liha /usr/local/lib/node_modules/slice2js
    

    Check here for how to fix your npm permissions

  • Hello, this is the output
    ls: cannot access '/usr/local/lib/node_modules/slice2js': No such file or directory

  • ok sir i followed the instructions on the link. It still gives the same error and i have attached the new logfile.

  • joegeorge
    joegeorge Jupiter, Florida

    If you're using Option 1 from here then you should not use sudo with npm after fixing your permissions.