
This command creates a new Angular project (named my-first-app, you can use any name) with all the necessary dependencies and files.

Personally I have several versions of node through nvm (node version manager) for windows.ī) Copy the npm package of this node installation of node 16.13.2, and change it into the folder of the node 16.14.0 (delete or rename old npm folder before).Ĭ) Use node 16.14.0 typing nvm use 16.4.0ĭ) Upgrade npm typing npm install -g you could see the sequence:įirst, rename npm 8.1.3 and paste npm 8.1. After the installation is completed, you can use Angular CLI to create a new Angular project with the following command: ng new my-first-app. Angular 8 Installation (How to install Angular 8 or Angular 8 Environment setup) Before to setup environment for Angular development using the Angular CLI tool, you must have installed Node. The problem is that, when you try to do so, it will arise the same error that appeared when you tried to install angular.Ī) Install a previous version of node that uses another version of npm, as node 16.13.2, that comes with npm 8.1.2. To solve this problem, you can install node versión 16.13.2, that comes with npm 8.1.2 version (instead of 8.1.3), as it is said here: Īnother possibility, if you want to use angular with node 16.14.0, could be to upgrade the npm version. I have already tried to remove and reinstall node_modules, but still, the error is showing.The main problem is that, if you try to follow the steps to install angular, you will inevitably run into this error, because the recommended version of node.js is 16.14.0, and node already tells you that it comes with 8.3.1 node version:Ĭaptura de pantalla de node.js con la versión recomendada de node To install Angular on your local system, you need the following: Node.js Angular requires a current, active LTS, or maintenance LTS version of Node.js. Here are the dependencies packages in my application "dependencies": "^2.0.3", Install Angular CLI: To install Angular CLI, the below command is to be used.

Step 4: Check the version, by running the command node -v in a terminal/console window. getting errors like Error: node_modules/angular-mentions/lib/.ts:6:21 - error TS2694: Namespace has no exported member 'ɵɵFactoryDeclaration'. Open node.js command prompt, after the successful installation of Node.js on the system.

I am trying to use angular-mention in angular version 11.
