We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1df4df commit 9520f4bCopy full SHA for 9520f4b
src/schematics/ng-add.ts
@@ -37,6 +37,19 @@ export const setupProject =
37
export const ngAddSetupProject = (
38
options: DeployOptions
39
) => async (host: Tree, context: SchematicContext) => {
40
+
41
+ // HACK HACK HACK
42
+ // I'm still not able to resolve bluebird.... this is definately some sort
43
+ // of race condition.
44
+ await new Promise<void>(resolve => {
45
+ setTimeout(() => {
46
+ try {
47
+ require('bluebird');
48
+ resolve();
49
+ } catch (e) { }
50
+ }, 100);
51
+ });
52
53
const projects = await listProjects();
54
const { firebaseProject } = await projectPrompt(projects);
55
const { project } = getProject(options, host);
0 commit comments