When using taro to install dependent packages, NPM ERR is a common occurrence! The code EINTEGRITY problem is probably caused by the NPM local cache.
- Delete the package.lock.json file (if you do not want to change this file, restore it after loading)
- NPM cache clean –force NPM cache clean –force NPM cache clean –force
- NPM I reinstall
Pro-test effective ~