try usr bin sudo
"nbstripout:install": "pip install nbstripout && nbstripout --install",
"netlify": "yarn netlify:install && yarn netlify:build",
"netlify:build": "yarn tree && sphinx-build -W docs docs/_build/html",
- "netlify:install": "sudo apt-get install -y graphviz && yarn install:prod && yarn pip:install:docs",
+ "netlify:install": "/usr/bin/sudo apt-get install -y graphviz && yarn install:prod && yarn pip:install:docs",
"postversion": "yarn lerna run postversion --concurrency 1 && python -m pymedphys_monomanage.propagate.dependencies",
"pip:install:dev": "yarn lerna run pip:install:dev --scope=pymedphys",
"pip:install:dev:test": "yarn lerna run pip:install:dev:test --scope=pymedphys",
