Open lingdu0001 opened 9 years ago
If i change "var bundlerClass = require('./bundler')" to "var bundlerClass = require('bundler');"in gulpfile.js
Then the error is:
TypeError: object is not a function
at Object.
@lingdu0001
I'm also on this problem.
This is because of capitalized filename Bundler.js
.
I tried git mv Bundler.js bundler.js
, and gulp
went well.
@comutt Thank you ,it worked!
After i run gulp, it comes as followings. Error: Cannot find module './bundler' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/opt/webrtc/vmux/gulpfile.js:4:20)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)