Closed Domratchev closed 5 years ago
I've begun working on converting the builders over to the new API (aka, I have Cypress done). For now, hold off on upgrading to @angular/cli@8.0.0
.
I just upgraded my nwrl repo, and I still have the problem :
ng update @angular/core @angular/cli
ng test
-> Could not find the implementation for builder @nrwl/builders:jest
.
Should I downgrade until this is fixed, or can it be updated later on ?@GrandSchtroumpf Nrwl package structure is different now. You need to use @nrwl/jest:jest there. Here are the details: https://github.com/nrwl/nx/blob/master/docs/guides/nx7-to-nx8.md
Oh ok great, thx.
@Domratchev reading the guide nx7-to-nx8 helped me solve all the issues I was having. Thank you.
Closing this as we migrated all existing builders to the new API.
For anyone upset that the above link doesn't work, it's now here: https://nx.dev/angular/guides/nx7-to-nx8
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Expected Behavior
Nx builders to work with Angular CLI v8
Current Behavior
Nx builders are incompatible with @angular-devkit/architect@0.800.0.beta-11
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
ng test
Could not find the implementation for builder @nrwl/builders:jest
errorContext
Please provide any relevant information about your setup:
Other
A brute-force approach of changing builders.json to include "implementation": "./jest/jest.builder" property does not work. It results in another error:
Builder is not a builder
. The builders are completely redone in the new Angular CLI architecture.Here is the documentation for new Architect API: https://docs.google.com/document/d/1SpN_2XEooI9_CPjqspAcNEBjVY874OWPZqOenjuF0qo/view