OlivierCC / spfx-40-fantastics

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.
MIT License
408 stars 279 forks source link

gulp serve doesn't work #67

Open ITAndy23 opened 6 years ago

ITAndy23 commented 6 years ago

Hi,

Downloaded the project. Rannpm install, then gulp serve and received 473 errors. There's too many to copy & paste in here. Last one was this one:

Error - typescript - src\webparts\verticalTimeline\SPCalendarService.ts(55,53): error TS2345: Argument of type 'SPHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'.

Does the project require a specific version of node/npm to run?

Thanks, Andy

wills01 commented 6 years ago

i have created a fork, that fixes these issues, updated version of react etc https://github.com/wills01/spfx-40-fantastics

ITAndy23 commented 6 years ago

Thanks, that helped! Now i just get a few errors during gulp serve

[06:04:04] Error - Unknown listen EADDRINUSE :::5432 [06:04:04] Opening https://localhost:4321/temp/workbench.html using the default OS app [06:04:05] ==================[ Finished ]================== Warning - [configure-sp-build-rig] This project is using an old config.json file version (1.0). Run the build again with the --upgrade (gulp --upgrade) flag to upgrade the config.json file to the latest version. Error - Unknown listen EADDRINUSE :::4321 Error - Unknown listen EADDRINUSE :::5432 [06:04:06] Warning - [sass] src\css\animate\animate.scss: filename should end with module.scss [06:04:06] Warning - [sass] src\css\coverflow\coverflow.scss: filename should end with module.scss [06:04:06] Warning - [sass] src\css\jqueryui\jquery-ui.scss: filename should end with module.scss [06:04:07] Project spfx-40-fantastics version: 1.0.4 [06:04:07] Build tools version: 3.2.7 [06:04:07] Node version: v6.12.2 [06:04:07] Total duration: 9.61 s [06:04:07] Task warnings: 4 [06:04:07] Task errors: 4 [06:04:07] Error - 'undefined' errored after "orchestration aborted" [06:04:07] Error - 'undefined' errored after "orchestration aborted"

wy62 commented 6 years ago

I also had the same problem. Exactly 473 errors. Took @wills01 fork and problem is resolved. Had to do a gulp trust-dev-cert to get the workbench to open correctly before running gulp serve

newtonanbarasu commented 5 years ago

@wills01 I tryed your code but am getting a type script error workbenchInit.js:8 Uncaught TypeError: Cannot read property 'getManifests' of undefined

ervingayle commented 5 years ago

i have created a fork, that fixes these issues, updated version of react etc https://github.com/wills01/spfx-40-fantastics

Any change of providing this build again? Between the pending pull request, some manual package updates and what you quoted this may actually work with later versions of SPFX.