require.extensions.hasOwnProperty is not a function
Opened this issue · 0 comments
Liqiankun commented
When run gulp dev
/Users/old_david/Desktop/halogen/node_modules/require-dir/index.js:93
if (!require.extensions.hasOwnProperty(ext)) {
^
TypeError: require.extensions.hasOwnProperty is not a function
at requireDir (/Users/old_david/Desktop/halogen/node_modules/require-dir/index.js:93:37)
at Object.<anonymous> (/Users/old_david/Desktop/halogen/node_modules/gulp-git/index.js:2:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Users/old_david/Desktop/halogen/gulpfile.js:10:9)