I'm trying to install the push-dir package with the npm cli below:
push-dir --dir=dist --branch=gh-pages --cleanup
After installing and trying to call with:
push-dir --dir=build --branch=gh-pages
Apparently it installs because it gives the following message
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) + [email protected] updated 1 package in 12.694s [!] 7 vulnerabilities found [33335 packages audited] Severity: 1 low | 1 moderate | 4 high | 1 critical Run 'npm audit' for more detail
But when I try to run it gives the following error:
bash: push-dir: command not found