Skip to content

Missing .ts files #195

Open
Open
@Rainson12

Description

@Rainson12

Hey,
im using ng2-tree coupled with angular 4.3.1 and sharepoint framework. Because of that im not using the angular cli. When building my application i get the following webpack exception:

[12:04:16] Warning - [webpack] 'dist':
./~/ng2-tree/index.js
Cannot find source file '../index.ts': Error: Can't resolve '../index.ts' in 'C:\***\node_modules\ng2-tree'
 @ .***/GroupAdministrationIntranetWebPart.js 28:17-36
./~/ng2-tree/src/tree.js
Cannot find source file '../../src/tree.ts': Error: Can't resolve '../../src/tree.ts' in 'C:\***\node_modules\ng2-tree\src'
 @ ./~/ng2-tree/index.js 6:13-34
 @ .***/GroupAdministrationIntranetWebPart.js
./~/ng2-tree/src/tree.types.js
Cannot find source file '../../src/tree.types.ts': Error: Can't resolve '../../src/tree.types.ts' in 'C:\***\node_modules\ng2-tree\src'
 @ ./~/ng2-tree/index.js 3:19-46
 @ .***/GroupAdministrationIntranetWebPart.js
./~/ng2-tree/src/tree.events.js
Cannot find source file '../../src/tree.events.ts': Error: Can't resolve '../../src/tree.events.ts' in 'C:\***\node_modules\ng2-tree\src'
 @ ./~/ng2-tree/index.js 10:20-48
 @ .***/GroupAdministrationIntranetWebPart.js
./~/ng2-tree/src/tree.component.js
Cannot find source file '../../src/tree.component.ts': Error: Can't resolve '../../src/tree.component.ts' in 'C:\***\node_modules\ng2-tree\src'
 @ ./~/ng2-tree/index.js 21:23-54
 @ .***/GroupAdministrationIntranetWebPart.js
./~/ng2-tree/src/tree.module.js

Im running on "ng2-tree": "^2.0.0-rc.4"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions