- Node version 16 or later
- Yarn
-
Get a Github access token
-
Create .yarnrc.yml at home dir
-
Add config below
npmScopes: 6thpath: npmRegistryServer: "https://npm.pkg.github.com/" npmRegistries: "https://npm.pkg.github.com/": npmAuthToken: <github-access-token>
yarn install
-
Cleanup repo, delete all node_modules and dist/build folder
yarn clean