Open
Description
- I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item | Version |
---|---|
generator-angular-fullstack | 4.1.0 |
Operating System | Windows 10 |
etc | etc |
Item | Answer |
---|---|
Transpiler | Babel |
etc | etc |
trying to work with ag-grid, from www.ag-grid.com
installing it with npm, it is in my node_modules, looks ok.
then i add to my app.js the import as they say in the getting started:
// ECMA 6 - using the system import method
import {Grid} from 'ag-grid/main';
then i add my new import to my module line:
angular.module('app', [ngCookies, ngResource, ngSanitize, uiRouter, Grid])
angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module undefined due to:
Error: [ng:areq] Argument 'module' is not a function, got undefined
http://errors.angularjs.org/1.5.8/ng/areq?p0=module&p1=not%20a%20function%2C%20got%20undefined
at http://localhost:3000/vendor.bundle.js:194:13
at assertArg (http://localhost:3000/vendor.bundle.js:2018:12)
at assertArgFn (http://localhost:3000/vendor.bundle.js:2028:4)
at http://localhost:3000/vendor.bundle.js:4752:12
at forEach (http://localhost:3000/vendor.bundle.js:447:21)
at loadModules (http://localhost:3000/vendor.bundle.js:4727:6)
at http://localhost:3000/vendor.bundle.js:4744:41
Any help would be greatly appreciated.