Version 1.1.3 build errors

Hi,
As of last week I’m using Angular Meteor version 1.1.3
As of today, without doing any code change, I start to get meteor build error as follow:

C:\meteor\brgo>meteor
[[[[[ C:\meteor\brgo ]]]]]

=> Started proxy.
=> Started MongoDB.
W20160410-20:23:59.209(3)? (STDERR)
W20160410-20:23:59.209(3)? (STDERR) C:\Users\hadar\AppData\Local.meteor\packages\meteor-tool\1.3.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
W20160410-20:23:59.209(3)? (STDERR) throw(ex);
W20160410-20:23:59.209(3)? (STDERR) ^
W20160410-20:23:59.209(3)? (STDERR) ReferenceError: document is not defined
W20160410-20:23:59.209(3)? (STDERR) at app\git\gitweb\static\js\lib\common-lib.js:146:35
W20160410-20:23:59.209(3)? (STDERR) at app\git\gitweb\static\js\lib\common-lib.js:224:4
W20160410-20:23:59.209(3)? (STDERR) at C:\meteor\brgo.meteor\local\build\programs\server\boot.js:283:10
W20160410-20:23:59.209(3)? (STDERR) at Array.forEach (native)
W20160410-20:23:59.209(3)? (STDERR) at Function..each..forEach (C:\Users\hadar\AppData\Local.meteor\packages\meteor-tool\1.3.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160410-20:23:59.209(3)? (STDERR) at C:\meteor\brgo.meteor\local\build\programs\server\boot.js:133:5
=> Exited with code: 8
W20160410-20:24:09.944(3)? (STDERR)
W20160410-20:24:09.944(3)? (STDERR) C:\Users\hadar\AppData\Local.meteor\packages\meteor-tool\1.3.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
W20160410-20:24:09.944(3)? (STDERR) throw(ex);
W20160410-20:24:09.944(3)? (STDERR) ^
W20160410-20:24:09.944(3)? (STDERR) ReferenceError: document is not defined
W20160410-20:24:09.944(3)? (STDERR) at app\git\gitweb\static\js\lib\common-lib.js:146:35
W20160410-20:24:09.944(3)? (STDERR) at app\git\gitweb\static\js\lib\common-lib.js:224:4
W20160410-20:24:09.944(3)? (STDERR) at C:\meteor\brgo.meteor\local\build\programs\server\boot.js:283:10
W20160410-20:24:09.944(3)? (STDERR) at Array.forEach (native)
W20160410-20:24:09.944(3)? (STDERR) at Function..each..forEach (C:\Users\hadar\AppData\Local.meteor\packages\meteor-tool\1.3.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160410-20:24:09.944(3)? (STDERR) at C:\meteor\brgo.meteor\local\build\programs\server\boot.js:133:5
=> Exited with code: 8
W20160410-20:24:21.535(3)? (STDERR)
W20160410-20:24:21.535(3)? (STDERR) C:\Users\hadar\AppData\Local.meteor\packages\meteor-tool\1.3.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
W20160410-20:24:21.535(3)? (STDERR) throw(ex);
W20160410-20:24:21.535(3)? (STDERR) ^
W20160410-20:24:21.535(3)? (STDERR) ReferenceError: document is not defined
W20160410-20:24:21.535(3)? (STDERR) at app\git\gitweb\static\js\lib\common-lib.js:146:35
W20160410-20:24:21.535(3)? (STDERR) at app\git\gitweb\static\js\lib\common-lib.js:224:4
W20160410-20:24:21.535(3)? (STDERR) at C:\meteor\brgo.meteor\local\build\programs\server\boot.js:283:10
W20160410-20:24:21.535(3)? (STDERR) at Array.forEach (native)
W20160410-20:24:21.535(3)? (STDERR) at Function..each..forEach (C:\Users\hadar\AppData\Local.meteor\packages\meteor-tool\1.3.1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160410-20:24:21.535(3)? (STDERR) at C:\meteor\brgo.meteor\local\build\programs\server\boot.js:133:5
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.

I need help to understand what is the build problem?

Can you confirm the version of angular-meteor? I think it’s 1.3.9_2 now.

The versions are:
angular@1.3.9_2
angular-meteor-data@1.3.9_2
angular-templates@1.0.2
angular:angular@1.4.8
angularui:angular-ui-bootstrap@0.13.0
angularui:angular-ui-router@0.2.15
meteor@1.1.13
meteor-base@1.0.3

You’re not doing an

import angular from 'angular'

on any of your server code are you?

Based on the following lines:

W20160410-20:23:59.209(3)? (STDERR) ReferenceError: document is not defined
W20160410-20:23:59.209(3)? (STDERR) at C:\meteor\brgo.meteor\local\build\programs\server\boot.js:133:5

You are absolutely correct, I don’t use any import, not for angular, not for for angular-meteor and not for angular-ui-router.
I will add those and check if it solve the problem.
What supersized me that this problem start suddenly without me doing any code change, up util yesterday I had no problem with the build.
Thanks for the information

@trajano it didn’t work
I did add import both for angular and angular-meteor in the app.js where I define the angular module and I still getting those error message in the build.
Any other direction I should look into?