Description:
I am trying to create a wrapper for a custom plugin, so for the same i have used the below command
gulp plugin:create -n “helloWorld”.
But this command rans into error saying : “no gulp file found”.
Even after installing gulp-cli globally as well as installing gulp too.
Steps to Reproduce:
npm install
gulp plugin:create -n PluginName
**Note: Have previously created a plugin using plugman tool and have placed it on github.
Output:
Simply returns an error stating : no gulp file found
My ionic info
:
ionic 6 -Ionic Info:
Ionic:
Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 6.1.9
@angular-devkit/build-angular : 14.0.1
@angular-devkit/schematics : 14.0.1
@angular/cli : 14.0.1
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (1 plugins total)
Utility:
cordova-res : 0.15.4
native-run : 1.6.0
System:
ios-deploy : 1.11.4
NodeJS : v14.17.3 (/usr/local/bin/node)
npm : 6.14.13
OS : macOS Catalina
Xcode : Xcode 11.4 Build version 11E146
ionic 3 -Ionic Info:
Ionic:
Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (1 plugins total)
Utility:
cordova-res : 0.15.4
native-run : 1.6.0
System:
ios-deploy : 1.11.4
NodeJS : v14.17.3 (/usr/local/bin/node)
npm : 6.14.13
OS : macOS Catalina
Xcode : Xcode 11.4 Build version 11E146
Other Information:
Referred this below blog to create plugin and its wrapper:
https://medium.com/@taronqalashyan/how-to-create-ionic-4-wrapper-for-native-libraries-292654ad3c1