Angular NES Configuration
Step-by-step guide for configuring and installing the Angular Never‑Ending Support (NES) version, including troubleshooting steps and minimum requirements.
Minimum Requirements
Please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:
- Update your
package.json
- Create or update your
.npmrc
file - Install & Run!
Detailed Instructions
Update Your package.json
Substitute the @angular/*
references in your package.json
with the corresponding NES version. Please refer to
the Angular NES Package List to find the matching version.
For example, this is how to install all Angular NES v18 packages:
{
"dependencies": {
"@angular/animations": "npm:@neverendingsupport/angular-animations@18.2.13-angular-18.2.14",
"@angular/common": "npm:@neverendingsupport/angular-common@18.2.13-angular-18.2.14",
"@angular/compiler": "npm:@neverendingsupport/angular-compiler@18.2.13-angular-18.2.14",
"@angular/core": "npm:@neverendingsupport/angular-core@18.2.13-angular-18.2.14",
"@angular/elements": "npm:@neverendingsupport/angular-elements@18.2.13-angular-18.2.14",
"@angular/forms": "npm:@neverendingsupport/angular-forms@18.2.13-angular-18.2.14",
"@angular/localize": "npm:@neverendingsupport/angular-localize@18.2.13-angular-18.2.14",
"@angular/platform-browser": "npm:@neverendingsupport/angular-platform-browser@18.2.13-angular-18.2.14",
"@angular/platform-browser-dynamic": "npm:@neverendingsupport/angular-platform-browser-dynamic@18.2.13-angular-18.2.14",
"@angular/platform-server": "npm:@neverendingsupport/angular-platform-server@18.2.13-angular-18.2.14",
"@angular/router": "npm:@neverendingsupport/angular-router@18.2.13-angular-18.2.14",
"@angular/service-worker": "npm:@neverendingsupport/angular-service-worker@18.2.13-angular-18.2.14",
"@angular/upgrade": "npm:@neverendingsupport/angular-upgrade@18.2.13-angular-18.2.14"
},
"devDependencies": {
"@angular/compiler-cli": "npm:@neverendingsupport/angular-compiler-cli@18.2.13-angular-18.2.14",
"@angular/language-service": "npm:@neverendingsupport/angular-language-service@18.2.13-angular-18.2.14"
},
"overrides": {
"@angular/animations": { ".": "npm:@neverendingsupport/angular-animations@18.2.13-angular-18.2.14" },
"@angular/common": { ".": "npm:@neverendingsupport/angular-common@18.2.13-angular-18.2.14" },
"@angular/compiler": { ".": "npm:@neverendingsupport/angular-compiler@18.2.13-angular-18.2.14" },
"@angular/compiler-cli": { ".": "npm:@neverendingsupport/angular-compiler-cli@18.2.13-angular-18.2.14" },
"@angular/core": { ".": "npm:@neverendingsupport/angular-core@18.2.13-angular-18.2.14" },
"@angular/elements": { ".": "npm:@neverendingsupport/angular-elements@18.2.13-angular-18.2.14" },
"@angular/forms": { ".": "npm:@neverendingsupport/angular-forms@18.2.13-angular-18.2.14" },
"@angular/language-service": { ".": "npm:@neverendingsupport/angular-language-service@18.2.13-angular-18.2.14" },
"@angular/localize": { ".": "npm:@neverendingsupport/angular-localize@18.2.13-angular-18.2.14" },
"@angular/platform-browser": { ".": "npm:@neverendingsupport/angular-platform-browser@18.2.13-angular-18.2.14" },
"@angular/platform-browser-dynamic": { ".": "npm:@neverendingsupport/angular-platform-browser-dynamic@18.2.13-angular-18.2.14" },
"@angular/platform-server": { ".": "npm:@neverendingsupport/angular-platform-server@18.2.13-angular-18.2.14" },
"@angular/router": { ".": "npm:@neverendingsupport/angular-router@18.2.13-angular-18.2.14" },
"@angular/service-worker": { ".": "npm:@neverendingsupport/angular-service-worker@18.2.13-angular-18.2.14" },
"@angular/upgrade": { ".": "npm:@neverendingsupport/angular-upgrade@18.2.13-angular-18.2.14" }
}
}
Note
You do not need to install every Angular NES package. Simply select the packages applicable to your project.
Angular Tools for Angular v9-12
If you are using Angular v9, v10, v11, or v12, include our angular-tools library in your package.json
:
{
"scripts": {
"postinstall": "npx ngnes",
// ...etc.
},
"devDependencies": {
"@neverendingsupport/angular-tools": "1.1.4",
// ...etc.
}
}
The @neverendingsupport/angular-tools package has tools required for successfully installing and operating Never‑Ending Support in these versions of Angular.
Note
Please be sure to include the postinstall script, which automatically will run "npx ngnes" on install. This command in made available by the @neverendingsupport/angular-tools package. If postinstall scripts are disabled, you will need to run "npx ngnes" immediately after every install and before running "ng build".
Create The .npmrc
Replace <NES_ACCESS_TOKEN>
with your access token.
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>
Note
Using Artifactory? See our Artifactory Instructions for setup and configuration details.
Install your dependencies
Install your dependencies, then build and run the service:
npm install
npx ng serve
And just like that, you're up and running with the Angular NES! ::
Direct Download URLs
All of our Angular packages can be accessed via direct download URLs. More information on how to access the direct downloads can be seen here.
The download URLs for Angular NES follow the pattern of:
- https://registry.nes.herodevs.com/npm/pkg/@neverendingsupport/`package-name`/-/`package-version`.tgz. Please refer to Angular NES Package List for a full list of available packages.
For example, the direct download URLs for Angular NES v18 are:
Package | URL |
---|---|
@angular/animations 18.2.13-angular-18.2.14 | Download |
@angular/common 18.2.13-angular-18.2.14 | Download |
@angular/compiler 18.2.13-angular-18.2.14 | Download |
@angular/compiler-cli 18.2.13-angular-18.2.14 | Download |
@angular/core 18.2.13-angular-18.2.14 | Download |
@angular/elements 18.2.13-angular-18.2.14 | Download |
@angular/forms 18.2.13-angular-18.2.14 | Download |
@angular/language-service 18.2.13-angular-18.2.14 | Download |
@angular/localize 18.2.13-angular-18.2.14 | Download |
@angular/platform-browser 18.2.13-angular-18.2.14 | Download |
@angular/platform-browser-dynamic 18.2.13-angular-18.2.14 | Download |
@angular/platform-server 18.2.13-angular-18.2.14 | Download |
@angular/router 18.2.13-angular-18.2.14 | Download |
@angular/service-worker 18.2.13-angular-18.2.14 | Download |
@angular/upgrade 18.2.13-angular-18.2.14 | Download |
Troubleshooting
If your NPM install fails, you're not seeing your packages replaced, or are encountering any other issues, please reach out to support@herodevs.com with the following:
- The relevant sections of your
package.json
(applicabledependencies
&overrides
blocks). - The version of Node.js and NPM you are using. You can gather them by running node -v and npm -v respectively.
- The last 6 characters of the NES Access Token being used.
Security Note
Please do not ever share your full NES Access Token. No one from the NES team should ever ask for an entire token, even for troubleshooting purposes
Security Note
Please do not include any sensitive or otherwise confidential information in your email.