Open thebrianbug opened 2 years ago
Until I get past this Schematic "init" cannot resolve the factory.
bug, I can't successfully install this package to give it a try 🤷
Advice appreciated. I don't want to maintain a fork of serverless-plugin-optimize indefinitely
I also attempted this in my main project repo (the one I am currently deploying with a fork of serverless-plugin-optimize). I got the same error
$ npm install @flowaccount/nx-serverless && npx nx g @flowaccount/nx-serverless:ng-add
...
# (npm install warnings, but it does install successfully)
Schematic "init" cannot resolve the factory.
@bmcilw1 npx nx g @flowaccount/nx-serverless:ng-add
used to support adding to angular unviersal.
I would recommend not to use it, I will find a way to bring it back for api-serverless
mean while can you do yarn nx g @flowaccount/nx-serverless:api-serverless
and let me know if it works?
it works here on my side but only before nx-13
which i tried to migrate but got stuck at webpack-5
version of types and how its being used in the package service.
Describe the bug This is a recurrence of the bug reported at https://github.com/flowaccount/nx-plugins/issues/66
To Reproduce
See the bottom of the above, clipped for easy reading:
Expected behavior Should install without issues, especially for the recommended path for install
Check which provider is affected: [x] AWS [x] Azure [x] Google Cloud Platform
Check which framework is affected: [] Angular [] Nodejs [x] Serverless [] Lambda [] Infrastructure as a code
Additional context