Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10 (x64)
- Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
angular-cli: local (v1.0.0-beta.11-webpack.8, branch: master)
node: 6.4.0
os: win32 x64
- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Crete a new project using: ng new Teste --style=sass
then run ng set defaults.styleExt scss
- The log given by the failure. Normally this include a stack trace and some
more information.
Cannot read property 'serialize' of undefined
TypeError: Cannot read property 'serialize' of undefined
at D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:235:87
at JsonSerializer.property (D:\github\angular-cli\addon\ng2\models\json-schema\serializer.ts:100:9)
at _loop_1 (D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:235:32)
at D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:240:17
at JsonSerializer.object (D:\github\angular-cli\addon\ng2\models\json-schema\serializer.ts:88:9)
at ObjectSchemaTreeNode.serialize (D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:227:20)
at D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:231:92
at JsonSerializer.property (D:\github\angular-cli\addon\ng2\models\json-schema\serializer.ts:100:9)
at _loop_1 (D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:231:36)
at D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:240:17
at JsonSerializer.object (D:\github\angular-cli\addon\ng2\models\json-schema\serializer.ts:88:9)
at ObjectSchemaTreeNode.serialize (D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:227:20)
at D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:293:33
at JsonSerializer.array (D:\github\angular-cli\addon\ng2\models\json-schema\serializer.ts:107:9)
at ArraySchemaTreeNode.serialize (D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:291:20)
at D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:231:92
at JsonSerializer.property (D:\github\angular-cli\addon\ng2\models\json-schema\serializer.ts:100:9)
at _loop_1 (D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:231:36)
at D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:240:17
at JsonSerializer.object (D:\github\angular-cli\addon\ng2\models\json-schema\serializer.ts:88:9)
at RootSchemaTreeNode.ObjectSchemaTreeNode.serialize (D:\github\angular-cli\addon\ng2\models\json-schema\schema-tree.ts:227:20)
at GeneratedSchemaClass.SchemaClassBase.$$serialize (D:\github\angular-cli\addon\ng2\models\json-schema\schema-class-factory.ts:141:25)
- Mention any other details that might be useful.
Thanks! We'll be in touch soon.
Windows 10 (x64)
ng --version. If there's nothing outputted, please runin a Terminal:
node --versionand paste the result here:do on your code? etc.
Crete a new project using:
ng new Teste --style=sassthen run
ng set defaults.styleExt scssmore information.