Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Facing error while running --> npm install -g swagger #372

@raghala

Description

@raghala

[raghala@localhost ~]$ npm install -g swagger
npm WARN deprecated [email protected]: package renamed to "urijs" (lower-case), please update accordingly
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v6.0. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN optional dep failed, continuing [email protected]
npm ERR! Linux 3.10.0-123.el7.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "swagger"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! path ../lib/node_modules/swagger/bin/swagger.js
npm ERR! code EACCES
npm ERR! errno -13

npm ERR! Error: EACCES, symlink '../lib/node_modules/swagger/bin/swagger.js'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES, symlink '../lib/node_modules/swagger/bin/swagger.js']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! path: '../lib/node_modules/swagger/bin/swagger.js' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR! /home/raghala/npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions