simondotm / nx-firebase

Firebase plugin for Nx Monorepos
https://www.npmjs.com/package/@simondotm/nx-firebase
MIT License
175 stars 31 forks source link

Missing dependency for @angular-devkit/schematics #42

Closed supernaut closed 1 year ago

supernaut commented 2 years ago

I added nx-firebase to an existing Nx repo with a react app in it. When trying to run the build command for the firebase app it fails with the error:

Cannot find module '@angular-devkit/schematics'

If I manually add the package to my projects dev-dependencies the build script works.

RandomDude123 commented 2 years ago

Ran into the same issue with an existing Nx repo with a next.js app. Fixed it manually by running npm i @angular-devkit/schematics --save-dev

simondotm commented 1 year ago

I believe this would have been a legacy Nx issue, the latest Nx versions have a new CLI that decorates the angular CLI differently, and the latest version of the plugin build executor no longer calls convertNxExecutor which I think has something to do with the angular devkit.