nrwl / nx-azure-build

Example of setting up distributed Azure build for Nx workspace
113 stars 38 forks source link

Building Angular Package -> files.flatMap is not a function #34

Open hmendezm opened 2 years ago

hmendezm commented 2 years ago

I get the error below and I am not sure what is causing it. If I run the command in vs code, it works but when the pipeline is running, this stops working and I got the error below. I am using your yml and scripts


 >  NX   Running target build for 4 project(s) and 4 task(s) they depend on:

    - sharedcomponents
    - dashboard
    - targetarea
    - board-questions

> nx run reusable:build:production

Building Angular Package
files.flatMap is not a function

 >  NX   Running target "build" failed