Are you getting the error Caching failed for pack: Error: Unexpected end of object at position 70006
- Apparently something doesn't install when you run with an older Node.js version. So you need to first check if you're using the latest version of Node.js
- After upgrading to latest Node.js delete
package-lock.jsonand node_modules - Run
npm installagain.- The process may fail due to legacy packages if so add the --legacy-peer-deps
- So run
npm install --legacy-peer-deps
- The same package.json will install slightly differently switching from Node.js v12 to Node.js v15 as I just observed. This is why you have to complete not just step 1, but also steps 2 & 3
Yay! No warnings!