eromano / ng2-3d-editor

3D Viewer and Editor Javascript
17 stars 9 forks source link

No Demo #5

Closed TheDevelolper closed 7 years ago

TheDevelolper commented 7 years ago

When I run the demo I get:

{ statusCode: 400, error: "Bad Request", message: "Invalid cookie value" }

TheDevelolper commented 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: ; Task: Promise.then ; Value: ViewWrappedError {_nativeError: Error: Error in ./App class App - inline template:1:20 caused by: Cannot read property 'getExtension…, originalError: TypeError: Cannot read property 'getExtension' of null at Object.get (https://unpkg.com/three/bu…, context: DebugContext} 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) consoleError @ zone.js@0.7.4?main=browser:405 _loop_1 @ zone.js@0.7.4?main=browser:434 drainMicroTaskQueue @ zone.js@0.7.4?main=browser:438 ZoneTask.invoke @ zone.js@0.7.4?main=browser:349 zone.js@0.7.4?main=browser:407 Error: Uncaught (in promise): Error: Error in ./App class App - inline template:1:20 caused by: Cannot read property 'getExtension' of null 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) 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) at resolvePromise (https://unpkg.com/zone.js@0.7.4?main=browser:486:31) [] at https://unpkg.com/zone.js@0.7.4?main=browser:462:13 [] at Zone.run (https://unpkg.com/zone.js@0.7.4?main=browser:113:43) [ => ] at https://unpkg.com/zone.js@0.7.4?main=browser:520:57 [] at Zone.runTask (https://unpkg.com/zone.js@0.7.4?main=browser:151:47) [ => ] at drainMicroTaskQueue (https://unpkg.com/zone.js@0.7.4?main=browser:418:35) [] at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.7.4?main=browser:349:25) [] consoleError @ zone.js@0.7.4?main=browser:407 _loop_1 @ zone.js@0.7.4?main=browser:434 drainMicroTaskQueue @ zone.js@0.7.4?main=browser:438 ZoneTask.invoke @ zone.js@0.7.4?main=browser:349 VM486 viewer3D.component.js:133 progress material loader{"isTrusted":true} 2VM486 viewer3D.component.js:180 progress obj loader{"isTrusted":true} VM488 objLoader.service.js:406 OBJLoader: 25.263ms VM463 core.umd.js:3064 EXCEPTION: Cannot read property 'attach' of undefined ErrorHandler.handleError @ VM463 core.umd.js:3064 next @ VM463 core.umd.js:8041 schedulerFn @ VM463 core.umd.js:3689 SafeSubscriber.tryOrUnsub @ VM473 Subscriber.js:234 SafeSubscriber.next @ VM473 Subscriber.js:183 Subscriber._next @ VM473 Subscriber.js:125 Subscriber.next @ VM473 Subscriber.js:89 Subject.next @ VM470 Subject.js:55 EventEmitter.emit @ VM463 core.umd.js:3675 NgZone.triggerError @ VM463 core.umd.js:4040 onHandleError @ VM463 core.umd.js:4001 ZoneDelegate.handleError @ zone.js@0.7.4?main=browser:246 Zone.runTask @ zone.js@0.7.4?main=browser:154 ZoneTask.invoke @ zone.js@0.7.4?main=browser:345 VM463 core.umd.js:3069 ORIGINAL STACKTRACE: ErrorHandler.handleError @ VM463 core.umd.js:3069 next @ VM463 core.umd.js:8041 schedulerFn @ VM463 core.umd.js:3689 SafeSubscriber.__tryOrUnsub @ VM473 Subscriber.js:234 SafeSubscriber.next @ VM473 Subscriber.js:183 Subscriber._next @ VM473 Subscriber.js:125 Subscriber.next @ VM473 Subscriber.js:89 Subject.next @ VM470 Subject.js:55 EventEmitter.emit @ VM463 core.umd.js:3675 NgZone.triggerError @ VM463 core.umd.js:4040 onHandleError @ VM463 core.umd.js:4001 ZoneDelegate.handleError @ zone.js@0.7.4?main=browser:246 Zone.runTask @ zone.js@0.7.4?main=browser:154 ZoneTask.invoke @ zone.js@0.7.4?main=browser:345 VM463 core.umd.js:3070 TypeError: Cannot read property 'attach' of undefined at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:175:39) at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/objLoader.service.js:27:13) at XMLHttpRequest.eval (https://unpkg.com/three/build/three.js:29269:21) at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.7.4?main=browser:275:35) at Object.onInvokeTask (https://unpkg.com/@angular/core/bundles/core.umd.js:3971:41) at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.7.4?main=browser:274:40) at Zone.runTask (https://unpkg.com/zone.js@0.7.4?main=browser:151:47) at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.7.4?main=browser:345:33) ------------- Elapsed: 32 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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), :3:43) [angular] at FileLoader.load (https://unpkg.com/three/build/three.js:29261:13) [angular] at THREE.OBJLoader.load (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/objLoader.service.js:26:16) [angular] at Viewer3DComponent.loadObj (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:171:19) [angular] at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:131:19) [angular] at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/mtlLoader.service.js:12:13) [angular] at XMLHttpRequest.eval (https://unpkg.com/three/build/three.js:29269:21) [angular] ------------- Elapsed: 18 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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), :3:43) [angular] at FileLoader.load (https://unpkg.com/three/build/three.js:29261:13) [angular] at THREE.MTLLoader.load (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/mtlLoader.service.js:11:16) [angular] at Viewer3DComponent.loadObjFormatFile (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:130:19) [angular] at Viewer3DComponent.ngOnInit (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:42:18) [angular] at Wrapper_Viewer3DComponent.ngDoCheck (/Editor3DModule/Viewer3DComponent/wrapper.ngfactory.js:72:53) [angular] at CompiledTemplate.proxyViewClass.View_App0.detectChangesInternal (/AppModule/App/component.ngfactory.js:52:31) [angular] at CompiledTemplate.proxyViewClass.AppView.detectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:12208:18) [angular] ------------- Elapsed: 18 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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) [ => angular] at drainMicroTaskQueue (https://unpkg.com/zone.js@0.7.4?main=browser:418:35) [] at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.7.4?main=browser:349:25) [] ------------- Elapsed: 2 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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.
tryOrUnsub @ VM473 Subscriber.js:234 SafeSubscriber.next @ VM473 Subscriber.js:183 Subscriber._next @ VM473 Subscriber.js:125 Subscriber.next @ VM473 Subscriber.js:89 Subject.next @ VM470 Subject.js:55 EventEmitter.emit @ VM463 core.umd.js:3675 NgZone.triggerError @ VM463 core.umd.js:4040 onHandleError @ VM463 core.umd.js:4001 ZoneDelegate.handleError @ zone.js@0.7.4?main=browser:246 Zone.runTask @ zone.js@0.7.4?main=browser:154 ZoneTask.invoke @ zone.js@0.7.4?main=browser:345 VM473 Subscriber.js:238 Uncaught TypeError: Cannot read property 'attach' of undefined at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:175:39) at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/objLoader.service.js:27:13) at XMLHttpRequest.eval (https://unpkg.com/three/build/three.js:29269:21) at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.7.4?main=browser:275:35) at Object.onInvokeTask (https://unpkg.com/@angular/core/bundles/core.umd.js:3971:41) at ZoneDelegate.invokeTask (https://unpkg.com/zone.js@0.7.4?main=browser:274:40) at Zone.runTask (https://unpkg.com/zone.js@0.7.4?main=browser:151:47) at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.7.4?main=browser:345:33) ------------- Elapsed: 34 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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), :3:43) [angular] at FileLoader.load (https://unpkg.com/three/build/three.js:29261:13) [angular] at THREE.OBJLoader.load (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/objLoader.service.js:26:16) [angular] at Viewer3DComponent.loadObj (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:171:19) [angular] at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:131:19) [angular] at eval (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/mtlLoader.service.js:12:13) [angular] at XMLHttpRequest.eval (https://unpkg.com/three/build/three.js:29269:21) [angular] ------------- Elapsed: 18 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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), :3:43) [angular] at FileLoader.load (https://unpkg.com/three/build/three.js:29261:13) [angular] at THREE.MTLLoader.load (https://unpkg.com/ng2-3d-editor@0.0.9/src/jsservice/mtlLoader.service.js:11:16) [angular] at Viewer3DComponent.loadObjFormatFile (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:130:19) [angular] at Viewer3DComponent.ngOnInit (https://unpkg.com/ng2-3d-editor@0.0.9/src/componets/viewer3D.component.js:42:18) [angular] at Wrapper_Viewer3DComponent.ngDoCheck (/Editor3DModule/Viewer3DComponent/wrapper.ngfactory.js:72:53) [angular] at CompiledTemplate.proxyViewClass.View_App0.detectChangesInternal (/AppModule/App/component.ngfactory.js:52:31) [angular] at CompiledTemplate.proxyViewClass.AppView.detectChanges (https://unpkg.com/@angular/core/bundles/core.umd.js:12208:18) [angular] ------------- Elapsed: 18 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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) [ => angular] at drainMicroTaskQueue (https://unpkg.com/zone.js@0.7.4?main=browser:418:35) [] at XMLHttpRequest.ZoneTask.invoke (https://unpkg.com/zone.js@0.7.4?main=browser:349:25) [] ------------- Elapsed: 2 ms; At: Fri Mar 03 2017 13:17:13 GMT+0000 (GMT Standard Time) -------------
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

eromano commented 7 years ago

Hi I Just tester It in chorme and it works. Could you tel me the browser that you used?

TheDevelolper commented 7 years ago

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 .