Node
Utilities for managing Node.js packages.
- logikal_utils.node.install_packages(prefix: Path) None
Install Node.js packages.
- Parameters:
prefix – The directory prefix to use for
node_modules. It must exist and contain apackage.jsonandpackage-lock.jsonfile.
Tip
The lockfile can be generated by executing the following:
rm -rf node_modules/ package-lock.json npm install --package-lock-only