Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Webpack build issue with tns-platform-declarations #101

@kvindascr

Description

@kvindascr

When installed tns-platform-declarations, webpack generate the following error:

typescript.js-createSourceFile: /Users/kvindas/Development/js-project/workride-app/platforms/android/build/intermediates/assets/F0F1F2F3F4F5F6F7F8/debug/app/tns_modules/node_modules/tns-platform-declarations/ios.d.ts
/Users/kvindas/Development/js-project/workride-app/node_modules/typescript/lib/typescript.js:8981
            var sourceFile = new SourceFileConstructor(256 /* SourceFile */, /*pos*/ 0, /* end */ sourceText.length);
                                                                                                            ^

TypeError: Cannot read property 'length' of undefined
    at createSourceFile (/Users/kvindas/Development/js-project/workride-app/node_modules/typescript/lib/typescript.js:8981:109)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions