-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
Description
Versions
Angular CLI: 6.0.3
Node: 9.1.0
OS: darwin x64
Angular: 6.0.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... http, language-service, material, platform-browser
... platform-browser-dynamic, router, service-worker
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.1
@angular-devkit/build-angular 0.6.1
@angular-devkit/build-optimizer 0.6.1
@angular-devkit/core 0.6.1
@angular-devkit/schematics 0.6.3
@angular/cli 6.0.3
@angular/pwa 0.6.1
@ngtools/webpack 6.0.1
@schematics/angular 0.6.1
@schematics/update 0.6.3
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0
Repro steps
- run
ng config schematics.@schematics/angular:component.styleext scss
Observed behavior
Invalid JSON character: "s" at 0:0.
Error: Invalid JSON character: "s" at 0:0.
at _readValue (/Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/node_modules/@angular-devkit/core/src/json/parser.js:567:19)
at parseJsonAst (/Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/node_modules/@angular-devkit/core/src/json/parser.js:605:17)
at Object.parseJson (/Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/node_modules/@angular-devkit/core/src/json/parser.js:631:12)
at normalizeValue (/Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/commands/config.js:128:19)
at ConfigCommand.set (/Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/commands/config.js:195:23)
at ConfigCommand.run (/Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/commands/config.js:168:18)
at /Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/models/command-runner.js:278:30
at Generator.next (<anonymous>)
at fulfilled (/Users/hitchcocka/Projects/hostingDashboard/node_modules/@angular/cli/models/command-runner.js:4:58)
at <anonymous>
Desired behavior
Should update app to use SCSS as CSS Preprocessor
Mention any other details that might be useful (optional)
I have tried resaving all .json files in my project as UFT8 (without BOM)
Reactions are currently unavailable