nx-firebase icon indicating copy to clipboard operation
nx-firebase copied to clipboard

Missing dependency for @angular-devkit/schematics

Open supernaut opened this issue 3 years ago • 1 comments

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.

supernaut avatar Sep 29 '21 18:09 supernaut

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

RandomDude123 avatar Oct 23 '21 08:10 RandomDude123

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.

simondotm avatar Jan 23 '23 11:01 simondotm