-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular 12 Schematics throws error: Cannot find module 'bluebird' #20685
Comments
From the log output, it appears that the
|
Adding @nitayneeman to this thread since they're the maintainer of Nitay, do you have a plan to make things work with Angular 12? |
@mraible There is a plan to upgrade the dependencies to v10 but just bumping them isn't so straightforward since there were breaking changes. It can be considered to align with v12 directly but again depending on the amount of breaking changes/complexity they bring up. Probably will happen in the next major version of Honestly my capacity is pretty limited, so any help would be much appreciated. |
Closing this issue. Since this is not actionable by the Angular tooling team. |
@nitayneeman Thanks for your honesty. I think I can remove |
Please be aware that both of the below entrypoints are private APIs and can be changed or removed without warning at anytime include private versions. Moreover, the CDK is not meant to be used in Schematics. It’s intention is to be used for component development. In this case you are just using a private utility function that is using in their schematics. import { addPackageJsonDependency, NodeDependency, NodeDependencyType } from '@schematics/angular/utility/dependencies';
import { addModuleImportToModule } from '@angular/cdk/schematics'; |
@alan-agius4 Thanks for the advice. I believe schematics-utilities just copies those classes and freezes them in a sense. Hopefully, with OktaDev's Schematics robust CI process, I'll be notified when the CDK changes anything. In the meantime, are you aware of any public utilities that make it easy to add a module import to a module? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes.
Description
I created OktaDev Schematics as a way to add authentication with Okta to new apps that are created with a framework's respective CLI (e.g., Angular CLI, Create React App, Vue CLI, etc.).
Yesterday, I discovered it doesn't work with Angular CLI v12 RC1.
🔬 Minimal Reproduction
Steps to reproduce:
It doesn't happen if I use Angular CLI v11.2.11.
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
I commented here yesterday, but figured it might be better to open a new issue.
/cc @mgechev
The text was updated successfully, but these errors were encountered: