2
ではなく、ガルプファイルは次のようになり、このエラーに例外TypeError:gulp.registry私はちょうど基本的なゴクゴクファイルを実行している機能
TypeError: gulp.registry is not a function
を得続ける:
const gulp = require('gulp');
const HubRegistry = require('gulp-hub');
const browserSync = require('browser-sync');
const conf = require('./conf/gulp.conf');
// Load some files into the registry
const hub = new HubRegistry([conf.path.tasks('*.js')]);
// Tell gulp to use the tasks just loaded
gulp.registry(hub); // fails here
ノードのバージョンはV6.2.1ですこれはv6.5.0 npmバージョンv3.9.3でも得られました。
問題はMacとWindows 10に残っています。削除、ガルプ除去などいくつかのことを試してみましたが、取り除くことはできません。
うんのgulp4を飲み込む/ TNXをgulpjsをインストール! – vaske