Description
Eriks-Air:neonwallet erik$ ./node_modules/.bin/patch-package react-navigation
ERROR No package-lock.json, npm-shrinkwrap.json, or yarn.lock file.
You must use either npm@>=5, yarn, or npm-shrinkwrap to manage this project's
dependencies.Eriks-Air:neonwallet erik$ npm -v
5.4.2
Also likely related:
Eriks-Air:neonwallet erik$ npm -v
5.4.2
Eriks-Air:neonwallet erik$ grep "prepare" package.json
"prepare": "patch-package"
Eriks-Air:neonwallet erik$ npm prepare -- react-navigationUsage: npm
where is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
explore, get, help, help-search, i, init, install,
install-test, it, link, list, ln, login, logout, ls,
outdated, owner, pack, ping, prefix, prune, publish, rb,
rebuild, repo, restart, root, run, run-script, s, se,
search, set, shrinkwrap, star, stars, start, stop, t, team,
test, tst, un, uninstall, unpublish, unstar, up, update, v,
version, view, whoaminpm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overviewSpecify configs in the ini-formatted file:
/Users/erik/.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help confignpm@5.4.2 /usr/local/lib/node_modules/npm
I've followed all the instructions as far as I can see. I also can't really tell why it's failing. Any help/tips are appreciated