From d1df8be75669714a01556eab804b9a8cef53a0d4 Mon Sep 17 00:00:00 2001 From: Dominique Quatravaux Date: Tue, 2 May 2023 15:57:35 +0200 Subject: [PATCH] [fix] Show erro upon failing to `require()`the compiler I'm witnessing a resurgence of something that has the same symptoms as #1934, yet I followed all the instructions there. I assume that the to-do item of https://github.com/Urigo/angular-meteor/issues/1934#issuecomment-403664875 fell through the cracks. --- atmosphere-packages/angular-compilers/plugin/register.js | 1 + 1 file changed, 1 insertion(+) diff --git a/atmosphere-packages/angular-compilers/plugin/register.js b/atmosphere-packages/angular-compilers/plugin/register.js index c8ee328e2..200e84acd 100644 --- a/atmosphere-packages/angular-compilers/plugin/register.js +++ b/atmosphere-packages/angular-compilers/plugin/register.js @@ -27,6 +27,7 @@ try{ compilerCli = require('@angular/compiler-cli'); } }catch(e){ + console.error(e); console.log('@angular/compiler and @angular/compiler-cli must be installed for AOT compilation!'); console.log('AOT compilation disabled!'); console.log('Ignore this if you are using AngularJS 1.X');