Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion altair_saver/savers/_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def npm_bin(global_: bool) -> str:
npm = shutil.which("npm")
if not npm:
raise ExecutableNotFound("npm")
cmd = [npm, "bin"]
cmd = [npm, "root"]
if global_:
cmd.append("--global")
return check_output_with_stderr(cmd).decode().strip()
Expand Down