nativescript-background-fetch icon indicating copy to clipboard operation
nativescript-background-fetch copied to clipboard

Error: Value is not a class.

Open harryt04 opened this issue 7 years ago • 1 comments

I had a runtime error in iOS "Error: Value is not a class."

This was resolved by changing my TSConfig to "ES5" instead of ES6 or ES2015. As far as I know this is only an issue on iOS.

I recommend putting a heads up in the readme regarding this common error so people can easily find the known solution / workaround.

https://github.com/NativeScript/NativeScript/issues/5245

harryt04 avatar Aug 23 '18 21:08 harryt04

We shouldn’t have to downgrade to es5 from es6. Thanks for the feedback.

christocracy avatar Aug 24 '18 01:08 christocracy