Getting this build error and can't find anything on online about it?


#1

While processing files with urigo:angular2-meteor (for target os.windows.x86_32):
C:\tools\isobuild\compiler-plugin.js:418:13: Document sections can only be emitted to web targets
at [object Object]..extend.addHtml (C:\tools\isobuild\compiler-plugin.js:418:13)
at [object Object].
.extend.addHtml (C:\tools\isobuild\compiler-plugin.js:294:24)
at HtmlExtensionCompiler.addCompileResult (compilers/html_compiler.js:61:10)
at caching-compiler.js:305:14
at
C:\Users\jcbasson\AppData\Local.meteor\packages\urigo_angular2-meteor\0.2.6\plugin.Compilers.os\npm\caching-compiler\node_modules\async\lib\async.js:182:20
at replenish
(C:\Users\jcbasson\AppData\Local.meteor\packages\urigo_angular2-meteor\0.2.6\plugin.Compilers.os\npm\caching-compiler\node_modules\async\lib\async.js:317:21)
at
C:\Users\jcbasson\AppData\Local.meteor\packages\urigo_angular2-meteor\0.2.6\plugin.Compilers.os\npm\caching-compiler\node_modules\async\lib\async.js:328:15
at Object.async.forEachLimit.async.eachLimit
(C:\Users\jcbasson\AppData\Local.meteor\packages\urigo_angular2-meteor\0.2.6\plugin.Compilers.os\npm\caching-compiler\node_modules\async\lib\async.js:221:35)
at HtmlExtensionCompiler.processFilesForTarget (caching-compiler.js:277:11)
at HtmlExtensionCompiler.processFilesForTarget (compilers/ng_caching_compiler.js:17:32)
at HtmlCompiler.processFilesForTarget (compilers/html_compiler.js:35:33)

=> Your application has errors. Waiting for file change.


#2

I have an idea that it might be because I am using windows10, but that is just a hunch…


#3

You are correct, a statement in one of the official meteor tutorials says the following:

Currently, Meteor on Windows does not support mobile builds. If you are using Meteor on Windows, you should skip this step.

So there you go!