ruby 2.2.1p85
Rails 4.0.13
npm 2.15.1
node v0.12.14
--------------------------------------------------------------------------------------------------
When running 'npm install' I am getting many deprecation warnings
$ npm install
> canva...@0.0.0 preinstall /Users/SARATHKUMAR/Apps/Ruby/canvas-lms
> script/gem_npm install
npm WARN prefer global coffee...@1.10.0 should be installed with -g
> conte...@0.1.15 install /Users/SARATHKUMAR/Apps/Ruby/canvas-lms/gems/canvas_i18nliner/node_modules/contextify
> node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
CXX(target) Release/obj.target/contextify/src/contextify.o
SOLINK_MODULE(target) Release/contextify.node
--------------------------------------------------------------------------------------------------
When running 'RAILS_ENV=production bundle exec rake canvas:compile_assets' I'm facing these issues.
--> Compressed JavaScript in 119.83257237699581
--> Finished: 'js:build' in 286.79388818300504
--> Finished: 'compile coffee, js 18n, run r.js optimizer, and webpack' in 394.6195347049943
Finished compiling assets in 395.7798724029999. parallelism saved 79.93257976998575 (83.19729084137586%)
[11:32:34] Requiring external module babel-register
/Users/SARATHKUMAR/Apps/Ruby/canvas-lms/gulpfile.babel.js:29
gulp.task('rev', () => {
^
SyntaxError: Unexpected token )
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at loader (/Users/SARATHKUMAR/Apps/Ruby/canvas-lms/node_modules/babel-register/lib/node.js:158:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/SARATHKUMAR/Apps/Ruby/canvas-lms/node_modules/babel-register/lib/node.js:168:7)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Liftoff.handleArguments (/Users/SARATHKUMAR/Apps/Ruby/canvas-lms/node_modules/gulp/bin/gulp.js:116:3)
at Liftoff.<anonymous> (/Users/SARATHKUMAR/Apps/Ruby/canvas-lms/node_modules/gulp/node_modules/liftoff/index.js:193:16)
rake aborted!
Error reving files
/Users/SARATHKUMAR/Apps/Ruby/canvas-lms/lib/tasks/canvas.rake:177:in `block (2 levels) in <top (required)>'
Tasks: TOP => canvas:compile_assets
--------------------------------------------------------------------------------------------------