-
-
Save nwlucas/45abd1ba51feaf4da87d to your computer and use it in GitHub Desktop.
After successful installation of clever-countries This error pops us when running gruntdb:odmRbase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ grunt --gruntfile /home/nigel/work/projA/backend/Gruntfile.js db:odmRebase | |
Running "exec:odmRebase" (exec) task | |
>> /home/nigel/work/projA/backend/modules/clever-countries/module.js:1 | |
>> _filename, __dirname) { var Module = require( 'classes' ).ModuleClass.extend({ | |
>> ^ | |
>> TypeError: Cannot read property 'extend' of undefined | |
>> at Object.<anonymous> (/home/nigel/work/projA/backend/modules/clever-countries/module.js:1:108) | |
>> at Module._compile (module.js:449:26) | |
>> at Object.Module._extensions..js (module.js:467:10) | |
>> at Module.load (module.js:349:32) | |
>> at Function.Module._load (module.js:305:12) | |
>> at Module.require (module.js:357:17) | |
>> at require (module.js:373:17) | |
>> at Class.module.exports.Class.extend.loadModule (/home/nigel/work/projA/backend/lib/utils/moduleLoader.js:119:22) | |
>> at class_cb (/home/nigel/work/projA/backend/node_modules/uberclass/lib/class.js:94:43) | |
>> at /home/nigel/work/projA/backend/node_modules/async/lib/async.js:125:13 | |
>> Exited with code: 1. | |
Warning: Task "exec:odmRebase" failed. Use --force to continue. | |
Aborted due to warnings. | |
Process finished with exit code 3 | |
$ grunt --gruntfile /home/nigel/work/projA/backend/Gruntfile.js db:odmRebase | |
Running "exec:odmRebase" (exec) task | |
>> /home/nigel/work/projA/backend/modules/clever-countries/module.js:5 | |
>> module.exports = new Module( 'clever-countries', injector ); | |
>> ^ | |
>> ReferenceError: injector is not defined | |
>> at Object.<anonymous> (/home/nigel/work/projA/backend/modules/clever-countries/module.js:5:50) | |
>> at Module._compile (module.js:449:26) | |
>> at Object.Module._extensions..js (module.js:467:10) | |
>> at Module.load (module.js:349:32) | |
>> at Function.Module._load (module.js:305:12) | |
>> at Module.require (module.js:357:17) | |
>> at require (module.js:373:17) | |
>> at Class.module.exports.Class.extend.loadModule (/home/nigel/work/projA/backend/lib/utils/moduleLoader.js:119:22) | |
>> at class_cb (/home/nigel/work/projA/backend/node_modules/uberclass/lib/class.js:94:43) | |
>> at /home/nigel/work/projA/backend/node_modules/async/lib/async.js:125:13 | |
>> Exited with code: 1. | |
Warning: Task "exec:odmRebase" failed. Use --force to continue. | |
Aborted due to warnings. | |
Process finished with exit code 3 | |
$ grunt --gruntfile /home/nigel/work/projA/backend/Gruntfile.js db:odmRebase | |
Running "exec:odmRebase" (exec) task | |
>> /home/nigel/work/projA/backend/modules/clever-countries/module.js:5 | |
>> module.exports = new Module( 'clever-countries', inject ); | |
>> ^ | |
>> ReferenceError: inject is not defined | |
>> at Object.<anonymous> (/home/nigel/work/projA/backend/modules/clever-countries/module.js:5:50) | |
>> at Module._compile (module.js:449:26) | |
>> at Object.Module._extensions..js (module.js:467:10) | |
>> at Module.load (module.js:349:32) | |
>> at Function.Module._load (module.js:305:12) | |
>> at Module.require (module.js:357:17) | |
>> at require (module.js:373:17) | |
>> at Class.module.exports.Class.extend.loadModule (/home/nigel/work/projA/backend/lib/utils/moduleLoader.js:119:22) | |
>> at class_cb (/home/nigel/work/projA/backend/node_modules/uberclass/lib/class.js:94:43) | |
>> at /home/nigel/work/projA/backend/node_modules/async/lib/async.js:125:13 | |
>> Exited with code: 1. | |
Warning: Task "exec:odmRebase" failed. Use --force to continue. | |
Aborted due to warnings. | |
Process finished with exit code 3 | |
$ grunt --gruntfile /home/nigel/work/projA/backend/Gruntfile.js db:odmRebase | |
Running "exec:odmRebase" (exec) task | |
>> /home/nigel/work/projA/backend/modules/clever-countries/module.js:5 | |
>> module.exports = new Module( 'clever-countries', require('injector') ); | |
>> ^ | |
>> TypeError: object is not a function | |
>> at Object.<anonymous> (/home/nigel/work/projA/backend/modules/clever-countries/module.js:5:18) | |
>> at Module._compile (module.js:449:26) | |
>> at Object.Module._extensions..js (module.js:467:10) | |
>> at Module.load (module.js:349:32) | |
>> at Function.Module._load (module.js:305:12) | |
>> at Module.require (module.js:357:17) | |
>> at require (module.js:373:17) | |
>> at Class.module.exports.Class.extend.loadModule (/home/nigel/work/projA/backend/lib/utils/moduleLoader.js:119:22) | |
>> at class_cb (/home/nigel/work/projA/backend/node_modules/uberclass/lib/class.js:94:43) | |
>> at /home/nigel/work/projA/backend/node_modules/async/lib/async.js:125:13 | |
>> Exited with code: 1. | |
Warning: Task "exec:odmRebase" failed. Use --force to continue. | |
Aborted due to warnings. | |
Process finished with exit code 3 | |
$ grunt --gruntfile /home/nigel/work/projA/backend/Gruntfile.js db:odmRebase | |
Running "exec:odmRebase" (exec) task | |
>> /home/nigel/work/projA/backend/modules/clever-countries/module.js:5 | |
>> module.exports = new Module( 'clever-countries', injector ); | |
>> ^ | |
>> ReferenceError: injector is not defined | |
>> at Object.<anonymous> (/home/nigel/work/projA/backend/modules/clever-countries/module.js:5:50) | |
>> at Module._compile (module.js:449:26) | |
>> at Object.Module._extensions..js (module.js:467:10) | |
>> at Module.load (module.js:349:32) | |
>> at Function.Module._load (module.js:305:12) | |
>> at Module.require (module.js:357:17) | |
>> at require (module.js:373:17) | |
>> at Class.module.exports.Class.extend.loadModule (/home/nigel/work/projA/backend/lib/utils/moduleLoader.js:119:22) | |
>> at class_cb (/home/nigel/work/projA/backend/node_modules/uberclass/lib/class.js:94:43) | |
>> at /home/nigel/work/projA/backend/node_modules/async/lib/async.js:125:13 | |
>> Exited with code: 1. | |
Warning: Task "exec:odmRebase" failed. Use --force to continue. | |
Aborted due to warnings. | |
Process finished with exit code 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment