Cant get nuxt-eslint to work on bitbucket pipelines
Hello! Could anyone help me with setting up nuxt on bitbucket pipelines?
A step of my pipeline is npm run lint (it runs after npm install)
but when the lint runs, it throws this error:
I tried it locally, in windows, and on ubuntu, and in both the lint worked fine
what can it be?
1 Reply
Add
- npm install
before - npm run lint
also.
You’re caching node, but that doesn’t place the node modules into your step. You still need to run install, so it knows to install from cache if it exists.
Hope that makes sense