generator-aspnetcore-angular2 icon indicating copy to clipboard operation
generator-aspnetcore-angular2 copied to clipboard

Error when installing dependencies on Ubuntu 16.04

Open lhmiranda opened this issue 8 years ago • 1 comments

I have npm version 3.8.6 and asp.net core 1.0.1 installed. This is what I get after running the generator and choosing 'Advanced' and answering 'Y' to all questions:

.... (cut for brevity) create Ang2Tests/src/Ang2Tests/config/webpack.prod.js create Ang2Tests/src/Ang2Tests/config/webpack.test.js create Ang2Tests/src/Ang2Tests/config/webpack.vendor.js

Installing npm dependencies...

npm ERR! Linux 4.4.0-53-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v5.12.0 npm ERR! npm v3.8.6 npm ERR! code EREADFILE

npm ERR! Error extracting /home/henrique/.npm/ng2-bootstrap/1.1.15/package.tgz archive: ENOENT: no such file or directory, open '/home/henrique/.npm/ng2-bootstrap/1.1.15/package.tgz'

lhmiranda avatar Dec 19 '16 15:12 lhmiranda

Seems to be a common issue people are having with ng2-bootstrap. Looks like people are saying once they increased the version the issue went away. Could you try that?

https://github.com/npm/npm/issues/15248 https://github.com/valor-software/ng2-bootstrap/issues/1342

sgbj avatar Dec 28 '16 01:12 sgbj