Where is the package-lock.json file meant to be ?
-
To update packages, you must first remove any existing package-lock.json file from your Reactor install directory, and then run npm i --no-save --omit dev
I can't see one in the main Reactor folder.
So I searched the whole system, which found some of those files in various directories.
Please advise.
Thank you.
-
The only
package-lock.json
file you should ever remove, unless told do so elsewhere, is the one in the Reactor install directory. And in fact, if you are doing the updates, correctly, that file will never be created in the Reactor install directory. If you omit the--no-save
option, however, it will be created, so I give that instruction as a backup in case it has happened in the past.For other directories, the respective app/package maintainers will guide you on the lockfile.
-
Yes. It seems the teething pains caused by my refactoring of predicates have settled down.
The
package.json
is a necessary file that tellsnpm
what Reactor's dependencies are, so don't remove that one, just the one with-lock
in its name.