Cd pri 1.x or 0.x project, and run:
npx pri-migrate-one-to-two
And reinstall node_modules.
Migrate pri 1.x to 2.x