Well, at least this thread will be a great resource for anybody else with a similar problem, because they’ll easily find it by searching for the text of their error message.
Oh wait, no it won’t, because all the relevant info is unsearchable due to being posted as worthless images.
I’ll post it as text.
Error:
Unhandled Promise rejection: No ErrorHandler. Is platform module (BrowserModule) included? ; Zone: ; Task: Promise.then ; Value: Error: No ErrorHandler. Is platform module (BrowserModule) included?
at g (polyfills.js:3)
at main.js:5050
at t.invoke (polyfills.js:3)
at Object.onInvoke (main.js:4424)
at t.invoke (polyfills.js:3)
at n.run (polyfills.js:3)
at NgZone.run (main.js:4293)
at PlatformRef_.
bootstrapModuleFactoryWithZone (main.js:5045)
at main.js:5087
at t.invoke (polyfills.js:3)
at n.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at n.runTask (polyfills.js:3)
at a (polyfills.js:3) Error: No ErrorHandler. Is platform module (BrowserModule) included?
at g (
http://localhost:8100/build/polyfills.js:3:7133
)
at
http://localhost:8100/build/main.js:5050:23
at t.invoke (
http://localhost:8100/build/polyfills.js:3:14529
)
at Object.onInvoke (
http://localhost:8100/build/main.js:4424:37
)
at t.invoke (
http://localhost:8100/build/polyfills.js:3:14469
)
at n.run (
http://localhost:8100/build/polyfills.js:3:9741
)
at NgZone.run (
http://localhost:8100/build/main.js:4293:62
)
at PlatformRef
.
bootstrapModuleFactoryWithZone (
http://localhost:8100/build/main.js:5045:23
)
at
http://localhost:8100/build/main.js:5087:59
at t.invoke (
http://localhost:8100/build/polyfills.js:3:14529
)
at n.run (
http://localhost:8100/build/polyfills.js:3:9741
)
at
http://localhost:8100/build/polyfills.js:3:6774
at t.invokeTask (
http://localhost:8100/build/polyfills.js:3:15213
)
at n.runTask (
http://localhost:8100/build/polyfills.js:3:10390
)
at a (
http://localhost:8100/build/polyfills.js:3:5313
)
o @ polyfills.js:3
polyfills.js:3 Error: Uncaught (in promise): Error: No ErrorHandler. Is platform module (BrowserModule) included?
Error: No ErrorHandler. Is platform module (BrowserModule) included?
at g (polyfills.js:3)
at main.js:5050
at t.invoke (polyfills.js:3)
at Object.onInvoke (main.js:4424)
at t.invoke (polyfills.js:3)
at n.run (polyfills.js:3)
at NgZone.run (main.js:4293)
at PlatformRef
.
bootstrapModuleFactoryWithZone (main.js:5045)
at main.js:5087
at t.invoke (polyfills.js:3)
at n.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at n.runTask (polyfills.js:3)
at a (polyfills.js:3)
at g (polyfills.js:3)
at main.js:5050
at t.invoke (polyfills.js:3)
at Object.onInvoke (main.js:4424)
at t.invoke (polyfills.js:3)
at n.run (polyfills.js:3)
at NgZone.run (main.js:4293)
at PlatformRef
._bootstrapModuleFactoryWithZone (main.js:5045)
at main.js:5087
at t.invoke (polyfills.js:3)
at n.run (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at n.runTask (polyfills.js:3)
at a (polyfills.js:3)
at g (polyfills.js:3)
at l (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at n.runTask (polyfills.js:3)
at a (polyfills.js:3)
o @ polyfills.js:3
Thanks for replying,
I create new app then I took the related functions.
The problem I think in platform because when I run “ionic build” says "You cannot run iOS unless you are on Mac OSX."
When I saw this, I run this “ionic platform add browser” then "ionic build"
Still get errors.
I don’t why should I use Mac.