Comments (4)
I will look into this, will have a fix for this tonight.
Thanks!
from generator-mongoose.
While installing the generator
$ npm install -g generator-mongoose
npm WARN peerDependencies The peer dependency yo@>=1.4.x included from generator-mongoose will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
[email protected] /usr/local/lib/node_modules/generator-mongoose
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
error stack when running the installer with a No for heroku (genmon
is the name of folder I am scaffolding in)
$ genmon yo mongoose
(!) this.readFileAsString() is deprecated. Use require("html-wiring").readFileAsString() instead.
.--------------------------.
| mongoose:app |
.__________________________.
? Database Name: myDb
? Database Host: localhost
? Database User:
? Database Password:
? Database Port: 27017
? Will you be using heroku? No
(!) #mkdir() is deprecated. Use mkdirp module instead. https://www.npmjs.com/package/mkdirp
(!) #mkdir() is deprecated. Use mkdirp module instead. https://www.npmjs.com/package/mkdirp
(!) #_ is deprecated. Require your own version of Lodash or underscore.string
events.js:85
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property 'slugify' of undefined
at eval (lodash.templateSources[1]:9:12)
at underscore (/usr/local/lib/node_modules/generator-mongoose/node_modules/yeoman-generator/lib/util/engines.js:23:45)
at MongooseGenerator.actions.engine (/usr/local/lib/node_modules/generator-mongoose/node_modules/yeoman-generator/lib/actions/actions.js:224:32)
at MongooseGenerator.template (/usr/local/lib/node_modules/generator-mongoose/node_modules/yeoman-generator/lib/actions/actions.js:198:19)
at MongooseGenerator.app (/usr/local/lib/node_modules/generator-mongoose/app/index.js:76:8)
at /usr/local/lib/node_modules/generator-mongoose/node_modules/yeoman-generator/lib/base.js:421:16
at processImmediate [as _immediateCallback] (timers.js:358:17)
$ yo --version
1.4.6
from generator-mongoose.
Just wanted to keep you up to date, found the changes I need to make, will be making them later today.
from generator-mongoose.
@leandono & @arvindr21 Thanks for the help, this is resolved.
from generator-mongoose.
Related Issues (12)
- Version 0.0.5 will not install on a clean windows install due to "latest" on yo dependency
- Storing nested object? HOT 2
- Gruntfile.js error: Error: Running "watch" task Waiting... Warning: watch ENOSPC HOT 2
- /views/index.html Cannot read property 'get' of undefined HOT 6
- Configurable sub-generator? HOT 4
- Update package dependencies
- Sub Generator Failing Tests in Travis HOT 1
- Errors upon when generating HOT 8
- Travis build failing because of path HOT 4
- undefined exception occurring when grunt is run
- TypeError: Cannot read property 'Base' of undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-mongoose.