I have a Frontend Javascript project, written with Nuxt.
It builds fine on Windows 8.1 with Node JS 10.4.0, and also on Ubuntu 16.0.4 with the same version of Node.
But for some reason, it does not build with the following Pipeline config:
```
pipelines:
default:
- step:
name: Build
image: node:10.4.0
script:
- npm install --verbose
- npm run build --verbose
- ls -lsa
artifacts:
- dist/**
- step:
name: Deploy
image: cytopia/ansible:latest-aws
script:
- ansible-playbook -i ./deploy/hosts/local ./deploy/deploy-to-spaces.yml --extra-vars "key=$SPACES_KEY secret=$SPACES_SECRET"
```
No error is registered when the Pipeline process is complete, and there is no error in the logs for either Pipeline step. And as the project builds in multiple environments without fail, I suspect this is a Pipeline specific bug.
Note the `ls -lsa` command in the `Build` step. It produces a complete list of files, but the `dist` folder is not present.
Are there any workarounds? Or am I missing a step somewhere?
As far as I know, dist-folder is created with 'nuxt generate' command. 'nuxt build' creates a .nuxt/ dir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.