You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENOENT: no such file or directory, chmod - while 'ng new' #1880
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 8.1 with Vagrant Ubuntu 16.04
Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.10
node: 6.4.0
os: linux x64
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
I use Vagrant with bento/ubuntu-16.04 Box
This is my ssh script for installing my env: sudo apt-get install -y curl; sudo apt-get update; sudo apt-get install -y build-essential; curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -; sudo apt-get install -y nodejs; sudo apt-get install -y npm; npm config set registry http://registry.npmjs.org/; sudo npm install -g npm;
After that I install angular-cli without problems, but when it comes to create project with ng new testApp I get error. I run vagrant with administrator permissions.
The log given by the failure. Normally this include a stack trace and some
more information. ENOENT: no such file or directory, chmod '/vagrant/testApp/node_modules/angular-cli/node_mo dules/angular-cli/node_modules/npm/node_modules/request/node_modules/http-signature/node_module s/sshpk/bin/sshpk-sign' Error: ENOENT: no such file or directory, chmod '/vagrant/testApp/node_modules/angular-cli/ node_modules/angular-cli/node_modules/npm/node_modules/request/node_modules/http-signature/node _modules/sshpk/bin/sshpk-sign' at Error (native)
changed the title [-]ENOENT: no such file or directory, chmod - sshpk-sign error[/-][+]ENOENT: no such file or directory, chmod while 'ng new'[/+]on Aug 31, 2016
changed the title [-]ENOENT: no such file or directory, chmod while 'ng new'[/-][+]ENOENT: no such file or directory, chmod - while 'ng new'[/+]on Aug 31, 2016
Activity
[-]ENOENT: no such file or directory, chmod - sshpk-sign error[/-][+]ENOENT: no such file or directory, chmod while 'ng new'[/+][-]ENOENT: no such file or directory, chmod while 'ng new'[/-][+]ENOENT: no such file or directory, chmod - while 'ng new'[/+]filipesilva commentedon Sep 20, 2016
I can't really say, this seems like it may be a vagrant specific issue, on a depdendency of a dependency of a dependency.
If I had to bet... maybe something regarding
npmitself. Not sure to be honest.filipesilva commentedon Sep 20, 2016
I looked around a bit and it seems to be this: npm/npm#9633 (comment)
Closing here then.
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.