Monday 29 May 2017

npm install gives illegal operation on a directory

I have these dependencies in my package.json:

    "dependencies": {
        "location": "git+ssh://git@stash.abc.def.gh:7999/testingproject/module1.git",
        "notifications": "git+ssh://git@stash.abc.def.gh:7999/testingproject/module2.git",
}

However, upon running npm install, I am getting following error:

> npm ERR! eisdir EISDIR: illegal operation on a directory, read npm
> ERR! eisdir This is most likely not a problem with npm itself npm ERR!
> eisdir and is related to npm not being able to find a package.json in
> npm ERR! eisdir a package you are trying to install.

I am new to Node and NPM. Please help



via PHPDev

No comments:

Post a Comment