generator-aspnetcore-angular2
generator-aspnetcore-angular2 copied to clipboard
Error when installing dependencies on Ubuntu 16.04
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'
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