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:
If you are migrating an old workspace (nx or xplat) and encounter this error:
It is likely that you need to add
tsconfig.base.json
and have atsconfig.json
as well. If your workspace has atsconfig.json
simply rename it totsconfig.base.json
and then create atsconfig.json
with these contents:That should allow the migration to continue.
Also a note that you should always migrate Nx first:
Then migrate xplat: