How to install @angular/cli in Putty shell? -
i trying install angular/cli using command in putty:
npm install -g @angular/cli but failed , run through these error messages:
permission denied (publickey). fatal: remote end hung unexpectedly cound not install angular/cli error: enoent, stat 'angular/cli' how fix issue? tia
it saying permission denied -g installing thing globally not have enough rights install package globally. matter need research on error permission denied (publickey) hosting/cloud service provider.
however if deploying angular cli app on server not have install angular cli globally anyway.
if build server or npm install or yarn first , run command npm run ng -- build --prod run local version of angular cli specified in package.json
wiki
Comments
Post a Comment