spfx-40-fantastics
spfx-40-fantastics copied to clipboard
gulp serve doesn't work
Hi,
Downloaded the project. Ran npm 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
i have created a fork, that fixes these issues, updated version of react etc https://github.com/wills01/spfx-40-fantastics
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"
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
@wills01 I tryed your code but am getting a type script error workbenchInit.js:8 Uncaught TypeError: Cannot read property 'getManifests' of undefined
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.