No Exported Member 'Bindable'


#1

Upgraded from 3.0.3 to 3.1.2 and tried running ‘tns build ios’ and getting the following error message:

Executing before-prepare hook from /Users/dev2/Documents/Dev/grabhoste
l/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 2.3.4
node_modules/nativescript-telerik-ui-pro/calendar/index.d.ts(4,10): er
ror TS2305: Module ‘"/Users/dev2/Documents/Dev/grabhostel/node_modules
/tns-core-modules/ui/core/bindable/bindable"’ has no exported member ‘
Bindable’.

TypeScript compiler failed with exit code 1


#2

I am facing same issue on android platform. Can you find any fix on this?


#3

Hi @kumaran @delosssh
See if this helps you.


#4

My tsconfig.json,

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,
        "noEmitHelpers": true,
        "noEmitOnError": true,
        "lib": [
            "es6",
            "dom",
            "es2015.iterable"
        ],
        "baseUrl": ".",
        "paths": {
            "*": [
                "./node_modules/tns-core-modules/*",
                "./node_modules/*"
            ]
        }
    },
    "exclude": [
        "node_modules",
        "platforms",
        "**/*.aot.ts"
    ]
}