#npx --package @angular/cli ng installs latest, i want v18!

1 messages · Page 1 of 1 (latest)

primal mica
#

how can i install v18 ?

woeful kite
#

Mention version like npm install -g @angular/cli@18

primal mica
#

okey, should i use SCSS because i'm installing material or css is enough ?

primal mica
lethal parrot
#

OTOH, why start a new project with an already old version? What's wrong with v19?

woeful kite
primal mica
lethal parrot
#

Have you questioned that requirement? Maybe it was just written before v19 came out? Maybe they don't realize that using v18 will incur migration costs?

primal mica
#

i'm not sure if you have seen my problem when installing material

ng add @angular/material
Skipping installation: Package already installed
? Choose a prebuilt theme name, or "custom" for a custom theme: Indigo/Pink        [ Preview: https://material.angular.io?theme=indigo-pink ]
? Set up global Angular Material typography styles? yes
? Include the Angular animations module? Include and enable animations
UPDATE package.json (1115 bytes)
√ Packages installed successfully.
Cannot find module 'C:\Users\abder\WebstormProjects\ExpenseTracker\node_modules\@schematics\angular\private\components.js'

i get this eror in he last, is it a big of a deal ?