yarn install --frozen code example
Example 1: yarn frozen lockfile
yarn install --frozen-lockfile
Example 2: yarn install no optional
yarn install --ignore-optional
yarn install --frozen-lockfile
yarn install --ignore-optional