Skip to content

"Cannot read property 'Workspace' of undefined" after upgrading to Angular v11 #119

Closed
@TonySpegel

Description

@TonySpegel

Hi after upgrading Angular to v11 I've got this error:

> ng deploy --base-href=/test-project/ --no-silent

❌ An error occurred when trying to deploy:
Cannot read property 'Workspace' of undefined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! test-project@0.0.0 deploy: `ng deploy --base-href=/test-project/ --no-silent`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the test-project@0.0.0 deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I'm sorry if isn't related to the update but it has been working before that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions