wobba/spfx4fun

Cannot compile

Opened this issue · 0 comments

I followed the instructions that you set out in the README, but unfortunately the component did not compile.

I've added the terminal output below. I'm pretty new to the SP Framework, but it appears to be a problem in that layer.

I've tried this from scratch on two machines, one a Mac and one a PC with the same results.

Jakes-MacBook-Pro:react-pageheaderconfigurator jake$ gulp
Build target: DEBUG
[12:43:56] Using gulpfile ~/Source/MojoSoup/spfx4fun/react-pageheaderconfigurator/gulpfile.js
[12:43:56] Starting gulp
[12:43:56] Starting 'default'...
[12:43:56] Starting subtask 'pre-copy'...
[12:43:56] Finished subtask 'pre-copy' after 6.73 ms
[12:43:56] Starting subtask 'copy-static-assets'...
[12:43:56] Starting subtask 'sass'...
[12:43:57] Finished subtask 'sass' after 659 ms
[12:43:57] Starting subtask 'tslint'...
[12:43:57] Starting subtask 'typescript'...
[12:43:57] [typescript] TypeScript version: 2.1.6
[12:43:57] Finished subtask 'copy-static-assets' after 712 ms
[12:43:59] Error - typescript - node_modules/@microsoft/sp-webpart-base/lib/core/IWebPartContext.d.ts(33,10): error TS2430: Interface 'IWebPartContext' incorrectly extends interface 'IClientSideComponentContext'.
[12:43:59] Finished subtask 'tslint' after 2.35 s
[12:43:59] Error - 'typescript' sub task errored after 2.36 s 
 "TypeScript error(s) occurred."
[12:43:59] 'default' errored after 3.06 s
[12:43:59] 
[12:43:59] ==================[ Finished ]==================
Error - typescript - node_modules/@microsoft/sp-webpart-base/lib/core/IWebPartContext.d.ts(33,10): error TS2430: Interface 'IWebPartContext' incorrectly extends interface 'IClientSideComponentContext'.
Error - 'typescript' sub task errored after 2.36 s 
 "TypeScript error(s) occurred."
[12:44:00] Project pzl-site-page-header version: 0.0.1
[12:44:00] Build tools version: 2.5.3
[12:44:00] Node version: v7.4.0
[12:44:00] Total duration: 5.45 s
[12:44:00] Task errors: 2
Jakes-MacBook-Pro:react-pageheaderconfigurator jake$