Giter Club home page Giter Club logo

Comments (4)

afj176 avatar afj176 commented on July 28, 2024

I will look into this, will have a fix for this tonight.
Thanks!

from generator-mongoose.

arvindr21 avatar arvindr21 commented on July 28, 2024

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.

afj176 avatar afj176 commented on July 28, 2024

Just wanted to keep you up to date, found the changes I need to make, will be making them later today.

from generator-mongoose.

afj176 avatar afj176 commented on July 28, 2024

@leandono & @arvindr21 Thanks for the help, this is resolved.

from generator-mongoose.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.