Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Fehler: gulp serve, No gulpfile found

13.03.2020 (👁6983)

Fehler: gulp serve, No gulpfile found

 

PS C:\_Daten\Desktop\Demo\SharePoint\WebParts> gulp serve

[14:41:11] No gulpfile found

Lösung:

Man muss in das Verzeichnis wechseln, in welchem sich das SharePoint Webpart befindet.

Also mit cd Verzeichnis in den Ordner wechseln

PS C:\_Daten\Desktop\Demo\SharePoint\WebParts> cd Demos

 

 

 

 

 

Durchlauf von gulp serve nach dem Wechsel in das Solution Verzeichnis des Ordners

PS C:\_Daten\Desktop\Demo\SharePoint\WebParts> gulp serve

[14:41:11] No gulpfile found

PS C:\_Daten\Desktop\Demo\SharePoint\WebParts> gulp trust-dev-cert

[14:41:59] No gulpfile found

 

PS C:\_Daten\Desktop\Demo\SharePoint\WebParts> cd Demos

PS C:\_Daten\Desktop\Demo\SharePoint\WebParts\Demos> gulp serve

 

 

 

Build target: DEBUG

[14:57:54] Using gulpfile C:\_Daten\Desktop\Demo\SharePoint\WebParts\Demos\gulpfile.js

[14:57:54] Starting gulp

[14:57:54] Starting 'serve'...

[14:57:54] Starting subtask 'configure-sp-build-rig'...

[14:57:54] Finished subtask 'configure-sp-build-rig' after 4.11 ms

[14:57:54] Starting subtask 'spfx-serve'...

[14:57:54] Starting server...

Starting api server on port 5432.

Registring api: /workbench

Registring api: */*

[14:57:54] Finished subtask 'spfx-serve' after 259 ms

[14:57:54] Starting subtask 'pre-copy'...

[14:57:54] Finished subtask 'pre-copy' after 21 ms

[14:57:54] Starting subtask 'copy-static-assets'...

[14:57:54] Starting subtask 'sass'...

[14:57:54] Server started https://localhost:4321

[14:57:54] LiveReload started on port 35729

[14:57:54] Running server

[14:57:54] Opening https://localhost:5432/workbench using the default OS app

[14:57:54] Finished subtask 'copy-static-assets' after 42 ms

[14:57:55] Finished subtask 'sass' after 308 ms

[14:57:55] Starting subtask 'tslint'...

[14:57:55] [tslint] tslint version: 5.12.1

[14:57:55] Starting subtask 'tsc'...

[14:57:55] [tsc] typescript version: 2.9.2

  Request: [::1] '/workbench'

  Request: '/temp/workbench.html'

  Request: '/temp/manifests.js'