We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have this very basic script
folder="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" mkdir -p "$folder"/rawdata mkdir -p "$folder"/processing npm list -g --depth=0 rm "$folder"/rawdata/"$reg".png capture-website --delay 5 --full-page --width 1280 --height 720 --output "$folder"/rawdata/"$reg".png "https://ondata.github.io/vaccinipertutti/?area=SIC"
I run it using this github workflow (it's Ubuntu 20.04.2 LTS), in which I set capture-website-cli installation in this way
mkdir ~/.npm-global npm config set prefix '~/.npm-global' export PATH=~/.npm-global/bin:$PATH source ~/.profile NPM_CONFIG_PREFIX=~/.npm-global npm install -g capture-website
But when the script runs I have this error:
./test.sh: line 13: capture-website: command not found
It seems that it has been not installed in ~/.npm-global. If I run find /home/runner -executable -name capture-website I have
~/.npm-global
find /home/runner -executable -name capture-website
/home/runner/.npm-global/lib/node_modules/capture-website
Do you have some advice to solve my problem?
Thank you
The text was updated successfully, but these errors were encountered:
I would try asking in https://github.community/c/software-development/47 Your question is about npm, not specifically this package.
npm
Sorry, something went wrong.
No branches or pull requests
Hi,
I have this very basic script
I run it using this github workflow (it's Ubuntu 20.04.2 LTS), in which I set capture-website-cli installation in this way
But when the script runs I have this error:
It seems that it has been not installed in
~/.npm-global
.If I run
find /home/runner -executable -name capture-website
I haveDo you have some advice to solve my problem?
Thank you
The text was updated successfully, but these errors were encountered: