Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reset script from package.json does not work hyperledger-cacti#1656
fixes: hyperledger-cacti#1656 Upon reading further about yarn.lock, del-cli yarn.lock wasn't needed and may cause problems. Letting yarn update the yarn.lock file is the better way in terms of updating dependencies. (https://classic.yarnpkg.com/en/docs/yarn-lock/#toc-managed-by yarn : # Managed by Yarn) (https://stackoverflow.com/questions/60509429/is-it-a-good-idea-to-delete-yarn-lock-and-generate-it-again-by-running-yarn-inst) (https://stackoverflow.com/questions/41126217/how-to-sync-yarn-lock-with-package-json) Testing has also been done in terms of using "del-cli '**/node_modules'" and reinstalling it. yarn del-cli emptied node_modules. yarn install --update-checksum --force checks yarn.lock and updates it necessarily and also installs node_modules together. yarn configure configured the package and outputs all lerna success. yarn reset is also reusable even after using yarn reset once unlike the other solutions implemented. Signed-off-by: ruzell22 <[email protected]>
- Loading branch information