Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng set throws exception #2479

Closed
choeller opened this issue Oct 3, 2016 · 2 comments
Closed

ng set throws exception #2479

choeller opened this issue Oct 3, 2016 · 2 comments

Comments

@choeller
Copy link

choeller commented Oct 3, 2016

OS?

Linux Mint

Versions.

beta.16

Repro steps.

Calling ng set defaults.styleExt scss in a project generated by the CLI leads to the exception printed below

The log given by the failure.

Cannot read property 'serialize' of undefined
TypeError: Cannot read property 'serialize' of undefined
    at /home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:238:87
    at JsonSerializer.property (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/serializer.js:100:9)
    at _loop_1 (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:238:32)
    at /home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:243:17
    at JsonSerializer.object (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/serializer.js:88:9)
    at ObjectSchemaTreeNode.serialize (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:227:20)
    at /home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:234:92
    at JsonSerializer.property (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/serializer.js:100:9)
    at _loop_1 (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:234:36)
    at /home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:243:17
    at JsonSerializer.object (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/serializer.js:88:9)
    at ObjectSchemaTreeNode.serialize (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:227:20)
    at /home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:296:33
    at JsonSerializer.array (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/serializer.js:107:9)
    at ArraySchemaTreeNode.serialize (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:294:20)
    at /home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:234:92
    at JsonSerializer.property (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/serializer.js:100:9)
    at _loop_1 (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:234:36)
    at /home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:243:17
    at JsonSerializer.object (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/serializer.js:88:9)
    at RootSchemaTreeNode.ObjectSchemaTreeNode.serialize (/home/christoph/.nvm/versions/node/v5.11.0/lib/node_modules/angular-cli/models/json-schema/schema-tree.js:227:

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

@JanStureNielsen
Copy link

Dup of #1900

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants