Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: __decorate is not defined #23

Open
erikhu opened this issue Jan 11, 2017 · 7 comments
Open

Uncaught ReferenceError: __decorate is not defined #23

erikhu opened this issue Jan 11, 2017 · 7 comments

Comments

@erikhu
Copy link

erikhu commented Jan 11, 2017

WebWorkerService = __decorate([
core_1.Injectable(),
__metadata('design:paramtypes', [])
], WebWorkerService);

i have this error , i no know why happend

i use ionic 2 , can helpme?

@valdenio
Copy link

I used ts-helpers and the error disappeared
https://github.com/ngParty/ts-helpers

@samuelpearce
Copy link

samuelpearce commented Jan 17, 2017

@valdenio I have ts-helpers installed but the error still appears. I do not have the line noEmitHelpers which other support answers suggest removing or setting to false. Did you have to make any other configuration to get it to work?

@valdenio
Copy link

I had set 'noEmitHelpers' to true and the error disappeared. But after that, i couldn't make the plugin work in ionic 2 virtual scroll. It just show transparent images with white borders ,then i changed my approach and used img instead of it (it wasn't a too large list)

@matomesc
Copy link

I'm also getting this error with:

TypeScript: 2.0.9
Ionic Framework: 2.0.0-rc.4
Ionic Native: 2.2.11
Ionic App Scripts: 0.0.48
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 6.9.1

Setting noEmitHelpers to false does not fix it for me.

@JustasKuizinas
Copy link

I get the same error on ionic2.

ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.4.0
Xcode version: Not installed

@CelsoSantos
Copy link

Yeah.

Another one here with the same issue, also on Ionic 2

Your system information:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: macOS Sierra
Node Version: v6.7.0
Xcode version: Xcode 8.2 Build version 8C38

@NathanWalker
Copy link
Owner

Hey guys, I'm going to try and rebuild this plugin with some reorganization over the next 2 weeks and republish likely under new name ngx-image-lazy-load. The plan is to bring it fully up to speed with latest framework developments.

The Ionic virtual scroll issue is likely related to fact they are not tying into the window scroll event so an additionally setting would need to be provided here which could configure it for Ionic's virtual scroll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants