Closed brooketopcoder closed 2 years ago
When devs update the package-lock.json file during local development, it can use the wrong version of npm for CircleCI and the build will fail.
Troubleshooting the version and getting the build to use the correct version was proving difficult.
By removing the package-lock.json file from source control and skipping the restore cache step, the build runs successfully.
At the same time, I updated the git source, which reduced the build time by 5 mins.
When devs update the package-lock.json file during local development, it can use the wrong version of npm for CircleCI and the build will fail.
Troubleshooting the version and getting the build to use the correct version was proving difficult.
By removing the package-lock.json file from source control and skipping the restore cache step, the build runs successfully.
At the same time, I updated the git source, which reduced the build time by 5 mins.