michaelkrone / generator-material-app

Yet another yeoman generator for scaffolding a simple Node.js/Express/MongoDB/Angular.js app using some material design elements.
MIT License
177 stars 48 forks source link

angular.module(...).info is not a function #101

Open issame opened 7 years ago

issame commented 7 years ago

Hi,

I just generated a project and I am unable to get it working, this is the error displayed on the browser's javascript console Uncaught TypeError: angular.module(...).info is not a function at angular-resource.js:445 at angular-resource.js:858

mikej2017 commented 7 years ago

Same, see attached, seems like failing on parent property, build and startup output below, Chrome dev log is below that:

C:\temp\portal\yeoman_materialui>gulp build [20:22:47] Using gulpfile C:\temp\portal\yeoman_materialui\gulpfile.js (node:13048) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead. [20:22:47] Starting 'sass'... [20:22:47] gulp-ruby-sass: stderr: 'sass' is not recognized as an internal or external command, operable program or batch file. [20:22:47] Finished 'sass' after 264 ms [20:22:47] Starting 'inject'... [20:22:47] gulp-inject Nothing to inject into index.html. [20:22:47] gulp-inject 46 files into index.html. [20:22:47] gulp-inject 15 files into index.html. [20:22:47] Finished 'inject' after 177 ms [20:22:47] Starting 'build'... [20:22:47] Finished 'build' after 22 µs

C:\temp\portal\yeoman_materialui>npm start

yeoman-materialui@0.0.0 start C:\temp\portal\yeoman_materialui node bin/server.js

(node:14232) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client yeomanMaterialui started server on ip 0.0.0.0 on port 9001, in development mode Database connection open Populating test and development data ... (node:14232) DeprecationWarning: crypto.pbkdf2 without specifying a digest is deprecated. Please specify a digest (node:14232) DeprecationWarning: Implicit async custom validators (custom validators that take 2 arguments) are deprecated in mongoose >= 4.9.0. See http://mongoosejs.com/docs/validation.html#async-custom-validators for more info. finished populating users

localhost-1499646300796.txt

patoigz commented 7 years ago

I have the same issue...

fjvalles commented 7 years ago

Same here

assiomatica commented 6 years ago

me too