I updated my node.js installation since it was very outdated but now I'm stuck with npm install
not working.
It starts doing it's thing but aborts about 30% into the installation on any package I've tried.
I have no more ideas on what to do since I tried reinstalling node and updating hit with no success.
Here's an output of npm install --verbose
- https://gist.github.com/friiks/ad4fd4f02e8cc60740c369c45524343d
and here's the package.json
I'm using
{
"name": "projectname",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "<git url>"
},
"author": "Pankucins",
"license": "ISC",
"bugs": {
"url": "<git url>/issues"
},
"homepage": "<git url>#readme",
"dependencies": {
"express": "^4.13.4",
"socket.io-p2p": "^2.2.0"
}
}
edit
npm install express --save
doesn't work as well, in any folder I've tried.
edit #2
Ok, I'm pretty sure it's git that causes the problem.
I'm using cmder to do my console stuff in and this is what I see before npm stops.
First - https://i.stack.imgur.com/Ahzn5.png
Then - https://i.stack.imgur.com/tGKgs.png
And after that it crashes.
FYI this is how the console looks after the crash when I don't redirect the output to a file - https://i.stack.imgur.com/VXfTs.png
Thanks in advance