You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to set the configuration in .angular-cli.json with:
ng set apps.0.prefix foo
This yields an error.
So do ng set apps[0]prefix foo and ng set apps[0]prefix "foo"
Error
$ ng set apps.0.prefix foo
Unexpected token o in JSON at position 1
SyntaxError: Unexpected token o in JSON at position 1
at Object.parse (native)
at resolve (/Users/john/_play/angular-hello/node_modules/@angular/cli/commands/set.js:62:39)
at Class.run (/Users/john/_play/angular-hello/node_modules/@angular/cli/commands/set.js:37:16)
at Class.<anonymous> (/Users/john/_play/angular-hello/node_modules/@angular/cli/ember-cli/lib/models/command.js:134:17)
at process._tickCallback (internal/process/next_tick.js:103:7)
The text was updated successfully, but these errors were encountered:
OS
Mac OSX 10.12.3
Versions.
Repro steps.
Try to set the configuration in
.angular-cli.json
with:ng set apps.0.prefix foo
This yields an error.
So do
ng set apps[0]prefix foo
andng set apps[0]prefix "foo"
Error
The text was updated successfully, but these errors were encountered: