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

Compilation Process doesn't work. #30

Open
RichardPriddy opened this issue Aug 14, 2018 · 0 comments
Open

Compilation Process doesn't work. #30

RichardPriddy opened this issue Aug 14, 2018 · 0 comments

Comments

@RichardPriddy
Copy link

RichardPriddy commented Aug 14, 2018

Running the Compliation Process steps:

git clone the repo
npm i
tsd install
gulp serve

ends with:

> tsd install
-> running install
>> written zero files

Then, running gulp serve results in 1198 errors:

>gulp serve
Build target: DEBUG
[16:41:04] Using gulpfile D:\Projects\sp-client-custom-fields\sp-client-custom-fields\gulpfile.js
[16:41:04] Starting gulp
[16:41:04] Starting 'serve'...
[16:41:04] Starting subtask 'pre-copy'...
[16:41:04] Finished subtask 'pre-copy' after 17 ms
[16:41:04] Starting subtask 'copy-static-assets'...
[16:41:04] Starting subtask 'sass'...
[16:41:06] Finished subtask 'copy-static-assets' after 1.88 s
[16:41:06] Finished subtask 'sass' after 1.84 s
[16:41:06] Starting subtask 'tslint'...
[16:41:06] Starting subtask 'typescript'...
[16:41:06] [typescript] TypeScript version: 2.2.2
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,25): error TS1005: ',' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,27): error TS1005: '>' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,29): error TS1005: ';' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,31): error TS1109: Expression expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,51): error TS1005: '(' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,74): error TS1005: '(' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,26): error TS1005: ',' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,28): error TS1005: '>' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,30): error TS1128: Declaration or statement expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,40): error TS1109: Expression expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,26): error TS1005: ',' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,28): error TS1005: '>' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,30): error TS1128: Declaration or statement expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,40): error TS1109: Expression expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(308,33): error TS1005: ',' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(308,35): error TS1005: '>' expected.
[16:41:25] Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(308,37): error TS1128: Declaration or statement expected.



[16:41:36] Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(295,16): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
[16:41:36] Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(304,17): error TS2604: JSX element type 'IconButton' does not have any construct or call signatures.
[16:41:36] Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(317,8): error TS2605: JSX element type 'Panel' is not a constructor function for JSX elements.
[16:41:36] Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(317,8): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
[16:41:36] Error - typescript - src\PropertyFieldTreeViewHost.tsx(187,50): error TS2605: JSX element type 'Checkbox' is not a constructor function for JSX elements.
[16:41:36] Error - typescript - src\PropertyFieldTreeViewHost.tsx(187,50): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
[16:41:36] Error - typescript - src\PropertyFieldTreeViewHost.tsx(258,9): error TS2604: JSX element type 'Label' does not have any construct or call signatures.
[16:41:36] Error - typescript - src\webparts\test\TestWebPart.ts(93,21): error TS2415: Class 'TestWebPart' incorrectly extends base class 'BaseClientSideWebPart<ITestWebPartProps>'.
[16:41:36] Error - typescript - src\webparts\test\components\Test.tsx(30,12): error TS2605: JSX element type 'MessageBar' is not a constructor function for JSX elements.
[16:41:42] Finished subtask 'tslint' after 36 s
[16:41:42] Error - 'typescript' sub task errored after 37 s
 "TypeScript error(s) occurred."
[16:41:42] 'serve' errored after 39 s
[16:41:42]
[16:41:43] ==================[ Finished ]==================
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,25): error TS1005: ',' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,27): error TS1005: '>' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,29): error TS1005: ';' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,31): error TS1109: Expression expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,51): error TS1005: '(' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(77,74): error TS1005: '(' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,26): error TS1005: ',' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,28): error TS1005: '>' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,30): error TS1128: Declaration or statement expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(280,40): error TS1109: Expression expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,26): error TS1005: ',' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,28): error TS1005: '>' expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,30): error TS1128: Declaration or statement expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(306,40): error TS1109: Expression expected.
Error - typescript - node_modules\@microsoft\sp-loader\node_modules\@types\react\index.d.ts(308,33): error TS1005: ',' expected.



Error - typescript - src\PropertyFieldTagPickerHost.tsx(144,8): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(253,16): error TS2605: JSX element type 'Checkbox' is not a constructor function for JSX elements.
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(253,16): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(290,9): error TS2604: JSX element type 'Label' does not have any construct or call signatures.
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(295,16): error TS2605: JSX element type 'TextField' is not a constructor function for JSX elements.
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(295,16): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(304,17): error TS2604: JSX element type 'IconButton' does not have any construct or call signatures.
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(317,8): error TS2605: JSX element type 'Panel' is not a constructor function for JSX elements.
Error - typescript - src\PropertyFieldTermSetPickerHost.tsx(317,8): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
Error - typescript - src\PropertyFieldTreeViewHost.tsx(187,50): error TS2605: JSX element type 'Checkbox' is not a constructor function for JSX elements.
Error - typescript - src\PropertyFieldTreeViewHost.tsx(187,50): error TS2607: JSX element class does not support attributes because it does not have a 'props' property
Error - typescript - src\PropertyFieldTreeViewHost.tsx(258,9): error TS2604: JSX element type 'Label' does not have any construct or call signatures.
Error - typescript - src\webparts\test\TestWebPart.ts(93,21): error TS2415: Class 'TestWebPart' incorrectly extends base class 'BaseClientSideWebPart<ITestWebPartProps>'.
Error - typescript - src\webparts\test\components\Test.tsx(30,12): error TS2605: JSX element type 'MessageBar' is not a constructor function for JSX elements.
Error - 'typescript' sub task errored after 37 s
 "TypeScript error(s) occurred."
[16:41:46] Project sp-client-custom-fields version: 1.3.7
[16:41:46] Build tools version: 2.5.3
[16:41:46] Node version: v8.11.1
[16:41:46] Total duration: 47 s
[16:41:46] Task errors: 1198
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

1 participant