Closed Daniel-Mendes closed 4 years ago
Work around:
I installed npx as dev dependency
And in pipeline node_modules/.bin/npx stylelint resources/sass/**/*.scss
hi @Daniel-Mendes are you still facing this problem?
I don't remember, i need to try again.
ok, if still happen please open up another issue, thanks!
How can I use npx in my pipeline to run
npx stylelint resources/sass/**/*.scss
?I have the error
/bin/bash: line 95: npx: command not found
I try
npm install -g npx
in before_script, but I gotnpm WARN checkPermissions Missing write access to /usr/lib
Do I have to add npx to my package.json
PS: I use
image: edbizarro/gitlab-ci-pipeline-php:7.4-alpine