angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Setting CSS preprocessor corrupts the environment settings

Open mizdler opened this issue 9 years ago • 4 comments

OS?

Mac OSX El Capitan

Versions.

angular-cli: 1.0.0-beta.25.5 node: 4.2.6 os: darwin x64 @angular/common: 2.4.3 @angular/compiler: 2.4.3 @angular/core: 2.4.3 @angular/forms: 2.4.3 @angular/http: 2.4.3 @angular/platform-browser: 2.4.3 @angular/platform-browser-dynamic: 2.4.3 @angular/router: 3.4.3 @angular/compiler-cli: 2.4.3

Repro steps.

Just create a new project and change the CSS preprocessor using cli: ng set defaults.styleExt sass but this corrupts environments settings in angular-cli.json: screen shot 2017-01-16 at 3 21 43 pm

mizdler avatar Jan 16 '17 11:01 mizdler

This looks like a bug, thanks for reporting it!

@hansl this looks like an unintended side-effect of the new @ngtools/json-schema.

filipesilva avatar Jan 16 '17 12:01 filipesilva

same issue I am facing !!

chaouiy avatar Jan 16 '17 14:01 chaouiy

I just ran into this last night, glad to see someone reported it already. Thanks!

nashimus avatar Jan 16 '17 21:01 nashimus

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.