lynckia / licode

Open Source Communication Provider based on WebRTC and Cloud technologies
http://lynckia.com/licode
MIT License
3.1k stars 1.01k forks source link

.gulp is not a function #1396

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello, I'm having some problems to install licode on a new server with Ubuntu 14.04.

I'm installing one by one each error that "installErizo.sh -c" gives me, i'm stuck at this point:

[erizo_controller] Installing node_modules for erizo_controller Found '/home/user/licode/.nvmrc' with version <6.14.4> Now using node v6.14.4 (npm v3.10.10) licode@0.1.0 /home/user/licode ├── amqp@0.2.7 ├── log4js@1.0.1 ├── node-getopt@0.3.2 ├── prom-client@11.2.1 ├── sdp-transform@2.3.0 ├── socket.io@2.0.3 └── uuid@3.1.0

[erizo_controller] Done, node_modules installed /home/user/licode/erizo_controller/erizoClient/gulpfile.js:9 plugins.closureCompiler = require('google-closure-compiler-js').gulp();

TypeError: require(...).gulp is not a function at Object. (/home/user/licode/erizo_controller/erizoClient/gulpfile.js:9:65) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at execute (/home/user/licode/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:36:18) at Liftoff.handleArguments (/home/user/licode/node_modules/gulp/node_modules/gulp-cli/index.js:196:24) at Liftoff.execute (/home/user/licode/node_modules/gulp/node_modules/gulp-cli/node_modules/liftoff/index.js:201:12) at module.exports (/home/user/licode/node_modules/flagged-respawn/index.js:51:3) at Liftoff. (/home/user/licode/node_modules/gulp/node_modules/gulp-cli/node_modules/liftoff/index.js:191:5) at /home/user/licode/node_modules/gulp/node_modules/gulp-cli/node_modules/liftoff/index.js:149:9 at /home/user/licode/node_modules/gulp/node_modules/gulp-cli/node_modules/v8flags/index.js:135:14 at /home/user/licode/node_modules/gulp/node_modules/gulp-cli/node_modules/v8flags/index.js:41:14 at /home/user/licode/node_modules/gulp/node_modules/gulp-cli/node_modules/v8flags/index.js:53:7 at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9)

I tried to install gulp global, locally but it doesn't work... could you help me?

ghost commented 5 years ago

If I run it without "-c" i get this:

[ 6%] Completed 'project_nicer' [ 8%] Built target project_nicer [ 45%] Built target webrtc [ 81%] Built target erizo Linking CXX executable tests ../erizo/liberizo.so: undefined reference to boost::system::detail::system_category_ncx()' ../erizo/liberizo.so: undefined reference toboost::thread::do_try_join_until_noexcept(boost::detail::mono_platform_timepoint const&, bool&)' ../erizo/liberizo.so: undefined reference to `boost::system::detail::generic_category_ncx()'

lidedongsn commented 5 years ago

try ubuntu16.04