Skip to content

Note: Useful tip on migrating your workspace #274

Open
@NathanWalker

Description

@NathanWalker

If you are migrating an old workspace (nx or xplat) and encounter this error:

Cannot read property 'content' of null
/path/to/workspace/node_modules/yargs/build/lib/yargs.js:1132
                throw err;

It is likely that you need to add tsconfig.base.json and have a tsconfig.json as well. If your workspace has a tsconfig.json simply rename it to tsconfig.base.json and then create a tsconfig.json with these contents:

{
    "extends": "./tsconfig.base.json"
}

That should allow the migration to continue.

Also a note that you should always migrate Nx first:

nx migrate latest

Then migrate xplat:

nx migrate @nstudio/xplat

Metadata

Metadata

Assignees

No one assigned

    Labels

    developer noteNotes to help those who may be having trouble

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions