New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The program 'ng' is currently not installed. sudo apt install ng-common ? #7735
Comments
I am using nodenv to manage my node versions. When I type
|
Hey there,you have met the dependencies for angular-cli but accessing ng over terminal requires you to set the path for global packages in your path environment. Path known
How about setting a new one!
Now the final touch, install angular/cli package #8545 , solution here too. Recent issue follow, if issue persists |
Hi, I am trying to follow the steps to install @angular/cli I am having trouble with Then, this line Am I to replace I tryed running Also I was getting a warning about "npm WARN ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none was installed." So I ran Now when I try SyntaxError: Unexpected token = I'm not sure what to try next. |
@matuqam, hey! Do comment if you have further issues! |
I'm having the same issue. What's strange is the command used to work. Then I come back to Angular after a few months of using it and all of a sudden it doesn't work. Linux Mint 17.3, Node 9.5.0, NPM 5.6.0 |
I am using linux 16 lte. I am getting the same issue. |
I solved it by "sudo npm install --unsafe-perm -g @angular/cli" Thanks |
I'm sorry, but this issue is not caused by Angular CLI as It looks like an environment issue. |
yes, i had a similar issue, and fixed it by doing the following: #NodeJS and then refresh the file by running it like so : then everything should be working fine. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
node --version
node v8.5.0
npm --version
npm 5.3.0
cat /proc/version
Linux version 4.11.0-14-generic (buildd@lcy01-08) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1
16.04.4) ) #2016.04.1-Ubuntu SMP Wed Aug 9 09:06:22 UTC 2017lsb_release -a
Distributor ID: LinuxMint
Description: Linux Mint 18.2 Sonya
Release: 18.2
Codename: sonya
Repro steps.
sudo npm install -g @angular/cli
or
npm install -g @angular/cli
and then
ng --help
gives me
Desired functionality.
Should use the angular ng cli program
Mention any other details that might be useful.
No idea what's wrong. all other packages works fine.
The text was updated successfully, but these errors were encountered: