Comments on: no gulpfile found error in spfx https://www.spguides.com/no-gulpfile-found-spfx/ Learn SharePoint, Office 365, Nintex, PowerApps, PowerBI etc, SharePoint training and video courses Fri, 17 Nov 2023 10:23:42 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Ayana https://www.spguides.com/no-gulpfile-found-spfx/#comments/1053 Fri, 17 Nov 2023 10:23:42 +0000 https://www.spguides.com/?p=25983#comment-1053 even after follow all these steps mentioned above getting no gulpfile found

]]>
By: Pramod https://www.spguides.com/no-gulpfile-found-spfx/#comments/348 Tue, 03 Aug 2021 15:18:32 +0000 https://www.spguides.com/?p=25983#comment-348 npm install touch-cli -g (Run if you never installed touch-cli in your system)

touch gulpfile.js (Then run this command)

var gulp = require(‘gulp’);
gulp.task(‘default’, function() {
//Here is the code for the default task
});

——–Even after trying all the steps getting below error————-

F:SPFxapp-extensions>gulp trust-dev-cert
[20:42:26] Using gulpfile F:SPFxapp-extensionsgulpfile.js
[20:42:26] Task never defined: trust-dev-cert
[20:42:26] To list available tasks, try running: gulp –tasks

F:SPFxapp-extensions>gulp serve
[20:42:59] Using gulpfile F:SPFxapp-extensionsgulpfile.js
[20:42:59] Task never defined: serve
[20:42:59] To list available tasks, try running: gulp –tasks

F:SPFxapp-extensions>npm install –save-dev gulp
npm WARN saveError ENOENT: no such file or directory, open ‘F:SPFxapp-extensionspackage.json’
npm WARN enoent ENOENT: no such file or directory, open ‘F:SPFxapp-extensionspackage.json’
npm WARN app-extensions No description
npm WARN app-extensions No repository field.
npm WARN app-extensions No README data
npm WARN app-extensions No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modulesfsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:”darwin”,”arch”:”any”} (current: {“os”:”win32″,”arch”:”x64″})

+ gulp@4.0.2
updated 1 package and audited 503 packages in 4.078s

]]>