Closed TheDevelolper closed 7 years ago
Also your plnkr page shows a black screen with no object loaded. https://plnkr.co/edit/I4lIyA?p=preview
getting 14 errors in the console window:
VM466 app.ts!transpiled:35 start
VM486 viewer3D.component.js:29 Object {}
VM486 viewer3D.component.js:30 Object {}
VM486 viewer3D.component.js:31 Object {}
VM486 viewer3D.component.js:32 Object {}
VM467 three.js:19802 THREE.WebGLRenderer 84
VM467 three.js:20022 THREE.WebGLRenderer: Error creating WebGL context.
WebGLRenderer @ VM467 three.js:20022
Viewer3DComponent.ngOnInit @ VM486 viewer3D.component.js:47
Wrapper_Viewer3DComponent.ngDoCheck @ VM502 wrapper.ngfactory.js:72
View_App0.detectChangesInternal @ VM505 component.ngfactory.js:52
AppView.detectChanges @ VM463 core.umd.js:12208
DebugAppView.detectChanges @ VM463 core.umd.js:12355
AppView.internalDetectChanges @ VM463 core.umd.js:12193
View_AppHost0.detectChangesInternal @ VM506 host.ngfactory.js:29
AppView.detectChanges @ VM463 core.umd.js:12208
DebugAppView.detectChanges @ VM463 core.umd.js:12355
ViewRef.detectChanges @ VM463 core.umd.js:9377
(anonymous) @ VM463 core.umd.js:8301
ApplicationRef.tick @ VM463 core.umd.js:8301
ApplicationRef.loadComponent @ VM463 core.umd.js:8276
ApplicationRef.bootstrap @ VM463 core.umd.js:8264
(anonymous) @ VM463 core.umd.js:8093
PlatformRef_._moduleDoBootstrap @ VM463 core.umd.js:8093
(anonymous) @ VM463 core.umd.js:8045
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:242
onInvoke @ VM463 core.umd.js:3980
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:241
Zone.run @ zone.js@0.7.4?main=browser:113
(anonymous) @ zone.js@0.7.4?main=browser:520
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
drainMicroTaskQueue @ zone.js@0.7.4?main=browser:418
ZoneTask.invoke @ zone.js@0.7.4?main=browser:349
VM463 core.umd.js:3064 EXCEPTION: Error in ./App class App - inline template:1:20 caused by: Cannot read property 'getExtension' of null
ErrorHandler.handleError @ VM463 core.umd.js:3064
(anonymous) @ VM463 core.umd.js:7954
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:242
onInvoke @ VM463 core.umd.js:3980
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:241
Zone.run @ zone.js@0.7.4?main=browser:113
(anonymous) @ zone.js@0.7.4?main=browser:520
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
drainMicroTaskQueue @ zone.js@0.7.4?main=browser:418
ZoneTask.invoke @ zone.js@0.7.4?main=browser:349
VM463 core.umd.js:3066 ORIGINAL EXCEPTION: Cannot read property 'getExtension' of null
ErrorHandler.handleError @ VM463 core.umd.js:3066
(anonymous) @ VM463 core.umd.js:7954
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:242
onInvoke @ VM463 core.umd.js:3980
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:241
Zone.run @ zone.js@0.7.4?main=browser:113
(anonymous) @ zone.js@0.7.4?main=browser:520
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
drainMicroTaskQueue @ zone.js@0.7.4?main=browser:418
ZoneTask.invoke @ zone.js@0.7.4?main=browser:349
VM463 core.umd.js:3069 ORIGINAL STACKTRACE:
ErrorHandler.handleError @ VM463 core.umd.js:3069
(anonymous) @ VM463 core.umd.js:7954
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:242
onInvoke @ VM463 core.umd.js:3980
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:241
Zone.run @ zone.js@0.7.4?main=browser:113
(anonymous) @ zone.js@0.7.4?main=browser:520
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
drainMicroTaskQueue @ zone.js@0.7.4?main=browser:418
ZoneTask.invoke @ zone.js@0.7.4?main=browser:349
VM463 core.umd.js:3070 TypeError: Cannot read property 'getExtension' of null
at Object.get (https://unpkg.com/three/build/three.js:19592:21)
at new WebGLRenderer (https://unpkg.com/three/build/three.js:20028:14)
at Viewer3DComponent.ngOnInit (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:47:25)
at Wrapper_Viewer3DComponent.ngDoCheck (/Editor3DModule/Viewer3DComponent/wrapper.ngfactory.js:72:53)
at CompiledTemplate.proxyViewClass.View_App0.detectChangesInternal (/AppModule/App/component.ngfactory.js:52:31)
at CompiledTemplate.proxyViewClass.AppView.detectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:12208:18)
at CompiledTemplate.proxyViewClass.DebugAppView.detectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:12355:48)
at CompiledTemplate.proxyViewClass.AppView.internalDetectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:12193:22)
at CompiledTemplate.proxyViewClass.View_AppHost0.detectChangesInternal (/AppModule/App/host.ngfactory.js:29:19)
at CompiledTemplate.proxyViewClass.AppView.detectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:12208:18)
at CompiledTemplate.proxyViewClass.DebugAppView.detectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:12355:48)
at ViewRef.detectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:9377:24)
at eval (https://unpkg.com/@angular/core/bundles/core.umd.js:8301:71)
at Array.forEach (native)
at ApplicationRef_.tick (https://unpkg.com/@angular/core/bundles/core.umd.js:8301:29)
ErrorHandler.handleError @ VM463 core.umd.js:3070
(anonymous) @ VM463 core.umd.js:7954
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:242
onInvoke @ VM463 core.umd.js:3980
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:241
Zone.run @ zone.js@0.7.4?main=browser:113
(anonymous) @ zone.js@0.7.4?main=browser:520
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
drainMicroTaskQueue @ zone.js@0.7.4?main=browser:418
ZoneTask.invoke @ zone.js@0.7.4?main=browser:349
VM463 core.umd.js:3073 ERROR CONTEXT:
ErrorHandler.handleError @ VM463 core.umd.js:3073
(anonymous) @ VM463 core.umd.js:7954
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:242
onInvoke @ VM463 core.umd.js:3980
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:241
Zone.run @ zone.js@0.7.4?main=browser:113
(anonymous) @ zone.js@0.7.4?main=browser:520
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
drainMicroTaskQueue @ zone.js@0.7.4?main=browser:418
ZoneTask.invoke @ zone.js@0.7.4?main=browser:349
VM463 core.umd.js:3074 DebugContext {_view: C…e.proxyViewClass, _nodeIndex: 1, _tplRow: 1, _tplCol: 20}
ErrorHandler.handleError @ VM463 core.umd.js:3074
(anonymous) @ VM463 core.umd.js:7954
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:242
onInvoke @ VM463 core.umd.js:3980
ZoneDelegate.invoke @ zone.js@0.7.4?main=browser:241
Zone.run @ zone.js@0.7.4?main=browser:113
(anonymous) @ zone.js@0.7.4?main=browser:520
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
drainMicroTaskQueue @ zone.js@0.7.4?main=browser:418
ZoneTask.invoke @ zone.js@0.7.4?main=browser:349
zone.js@0.7.4?main=browser:405 Unhandled Promise rejection: Error in ./App class App - inline template:1:20 caused by: Cannot read property 'getExtension' of null ; Zone:
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleEventTask (https://unpkg.com/zone.js@0.7.4?main=browser:171:39) [angular]
at zoneAwareAddListener (https://unpkg.com/zone.js@0.7.4?main=browser:1075:14) [angular]
at XMLHttpRequest.addEventListener (eval at createNamedFn (https://unpkg.com/zone.js@0.7.4?main=browser:1181:17),
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleEventTask (https://unpkg.com/zone.js@0.7.4?main=browser:171:39) [angular]
at zoneAwareAddListener (https://unpkg.com/zone.js@0.7.4?main=browser:1075:14) [angular]
at XMLHttpRequest.addEventListener (eval at createNamedFn (https://unpkg.com/zone.js@0.7.4?main=browser:1181:17),
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleMicroTask (https://unpkg.com/zone.js@0.7.4?main=browser:165:39) [angular]
at scheduleResolveOrReject (https://unpkg.com/zone.js@0.7.4?main=browser:518:14) [angular]
at resolvePromise (https://unpkg.com/zone.js@0.7.4?main=browser:481:21) [angular]
at https://unpkg.com/zone.js@0.7.4?main=browser:520:17 [angular]
at Object.onInvokeTask (https://unpkg.com/@angular/core/bundles/core.umd.js:3971:41) [angular]
at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.7.4?main=browser:274:40) [angular]
at Zone.runTask (https://unpkg.com/zone.js@0.7.4?main=browser:151:47) [
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleMicroTask (https://unpkg.com/zone.js@0.7.4?main=browser:165:39) [angular]
at scheduleResolveOrReject (https://unpkg.com/zone.js@0.7.4?main=browser:518:14) [angular]
at ZoneAwarePromise.then (https://unpkg.com/zone.js@0.7.4?main=browser:604:17) [angular]
at new ApplicationInitStatus (https://unpkg.com/@angular/core/bundles/core.umd.js:3342:64) [angular]
at AppModuleInjector.createInternal (/AppModule/module.ngfactory.js:121:35) [angular]
at AppModuleInjector.NgModuleInjector.create (https://unpkg.com/@angular/core/bundles/core.umd.js:8474:80) [angular]
at NgModuleFactory.create (https://unpkg.com/@angular/core/bundles/core.umd.js:8448:22) [angular]
at eval (https://unpkg.com/@angular/core/bundles/core.umd.js:8035:65) [angular]
at Object.onInvoke (https://unpkg.com/@angular/core/bundles/core.umd.js:3980:41) [angular]
ErrorHandler.handleError @ VM463 core.umd.js:3070
next @ VM463 core.umd.js:8041
schedulerFn @ VM463 core.umd.js:3689
SafeSubscriber.
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleEventTask (https://unpkg.com/zone.js@0.7.4?main=browser:171:39) [angular]
at zoneAwareAddListener (https://unpkg.com/zone.js@0.7.4?main=browser:1075:14) [angular]
at XMLHttpRequest.addEventListener (eval at createNamedFn (https://unpkg.com/zone.js@0.7.4?main=browser:1181:17),
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleEventTask (https://unpkg.com/zone.js@0.7.4?main=browser:171:39) [angular]
at zoneAwareAddListener (https://unpkg.com/zone.js@0.7.4?main=browser:1075:14) [angular]
at XMLHttpRequest.addEventListener (eval at createNamedFn (https://unpkg.com/zone.js@0.7.4?main=browser:1181:17),
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleMicroTask (https://unpkg.com/zone.js@0.7.4?main=browser:165:39) [angular]
at scheduleResolveOrReject (https://unpkg.com/zone.js@0.7.4?main=browser:518:14) [angular]
at resolvePromise (https://unpkg.com/zone.js@0.7.4?main=browser:481:21) [angular]
at https://unpkg.com/zone.js@0.7.4?main=browser:520:17 [angular]
at Object.onInvokeTask (https://unpkg.com/@angular/core/bundles/core.umd.js:3971:41) [angular]
at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.7.4?main=browser:274:40) [angular]
at Zone.runTask (https://unpkg.com/zone.js@0.7.4?main=browser:151:47) [
at getStacktraceWithUncaughtError (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:33:12) [angular]
at new LongStackTrace (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:27:22) [angular]
at Object.onScheduleTask (https://unpkg.com/zone.js@0.7.7/dist/long-stack-trace-zone.js:83:18) [angular]
at ZoneDelegate.scheduleTask (https://unpkg.com/zone.js@0.7.4?main=browser:252:49) [angular]
at Zone.scheduleMicroTask (https://unpkg.com/zone.js@0.7.4?main=browser:165:39) [angular]
at scheduleResolveOrReject (https://unpkg.com/zone.js@0.7.4?main=browser:518:14) [angular]
at ZoneAwarePromise.then (https://unpkg.com/zone.js@0.7.4?main=browser:604:17) [angular]
at new ApplicationInitStatus (https://unpkg.com/@angular/core/bundles/core.umd.js:3342:64) [angular]
at AppModuleInjector.createInternal (/AppModule/module.ngfactory.js:121:35) [angular]
at AppModuleInjector.NgModuleInjector.create (https://unpkg.com/@angular/core/bundles/core.umd.js:8474:80) [angular]
at NgModuleFactory.create (https://unpkg.com/@angular/core/bundles/core.umd.js:8448:22) [angular]
at eval (https://unpkg.com/@angular/core/bundles/core.umd.js:8035:65) [angular]
at Object.onInvoke (https://unpkg.com/@angular/core/bundles/core.umd.js:3980:41) [angular]
(anonymous) @ VM486 viewer3D.component.js:175
(anonymous) @ VM488 objLoader.service.js:27
(anonymous) @ VM467 three.js:29269
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:275
onInvokeTask @ VM463 core.umd.js:3971
ZoneDelegate.invokeTask @ zone.js@0.7.4?main=browser:274
Zone.runTask @ zone.js@0.7.4?main=browser:151
ZoneTask.invoke @ zone.js@0.7.4?main=browser:345
Hi I Just tester It in chorme and it works. Could you tel me the browser that you used?
I used Chrome at work. I'll try on my mac at home
On 4 Mar 2017 10:08 a.m., "Eugenio Romano" notifications@github.com wrote:
Hi I Just tester It in chorme and it works. Could you tel me the browser that you used?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eromano/ng2-3d-editor/issues/5#issuecomment-284141754, or mute the thread https://github.com/notifications/unsubscribe-auth/AD1wuY3KMwqNmmlXDoP2tDCwZUIf4i4mks5riTgzgaJpZM4MSP1M .
When I run the demo I get:
{ statusCode: 400, error: "Bad Request", message: "Invalid cookie value" }