1

I am doing this from Git Bash on Windows 10. The command was:

npm install --save @angular/cli@latest

The output was:

+ @angular/[email protected]
added 35 packages from 15 contributors and audited 914 packages in 4.852s

Directory node_modules@angular\cli\bin contains the following files:

bootstrap.js
ng.js
package.json

It also contains directory postinstall with these two files:

analytics-prompt.js
script.js

Everywhere I search I see references to node_modules@angular\cli\bin\ng, but that file doesn't exist. I have "ng.js" but not "ng".

Has something changed with newer versions of the Angular CLI?

1 Answer 1

1

Yes, the file is now called ng.js. It was renamed since @angular/cli v.13.0.0 by this specific commit.

You should not focus on that extension change, rather follow your tutorials & documents looking at the file content their pointing you at.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, that's helpful. I found that the change from ng to ng.js occurred on version 13.0.0 though, not 14.0.
Thanks for the precision. Updating my comment since you're sure of the version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.